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

Function cmStrToULongLong

Source/cmStringAlgorithms.cxx:229–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229bool cmStrToULongLong(char const* str, unsigned long long* value)
230{
231 errno = 0;
232 char* endp;
233 while (cmsysString_isspace(*str)) {
234 ++str;
235 }
236 if (*str == '-') {
237 return false;
238 }
239 *value = strtoull(str, &endp, 10);
240 return (*endp == '\0') && (endp != str) && (errno == 0);
241}
242
243bool cmStrToULongLong(std::string const& str, unsigned long long* value)
244{

Callers 2

testStringAlgorithmsFunction · 0.85
HandleReadCommandFunction · 0.85

Calls 1

c_strMethod · 0.80

Tested by 1

testStringAlgorithmsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…