/bionic/libc/bionic/ |
strntoimax.c | 31 intmax_t strntoimax(const char *nptr, char **endptr, int base, size_t n) 33 return (intmax_t) strntoumax(nptr, endptr, base, n);
|
strntoumax.c | 49 strntoumax(const char *nptr, char **endptr, int base, size_t n) 91 if ( endptr ) 92 *endptr = (char *)p;
|
/external/compiler-rt/lib/asan/lit_tests/Linux/ |
interception_test.cc | 14 extern "C" long __interceptor_strtol(const char *nptr, char **endptr, int base); 15 extern "C" long strtol(const char *nptr, char **endptr, int base) { 17 return __interceptor_strtol(nptr, endptr, base);
|
interception_failure_test.cc | 15 extern "C" long strtol(const char *nptr, char **endptr, int base) {
|
/system/core/toolbox/ |
sleep.c | 46 char *endptr; local 52 seconds = strtoul(argv[1], &endptr, 10); 54 if (endptr == argv[1]) {
|
chown.c | 43 char* endptr; local 44 uid = (int) strtoul(user, &endptr, 0); 45 if (endptr == user) { // no conversion 56 char* endptr; local 57 gid = (int) strtoul(group, &endptr, 0); 58 if (endptr == group) { // no conversion
|
/ndk/sources/cxx-stl/llvm-libc++/include/support/android/ |
stdlib.h | 25 long strtol_l(const char *nptr, char **endptr, int base, locale_t loc); 26 long long strtoll_l(const char *nptr, char **endptr, int base, locale_t loc); 27 unsigned long strtoul_l(const char *nptr, char **endptr, int base, locale_t loc); 28 unsigned long long strtoull_l(const char *nptr, char **endptr, int base, locale_t loc); 29 long double strtold_l (const char *nptr, char **endptr, locale_t loc);
|
/bionic/libc/stdlib/ |
strtoll.c | 46 strtoll(const char *nptr, char **endptr, int base) 48 return strtoimax(nptr, endptr, base);
|
strtoull.c | 46 strtoull(const char *nptr, char **endptr, int base) 48 return (unsigned long long)strtoumax(nptr, endptr, base);
|
strtol.c | 44 strtol(const char *nptr, char **endptr, int base) 137 if (endptr != 0) 138 *endptr = (char *) (any ? s - 1 : nptr);
|
strtoul.c | 43 strtoul(const char *nptr, char **endptr, int base) 99 if (endptr != 0) 100 *endptr = (char *) (any ? s - 1 : nptr);
|
/external/protobuf/src/google/protobuf/stubs/ |
strutil_unittest.cc | 58 // Verify that the endptr is set correctly even if not all text was parsed. 60 char* endptr; local 61 EXPECT_EQ(1.5, NoLocaleStrtod(text, &endptr)); 62 EXPECT_EQ(3, endptr - text); 73 EXPECT_EQ(1.5, NoLocaleStrtod(text, &endptr)); 74 EXPECT_EQ(3, endptr - text);
|
strutil.h | 286 LIBPROTOBUF_EXPORT int32 strto32_adaptor(const char *nptr, char **endptr, 288 LIBPROTOBUF_EXPORT uint32 strtou32_adaptor(const char *nptr, char **endptr, 291 inline int32 strto32(const char *nptr, char **endptr, int base) { 293 return strtol(nptr, endptr, base); 295 return strto32_adaptor(nptr, endptr, base); 298 inline uint32 strtou32(const char *nptr, char **endptr, int base) { 300 return strtoul(nptr, endptr, base); 302 return strtou32_adaptor(nptr, endptr, base); 307 inline int64 strto64(const char *nptr, char **endptr, int base) { 310 return strtoll(nptr, endptr, base) [all...] |
/external/libmtp/examples/ |
trexist.c | 35 char *endptr; local 46 id = strtoul(argv[1], &endptr, 10); 47 if ( *endptr != 0 ) {
|
getfile.c | 59 char *endptr; local 69 id = strtoul(argv[1], &endptr, 10); 70 if ( *endptr != 0 ) {
|
/ndk/sources/cxx-stl/llvm-libc++/src/support/android/ |
stdlib_support.c | 7 long double strtold(const char* nptr, char** endptr) {
|
/build/tools/fs_get_stats/ |
fs_get_stats.c | 39 char *endptr; local 51 perms = (unsigned)strtoul(argv[1], &endptr, 0); 52 if (!endptr || (endptr == argv[1]) || (*endptr != '\0')) {
|
/external/libvpx/libvpx/ |
args.c | 156 char *endptr; local 158 rawval = strtol(arg->val, &endptr, 10); 160 if (arg->val[0] != '\0' && endptr[0] == '\0') 169 die("Option %s: Invalid character '%c'\n", arg->name, *endptr); 177 char *endptr; local 179 rawval = strtol(arg->val, &endptr, 10); 181 if (arg->val[0] != '\0' && endptr[0] == '\0') 190 die("Option %s: Invalid character '%c'\n", arg->name, *endptr); 203 char *endptr; local 207 rawval = strtol(arg->val, &endptr, 10) 238 char *endptr; local [all...] |
/external/clang/test/CodeGen/ |
libcalls-fno-builtin.c | 23 double strtod(const char *nptr, char **endptr); 24 float strtof(const char *nptr, char **endptr); 25 long double strtold(const char *nptr, char **endptr); 26 long int strtol(const char *nptr, char **endptr, int base); 27 long long int strtoll(const char *nptr, char **endptr, int base); 28 unsigned long int strtoul(const char *nptr, char **endptr, int base); 29 unsigned long long int strtoull(const char *nptr, char **endptr, int base);
|
/external/valgrind/main/cachegrind/ |
cg-arch.c | 81 Char* endptr; local 85 i1 = VG_(strtoll10)(optval, &endptr); if (*endptr != ',') goto bad; 86 i2 = VG_(strtoll10)(endptr+1, &endptr); if (*endptr != ',') goto bad; 87 i3 = VG_(strtoll10)(endptr+1, &endptr); if (*endptr != '\0') goto bad;
|
/ndk/sources/cxx-stl/llvm-libc++/include/support/win32/ |
support.h | 44 _LIBCPP_ALWAYS_INLINE float strtof( const char *nptr, char **endptr ) 45 { return _Stof(nptr, endptr, 0); } 46 _LIBCPP_ALWAYS_INLINE double strtod( const char *nptr, char **endptr ) 47 { return _Stod(nptr, endptr, 0); } 48 _LIBCPP_ALWAYS_INLINE long double strtold( const char *nptr, char **endptr ) 49 { return _Stold(nptr, endptr, 0); }
|
/ndk/sources/cxx-stl/llvm-libc++/test/depr/depr.c.headers/ |
stdlib_h.pass.cpp | 41 char** endptr = 0; local 47 static_assert((std::is_same<decltype(strtod("", endptr)), double>::value), ""); 48 static_assert((std::is_same<decltype(strtof("", endptr)), float>::value), ""); 49 static_assert((std::is_same<decltype(strtold("", endptr)), long double>::value), ""); 50 static_assert((std::is_same<decltype(strtol("", endptr,0)), long>::value), ""); 51 static_assert((std::is_same<decltype(strtoll("", endptr,0)), long long>::value), ""); 52 static_assert((std::is_same<decltype(strtoul("", endptr,0)), unsigned long>::value), ""); 53 static_assert((std::is_same<decltype(strtoull("", endptr,0)), unsigned long long>::value), "");
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
inttypes.h | 332 __NTH (strtoimax (__const char *__restrict nptr, char **__restrict endptr, 335 return __strtol_internal (nptr, endptr, base, 0); 345 __NTH (strtoumax (__const char *__restrict nptr, char **__restrict endptr, 348 return __strtoul_internal (nptr, endptr, base, 0); 358 __gwchar_t **__restrict endptr, int base)) 360 return __wcstol_internal (nptr, endptr, base, 0); 372 __gwchar_t **__restrict endptr, int base)) 374 return __wcstoul_internal (nptr, endptr, base, 0); 386 __NTH (strtoimax (__const char *__restrict nptr, char **__restrict endptr, 389 return __strtoll_internal (nptr, endptr, base, 0) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
inttypes.h | 332 __NTH (strtoimax (__const char *__restrict nptr, char **__restrict endptr, 335 return __strtol_internal (nptr, endptr, base, 0); 345 __NTH (strtoumax (__const char *__restrict nptr, char **__restrict endptr, 348 return __strtoul_internal (nptr, endptr, base, 0); 358 __gwchar_t **__restrict endptr, int base)) 360 return __wcstol_internal (nptr, endptr, base, 0); 372 __gwchar_t **__restrict endptr, int base)) 374 return __wcstoul_internal (nptr, endptr, base, 0); 386 __NTH (strtoimax (__const char *__restrict nptr, char **__restrict endptr, 389 return __strtoll_internal (nptr, endptr, base, 0) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
inttypes.h | 332 __NTH (strtoimax (__const char *__restrict nptr, char **__restrict endptr, 335 return __strtol_internal (nptr, endptr, base, 0); 345 __NTH (strtoumax (__const char *__restrict nptr, char **__restrict endptr, 348 return __strtoul_internal (nptr, endptr, base, 0); 358 __gwchar_t **__restrict endptr, int base)) 360 return __wcstol_internal (nptr, endptr, base, 0); 372 __gwchar_t **__restrict endptr, int base)) 374 return __wcstoul_internal (nptr, endptr, base, 0); 386 __NTH (strtoimax (__const char *__restrict nptr, char **__restrict endptr, 389 return __strtoll_internal (nptr, endptr, base, 0) [all...] |