MCPcopy Create free account
hub / github.com/Kitware/CMake / is_valid

Function is_valid

Tests/CMakeLib/testUTF8.cxx:132–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132static bool is_valid(test_utf8_char s)
133{
134 bool valid = cm_utf8_is_valid(s.data()) != 0;
135 if (!valid) {
136 report_valid(false, s);
137 printf("expected valid, reported as invalid\n");
138 return false;
139 }
140 report_valid(true, s);
141 printf("valid as expected\n");
142 return true;
143}
144
145static bool is_invalid(test_utf8_char s)
146{

Callers 1

testUTF8Function · 0.85

Calls 3

cm_utf8_is_validFunction · 0.85
report_validFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…