Home
last modified time | relevance | path

Searched refs:nptr (Results 1 – 15 of 15) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
DNumericInt.c38 atoi(const char *nptr) in atoi() argument
43 while(isspace((const unsigned char)*nptr)) ++nptr; // Skip leading spaces in atoi()
45 if(*nptr == '+') { in atoi()
47 ++nptr; in atoi()
49 else if(*nptr == '-') { in atoi()
51 ++nptr; in atoi()
53 Retval = (int)AsciiStrDecimalToUintn(nptr); in atoi()
68 atol(const char *nptr) in atol() argument
73 while(isspace(*nptr)) ++nptr; // Skip leading spaces in atol()
75 if(*nptr == '+') { in atol()
[all …]
Dstrtoumax.c69 strtoumax(const char *nptr, char **endptr, int base) in __weak_alias()
76 _DIAGASSERT(nptr != NULL); in __weak_alias()
82 s = nptr; in __weak_alias()
123 *endptr = __UNCONST(nptr); in __weak_alias()
139 *endptr = __UNCONST(any ? s - 1 : nptr); in __weak_alias()
Dstrtoimax.c60 _strtoimax(const char *nptr, char **endptr, int base) in __weak_alias()
67 _DIAGASSERT(nptr != NULL); in __weak_alias()
80 s = nptr; in __weak_alias()
163 *endptr = (char *)(any ? s - 1 : nptr); in __weak_alias()
/device/linaro/bootloader/edk2/StdLib/Include/
Dstdlib.h372 int atoi(const char *nptr);
383 long atol(const char *nptr);
395 atoll(const char *nptr);
455 long strtol(const char * __restrict nptr, char ** __restrict endptr, int base);
472 strtoul(const char * __restrict nptr, char ** __restrict endptr, int base);
490 strtoll(const char * __restrict nptr, char ** __restrict endptr, int base);
507 strtoull(const char * __restrict nptr, char ** __restrict endptr, int base);
517 double atof(const char *nptr);
543 double strtod(const char * __restrict nptr, char ** __restrict endptr);
557 float strtof(const char * __restrict nptr, char ** __restrict endptr);
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/
D_wcstod.h55 _FUNCNAME(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in _FUNCNAME() argument
62 _DIAGASSERT(nptr != NULL); in _FUNCNAME()
65 src = nptr; in _FUNCNAME()
123 *endptr = __UNCONST(nptr); in _FUNCNAME()
D_wcstoul.h59 const wchar_t *nptr, in _FUNCNAME() argument
70 _DIAGASSERT(nptr != NULL); in _FUNCNAME()
83 s = nptr; in _FUNCNAME()
131 *endptr = __UNCONST(any ? s - 1 : nptr); in _FUNCNAME()
D_wcstol.h57 const wchar_t *nptr, in _FUNCNAME() argument
68 _DIAGASSERT(nptr != NULL); in _FUNCNAME()
86 s = nptr; in _FUNCNAME()
151 *endptr = __UNCONST(any ? s - 1 : nptr); in _FUNCNAME()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpystrtod.c92 _PyOS_ascii_strtod(const char *nptr, char **endptr) in _PyOS_ascii_strtod() argument
97 assert(nptr != NULL); in _PyOS_ascii_strtod()
103 result = _Py_dg_strtod(nptr, endptr); in _PyOS_ascii_strtod()
106 if (*endptr == nptr) in _PyOS_ascii_strtod()
108 result = _Py_parse_inf_or_nan(nptr, endptr); in _PyOS_ascii_strtod()
125 _PyOS_ascii_strtod(const char *nptr, char **endptr) in _PyOS_ascii_strtod() argument
137 assert(nptr != NULL); in _PyOS_ascii_strtod()
150 val = _Py_parse_inf_or_nan(nptr, endptr); in _PyOS_ascii_strtod()
151 if (*endptr != nptr) in _PyOS_ascii_strtod()
161 p = nptr; in _PyOS_ascii_strtod()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dpystrtod.c92 _PyOS_ascii_strtod(const char *nptr, char **endptr) in _PyOS_ascii_strtod() argument
97 assert(nptr != NULL); in _PyOS_ascii_strtod()
103 result = _Py_dg_strtod(nptr, endptr); in _PyOS_ascii_strtod()
106 if (*endptr == nptr) in _PyOS_ascii_strtod()
108 result = _Py_parse_inf_or_nan(nptr, endptr); in _PyOS_ascii_strtod()
125 _PyOS_ascii_strtod(const char *nptr, char **endptr) in _PyOS_ascii_strtod() argument
137 assert(nptr != NULL); in _PyOS_ascii_strtod()
150 val = _Py_parse_inf_or_nan(nptr, endptr); in _PyOS_ascii_strtod()
151 if (*endptr != nptr) in _PyOS_ascii_strtod()
161 p = nptr; in _PyOS_ascii_strtod()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/Ipf/
Dstrtold.c15 strtold(const char * __restrict nptr, char ** __restrict endptr) in strtold() argument
17 return (long double)strtod( nptr, endptr); in strtold()
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/
D_strtold.c43 strtold(const char *nptr, char **endptr)
45 return _strtold(nptr, endptr);
D_strtof.c42 strtof(const char *nptr, char **endptr)
44 return _strtof(nptr, endptr);
Dstrtold_subr.c39 strtold(const char *nptr, char **endptr) in __weak_alias()
43 (void)STRTOP(GDTOA_LD_FMT)(nptr, endptr, &ld); in __weak_alias()
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/
DCrtWrapper.c207 long strtol (const char *nptr, char **endptr, int base) in strtol() argument
217 unsigned long strtoul (const char *nptr, char **endptr, int base) in strtoul() argument
/device/linaro/bootloader/edk2/CryptoPkg/Include/
DOpenSslSupport.h283 #define atoi(nptr) AsciiStrDecimalToUintn(nptr) argument