/bionic/libc/bionic/ |
H A D | strtoll_l.cpp | 31 long long strtoll_l(const char *nptr, char **endptr, int base, locale_t) { argument 32 return strtoll(nptr, endptr, base);
|
H A D | strtoull_l.cpp | 31 unsigned long long strtoull_l(const char *nptr, char **endptr, int base, argument 33 return strtoull(nptr, endptr, base);
|
H A D | ndk_cruft.cpp | 141 extern "C" uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n) { argument 160 if (base == 0) { 163 base = 16; 166 base = 8; 168 base = 10; 170 } else if (base == 16) { 176 while (p < end && (d = digitval(*p)) >= 0 && d < base) { 177 v = v*base + d; 189 extern "C" intmax_t strntoimax(const char* nptr, char** endptr, int base, size_t n) { argument 190 return (intmax_t) strntoumax(nptr, endptr, base, [all...] |
H A D | malloc_debug_leak.cpp | 302 // 2. set the base pointer to be right after our header 310 void* base = g_malloc_dispatch->malloc(size); local 311 if (base != NULL) { 317 AllocationEntry* header = reinterpret_cast<AllocationEntry*>(base); 321 // now increment base to point to after our header. 323 base = reinterpret_cast<AllocationEntry*>(base) + 1; 326 return base; 473 void* base = leak_malloc(size); local 474 if (base ! [all...] |
H A D | malloc_debug_check.cpp | 76 void* base; // Always points to the memory allocated using malloc. member in struct:hdr_t 334 g_malloc_dispatch->free(gone->base); 351 hdr->base = hdr; 381 void* base = g_malloc_dispatch->malloc(sizeof(hdr_t) + size + sizeof(ftr_t)); local 382 if (base != NULL) { 385 uintptr_t ptr = reinterpret_cast<uintptr_t>(user(reinterpret_cast<hdr_t*>(base))); 392 hdr->base = base; 397 return base; 502 if (hdr->base ! [all...] |
/bionic/libc/upstream-openbsd/lib/libc/locale/ |
H A D | _wcstol.h | 49 FUNCNAME(const wchar_t *nptr, wchar_t **endptr, int base) argument 57 /* check base value */ 58 if (base && (base < 2 || base > 36)) { 65 * If base is 0, allow 0x for hex and 0 for octal, else 66 * assume decimal; if base is already 16, allow 0x. 80 if ((base == 0 || base == 16) && 84 base [all...] |
H A D | _wcstoul.h | 48 FUNCNAME(const wchar_t *nptr, wchar_t **endptr, int base) argument 56 if (base && (base < 2 || base > 36)) { 63 * If base is 0, allow 0x for hex and 0 for octal, else 64 * assume decimal; if base is already 16, allow 0x. 78 if ((base == 0 || base == 16) && 82 base = 16; 84 if (base [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
H A D | strtol.c | 44 strtol(const char *nptr, char **endptr, int base) argument 52 * Ensure that base is between 2 and 36 inclusive, or the special 55 if (base != 0 && (base < 2 || base > 36)) { 64 * If base is 0, allow 0x for hex and 0 for octal, else 65 * assume decimal; if base is already 16, allow 0x. 79 if ((base == 0 || base == 16) && 83 base [all...] |
H A D | strtoimax.c | 43 strtoimax(const char *nptr, char **endptr, int base) argument 52 * If base is 0, allow 0x for hex and 0 for octal, else 53 * assume decimal; if base is already 16, allow 0x. 67 if ((base == 0 || base == 16) && 71 base = 16; 73 if (base == 0) 74 base = c == '0' ? 8 : 10; 79 * base. An input number that is greater than this value, if 84 * [-9223372036854775808..9223372036854775807] and the input base [all...] |
H A D | strtoll.c | 45 strtoll(const char *nptr, char **endptr, int base) argument 54 * If base is 0, allow 0x for hex and 0 for octal, else 55 * assume decimal; if base is already 16, allow 0x. 69 if ((base == 0 || base == 16) && 73 base = 16; 75 if (base == 0) 76 base = c == '0' ? 8 : 10; 81 * base. An input number that is greater than this value, if 86 * [-9223372036854775808..9223372036854775807] and the input base [all...] |
H A D | lsearch.c | 44 lsearch(const void *key, void *base, size_t *nelp, size_t width, argument 48 return(linear_base(key, base, nelp, width, compar, 1)); 52 lfind(const void *key, const void *base, size_t *nelp, size_t width, argument 55 return(linear_base(key, base, nelp, width, compar, 0)); 59 linear_base(const void *key, const void *base, size_t *nelp, size_t width, argument 64 end = (const char *)base + *nelp * width; 65 for (element = base; element < end; element += width)
|
H A D | strtoul.c | 43 strtoul(const char *nptr, char **endptr, int base) argument 65 if ((base == 0 || base == 16) && 69 base = 16; 71 if (base == 0) 72 base = c == '0' ? 8 : 10; 74 cutoff = ULONG_MAX / (unsigned long)base; 75 cutlim = ULONG_MAX % (unsigned long)base; 83 if (c >= base) 93 acc *= (unsigned long)base; [all...] |
H A D | strtoull.c | 45 strtoull(const char *nptr, char **endptr, int base) argument 67 if ((base == 0 || base == 16) && 71 base = 16; 73 if (base == 0) 74 base = c == '0' ? 8 : 10; 76 cutoff = ULLONG_MAX / (unsigned long long)base; 77 cutlim = ULLONG_MAX % (unsigned long long)base; 85 if (c >= base) 95 acc *= (unsigned long long)base; [all...] |
H A D | strtoumax.c | 43 strtoumax(const char *nptr, char **endptr, int base) argument 65 if ((base == 0 || base == 16) && 69 base = 16; 71 if (base == 0) 72 base = c == '0' ? 8 : 10; 74 cutoff = UINTMAX_MAX / (uintmax_t)base; 75 cutlim = UINTMAX_MAX % (uintmax_t)base; 83 if (c >= base) 93 acc *= (uintmax_t)base; [all...] |
/bionic/libc/upstream-openbsd/lib/libc/net/ |
H A D | inet_ntop.c | 105 struct { int base, len; } best, cur; member in struct:__anon923 118 best.base = -1; 119 cur.base = -1; 122 if (cur.base == -1) 123 cur.base = i, cur.len = 1; 127 if (cur.base != -1) { 128 if (best.base == -1 || cur.len > best.len) 130 cur.base = -1; 134 if (cur.base != -1) { 135 if (best.base [all...] |
H A D | inet_addr.c | 85 int base, n; local 99 val = 0; base = 10; 103 base = 16, c = *++cp; 105 base = 8; 110 val = (val * base) + (c - '0'); 112 } else if (base == 16 &&
|
H A D | inet_network.c | 44 in_addr_t val, base, n; local 50 val = 0; base = 10; 52 base = 8, cp++; 54 base = 16, cp++; 57 val = (val * base) + (c - '0'); 61 if (base == 16 && isxdigit(c)) {
|
/bionic/libc/upstream-netbsd/lib/libc/stdlib/ |
H A D | bsearch.c | 54 * the base up one item past p: e.g., when lim is 5 we change base 65 const char *base = base0; local 75 p = base + (lim >> 1) * size; 80 base = (const char *)p + size;
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
H A D | mtrr.h | 29 unsigned long base; member in struct:mtrr_sentry 36 unsigned long base; member in struct:mtrr_gentry 44 __u64 base; member in struct:mtrr_sentry 50 __u64 base; member in struct:mtrr_gentry
|
/bionic/libc/include/ |
H A D | ftw.h | 52 int base; member in struct:FTW
|
/bionic/libc/kernel/uapi/linux/ |
H A D | phonet.h | 64 } base; member in union:phonetmsg::__anon598 77 #define pn_submsg_id pn_msg_u.base.pn_submsg_id 81 #define pn_data pn_msg_u.base.pn_data
|
/bionic/libc/arch-arm/bionic/ |
H A D | memcpy.a9.S | 112 .macro cpy_line_vfp vreg, base 113 vstr \vreg, [dst, #\base] 114 vldr \vreg, [src, #\base] 115 vstr d0, [dst, #\base + 8] 116 vldr d0, [src, #\base + 8] 117 vstr d1, [dst, #\base + 16] 118 vldr d1, [src, #\base + 16] 119 vstr d2, [dst, #\base + 24] 120 vldr d2, [src, #\base + 24] 121 vstr \vreg, [dst, #\base [all...] |
/bionic/benchmarks/ |
H A D | benchmark_main.cpp | 38 int base = 1; local 39 while (base*10 < n) { 40 base *= 10; 42 if (n < 2*base) { 43 return 2*base; 45 if (n < 5*base) { 46 return 5*base; 48 return 10*base;
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | vfscanf.c | 110 int base; /* base argument to strtoimax/strtouimax */ local 127 base = 0; /* XXX just to keep gcc happy */ 210 base = 10; 215 base = 0; 224 base = 8; 230 base = 10; 238 base = 16; 269 base = 16; 303 base [all...] |
H A D | vfwscanf.c | 113 int base; /* base argument to strtoimax/strtouimax */ local 136 base = 0; /* XXX just to keep gcc happy */ 224 base = 10; 229 base = 0; 238 base = 8; 244 base = 10; 252 base = 16; 294 base = 16; 329 base [all...] |