Lines Matching defs:endPtr
27 char *endPtr = nullptr;
28 int64_t result = std::strtol(str.c_str(), &endPtr, BASE);
29 ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not long int");
35 char *endPtr = nullptr;
36 int64_t result = std::strtoll(str.c_str(), &endPtr, BASE);
37 ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not long long int");
43 char *endPtr = nullptr;
44 uint64_t result = std::strtoull(str.c_str(), &endPtr, BASE);
45 ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not unsigned long long int");
51 char *endPtr = nullptr;
52 float result = std::strtof(str.c_str(), &endPtr);
54 ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not float");
60 char *endPtr = nullptr;
61 double result = std::strtod(str.c_str(), &endPtr);
63 ASSERT(!(result == 0 && str.c_str() == endPtr) && "CString argument is not double");