/bionic/libc/stdlib/ |
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);
|
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);
|
strntoumax.c | 49 strntoumax(const char *nptr, char **endptr, int base, size_t n) 91 if ( endptr ) 92 *endptr = (char *)p;
|
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);
|
strtoumax.c | 43 strtoumax(const char *nptr, char **endptr, int base) 112 if (endptr != 0) 113 *endptr = (char *) (any ? s - 1 : nptr);
|
/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
|
/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/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 ) {
|
delfile.c | 84 char *endptr; local 89 id = strtoul(argv[i], &endptr, 10); 90 if ( *endptr != 0 ) {
|
getplaylist.c | 54 char *endptr; local 65 id = strtoul(argv[1], &endptr, 10); 66 if ( *endptr != 0 ) {
|
/external/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/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;
|
/bootable/recovery/applypatch/ |
main.c | 37 char* endptr; local 38 size_t bytes = strtol(argv[2], &endptr, 10); 39 if (bytes == 0 && endptr == argv[2]) { 107 char* endptr; local 108 size_t target_size = strtol(argv[4], &endptr, 10); 109 if (target_size == 0 && endptr == argv[4]) {
|
/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...] |
/external/openssh/openbsd-compat/ |
strtoll.c | 50 strtoll(const char *nptr, char **endptr, int base) 144 if (endptr != 0) 145 *endptr = (char *) (any ? s - 1 : nptr);
|
strtoul.c | 48 strtoul(const char *nptr, char **endptr, int base) 104 if (endptr != 0) 105 *endptr = (char *) (any ? s - 1 : nptr);
|
/external/bluetooth/bluez/src/ |
sdp-xml.c | 441 char *endptr; local 453 val = strtoll(data, &endptr, 16); 456 if (*endptr != '\0') 477 char *endptr; local 502 int8_t val = strtoul(data, &endptr, 0); 505 if ((endptr != data) && (*endptr != '\0')) 514 uint8_t val = strtoul(data, &endptr, 0); 517 if ((endptr != data) && (*endptr != '\0') [all...] |