Lines Matching refs:nptr
19 s64 internal_atoll(const char *nptr) { in internal_atoll() argument
20 return internal_simple_strtoll(nptr, (char**)0, 10); in internal_atoll()
211 s64 internal_simple_strtoll(const char *nptr, char **endptr, int base) { in internal_simple_strtoll() argument
213 while (IsSpace(*nptr)) nptr++; in internal_simple_strtoll()
217 char *old_nptr = const_cast<char *>(nptr); in internal_simple_strtoll()
218 if (*nptr == '+') { in internal_simple_strtoll()
220 nptr++; in internal_simple_strtoll()
221 } else if (*nptr == '-') { in internal_simple_strtoll()
223 nptr++; in internal_simple_strtoll()
225 while (IsDigit(*nptr)) { in internal_simple_strtoll()
227 int digit = ((*nptr) - '0'); in internal_simple_strtoll()
230 nptr++; in internal_simple_strtoll()
233 *endptr = (have_digits) ? const_cast<char *>(nptr) : old_nptr; in internal_simple_strtoll()