Home
last modified time | relevance | path

Searched refs:endptr (Results 1 – 23 of 23) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
DNumericInt.c184 strtol(const char * __restrict nptr, char ** __restrict endptr, int base) in strtol() argument
195 if(endptr != NULL) { in strtol()
196 *endptr = NULL; in strtol()
256 if(endptr != NULL) { in strtol()
257 *endptr = (char *)pEnd; in strtol()
273 strtoul(const char * __restrict nptr, char ** __restrict endptr, int base) in strtoul() argument
283 if(endptr != NULL) { in strtoul()
284 *endptr = NULL; in strtoul()
330 if(endptr != NULL) { in strtoul()
331 *endptr = (char *)pEnd; in strtoul()
[all …]
Dstrtoumax.c69 strtoumax(const char *nptr, char **endptr, int base) in __weak_alias()
122 if (endptr) in __weak_alias()
123 *endptr = __UNCONST(nptr); in __weak_alias()
138 if (endptr != 0) 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()
162 if (endptr != 0) in __weak_alias()
163 *endptr = (char *)(any ? s - 1 : nptr); in __weak_alias()
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/
D_wcstod.h55 _FUNCNAME(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in _FUNCNAME() argument
113 if (endptr != NULL) in _FUNCNAME()
115 *endptr = __UNCONST(start + (size_t)(end - buf)); in _FUNCNAME()
122 if (endptr != NULL) in _FUNCNAME()
123 *endptr = __UNCONST(nptr); in _FUNCNAME()
D_wcstoul.h60 wchar_t **endptr, in _FUNCNAME() argument
130 if (endptr != 0) in _FUNCNAME()
131 *endptr = __UNCONST(any ? s - 1 : nptr); in _FUNCNAME()
D_wcstol.h58 wchar_t **endptr, in _FUNCNAME() argument
150 if (endptr != 0) in _FUNCNAME()
151 *endptr = __UNCONST(any ? s - 1 : nptr); in _FUNCNAME()
/device/linaro/bootloader/edk2/StdLib/Include/
Dstdlib.h455 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);
543 double strtod(const char * __restrict nptr, char ** __restrict endptr);
557 float strtof(const char * __restrict nptr, char ** __restrict endptr);
572 strtold(const char * __restrict nptr, char ** __restrict endptr);
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlobject.c118 static lua_Number lua_strx2number (const char *s, char **endptr) { in lua_strx2number() argument
122 *endptr = cast(char *, s); /* nothing is valid yet */ in lua_strx2number()
136 *endptr = cast(char *, s); /* valid up to here */ in lua_strx2number()
149 *endptr = cast(char *, s); /* valid up to here */ in lua_strx2number()
159 char *endptr; in luaO_str2d() local
163 *result = lua_strx2number(s, &endptr); in luaO_str2d()
165 *result = lua_str2number(s, &endptr); in luaO_str2d()
166 if (endptr == s) return 0; /* nothing recognized */ in luaO_str2d()
167 while (lisspace(cast_uchar(*endptr))) endptr++; in luaO_str2d()
168 return (endptr == s + len); /* OK if no trailing characters */ in luaO_str2d()
/device/google/cuttlefish/guest/hals/camera/
DCameraConfiguration.cpp117 char* endptr; in ValueToCameraHalVersion() local
119 temp = strtol(value.c_str(), &endptr, 10); in ValueToCameraHalVersion()
120 if (endptr != value.c_str() + value.size()) { in ValueToCameraHalVersion()
151 char* endptr; in ValueToCameraResolution() local
153 resolution->width = strtol(width.c_str(), &endptr, 10); in ValueToCameraResolution()
154 if (endptr != width.c_str() + width.size()) { in ValueToCameraResolution()
160 resolution->height = strtol(height.c_str(), &endptr, 10); in ValueToCameraResolution()
161 if (endptr != height.c_str() + height.size()) { in ValueToCameraResolution()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpystrtod.c26 _Py_parse_inf_or_nan(const char *p, char **endptr) in _Py_parse_inf_or_nan() argument
56 *endptr = (char *)s; in _Py_parse_inf_or_nan()
92 _PyOS_ascii_strtod(const char *nptr, char **endptr) in _PyOS_ascii_strtod() argument
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
150 val = _Py_parse_inf_or_nan(nptr, endptr); in _PyOS_ascii_strtod()
151 if (*endptr != nptr) in _PyOS_ascii_strtod()
221 *endptr = (char *)nptr; in _PyOS_ascii_strtod()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dpystrtod.c26 _Py_parse_inf_or_nan(const char *p, char **endptr) in _Py_parse_inf_or_nan() argument
56 *endptr = (char *)s; in _Py_parse_inf_or_nan()
92 _PyOS_ascii_strtod(const char *nptr, char **endptr) in _PyOS_ascii_strtod() argument
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
150 val = _Py_parse_inf_or_nan(nptr, endptr); in _PyOS_ascii_strtod()
151 if (*endptr != nptr) in _PyOS_ascii_strtod()
221 *endptr = (char *)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/AppPkg/Applications/Python/Python-2.7.2/Include/
Dpystrtod.h16 char **endptr,
27 PyAPI_FUNC(double) _Py_parse_inf_or_nan(const char *p, char **endptr);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dpystrtod.h16 char **endptr,
27 PyAPI_FUNC(double) _Py_parse_inf_or_nan(const char *p, char **endptr);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/
Drandom.c402 char *endptr = env; in _PyRandom_Init() local
404 seed = strtoul(env, &endptr, 10); in _PyRandom_Init()
405 if (*endptr != '\0' in _PyRandom_Init()
/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/arm-trusted-firmware/tools/fiptool/
Dfiptool.c602 char *endptr; in parse_plat_toc_flags() local
605 flags = strtoull(arg, &endptr, 16); in parse_plat_toc_flags()
606 if (*endptr != '\0' || flags > UINT16_MAX || errno != 0) in parse_plat_toc_flags()
619 char *endptr; in get_image_align() local
623 align = strtoul(arg, &endptr, 0); in get_image_align()
624 if (*endptr != '\0' || !is_power_of_2(align) || errno != 0) in get_image_align()
/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c369 char *endptr = arg + strlen(arg); in halCmd() local
376 if ((findAppIdByName(arg, &appId) == 1) || (appId = strtoull(arg, &endptr, 16)) > 0) { in halCmd()
377 if (*endptr != '\0') { in halCmd()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
DcPickle.c3379 char *endptr, *s; in load_int() local
3389 l = strtol(s, &endptr, 0); in load_int()
3391 if (errno || (*endptr != '\n') || (endptr[1] != '\0')) { in load_int()
3577 char *endptr, *s; in load_float() local
3586 d = PyOS_string_to_double(s, &endptr, PyExc_OverflowError); in load_float()
3590 } else if ((endptr[0] != '\n') || (endptr[1] != '\0')) { in load_float()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
DcPickle.c3347 char *endptr, *s; in load_int() local
3356 l = strtol(s, &endptr, 0); in load_int()
3358 if (errno || (*endptr != '\n') || (endptr[1] != '\0')) { in load_int()
3543 char *endptr, *s; in load_float() local
3551 d = PyOS_string_to_double(s, &endptr, PyExc_OverflowError); in load_float()
3555 } else if ((endptr[0] != '\n') || (endptr[1] != '\0')) { in load_float()