Home
last modified time | relevance | path

Searched refs:strEnd (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/third-party/benchmark/src/
H A Dstring_util.cc192 char* strEnd = const_cast<char*>(strStart); in stoul() local
203 } else if (strEnd == strStart || strtoulErrno != 0) { in stoul()
207 *pos = static_cast<size_t>(strEnd - strStart); in stoul()
218 char* strEnd = const_cast<char*>(strStart); in stoi() local
219 const long result = strtol(strStart, &strEnd, base); in stoi()
229 } else if (strEnd == strStart || strtolErrno != 0) { in stoi()
233 *pos = static_cast<size_t>(strEnd - strStart); in stoi()
244 char* strEnd = const_cast<char*>(strStart); in stod() local
245 const double result = strtod(strStart, &strEnd); in stod()
255 } else if (strEnd == strStart || strtodErrno != 0) { in stod()
[all …]
/llvm-project-15.0.7/libc/src/__support/
H A Dstr_to_float.h722 char **__restrict strEnd, in decimal_string_to_float() argument
793 *strEnd = const_cast<char *>(src); in decimal_string_to_float()
813 char **__restrict strEnd, in hexadecimal_string_to_float() argument
885 *strEnd = const_cast<char *>(src); in hexadecimal_string_to_float()
900 char **__restrict strEnd) { in strtofloatingpoint() argument
1001 if (strEnd != nullptr) in strtofloatingpoint()
1002 *strEnd = const_cast<char *>(original_src); in strtofloatingpoint()
1006 if (strEnd != nullptr) in strtofloatingpoint()
1007 *strEnd = const_cast<char *>(src); in strtofloatingpoint()