/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 | strtoimax.c | 42 strtoimax(const char *nptr, char **endptr, int base) argument 50 * Ensure that base is between 2 and 36 inclusive, or the special 53 if (base < 0 || base == 1 || base > 36) { 62 * If base is 0, allow 0x for hex and 0 for octal, else 63 * assume decimal; if base is already 16, allow 0x. 77 if ((base == 0 || base == 16) && 81 base [all...] |
H A D | strtol.c | 43 strtol(const char *nptr, char **endptr, int base) argument 51 * Ensure that base is between 2 and 36 inclusive, or the special 54 if (base < 0 || base == 1 || 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 [all...] |
H A D | strtoul.c | 43 strtoul(const char *nptr, char **endptr, int base) argument 53 if (base < 0 || base == 1 || base > 36) { 72 if ((base == 0 || base == 16) && 76 base = 16; 78 if (base == 0) 79 base = c == '0' ? 8 : 10; 81 cutoff = ULONG_MAX / (unsigned long)base; [all...] |
H A D | strtoull.c | 45 strtoull(const char *nptr, char **endptr, int base) argument 55 if (base < 0 || base == 1 || base > 36) { 74 if ((base == 0 || base == 16) && 78 base = 16; 80 if (base == 0) 81 base = c == '0' ? 8 : 10; 83 cutoff = ULLONG_MAX / (unsigned long long)base; [all...] |
H A D | strtoumax.c | 42 strtoumax(const char *nptr, char **endptr, int base) argument 52 if (base < 0 || base == 1 || base > 36) { 71 if ((base == 0 || base == 16) && 75 base = 16; 77 if (base == 0) 78 base = c == '0' ? 8 : 10; 80 cutoff = UINTMAX_MAX / (uintmax_t)base; [all...] |
H A D | strtoll.c | 45 strtoll(const char *nptr, char **endptr, int base) argument 53 * Ensure that base is between 2 and 36 inclusive, or the special 56 if (base < 0 || base == 1 || 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 | 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)
|
/bionic/tests/ |
H A D | gtest_globals.cpp | 22 #include <android-base/file.h> 30 path = android::base::Dirname(path); 34 if (!android::base::Realpath(path.c_str(), &out_path)) { 42 if (!android::base::Realpath(out_path, &real_path)) {
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
H A D | inet_ntop.c | 105 struct { int base, len; } best, cur; member in struct:__anon1161 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...] |
/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/arch-mips/string/ |
H A D | strlen.c | 40 do_bytes (const char *base, const char *p, op_t inval) argument 59 return (size_t) (p - base); 69 do_bytes (const char *base, const char *p) argument 72 return (size_t) (p - base);
|
H A D | strnlen.c | 40 do_bytes (const char *base, const char *p, op_t inval) argument 59 return (size_t) (p - base); 69 do_bytes (const char *base, const char *p) argument 72 return (size_t) (p - base);
|
/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/versioner-dependencies/common/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/versioner-dependencies/x86/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/versioner-dependencies/x86_64/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/kernel/uapi/linux/ |
H A D | phonet.h | 64 } base; member in union:phonetmsg::__anon725 77 #define pn_submsg_id pn_msg_u.base.pn_submsg_id 81 #define pn_data pn_msg_u.base.pn_data
|
/bionic/libc/malloc_debug/tests/ |
H A D | log_fake.cpp | 22 #include <android-base/stringprintf.h> 54 android::base::StringAppendV(&g_fake_log_print, format, ap); 77 android::base::StringAppendV(&g_fake_log_print, fmt, ap);
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | phonet.h | 64 } base; member in union:phonetmsg::__anon1798 77 #define pn_submsg_id pn_msg_u.base.pn_submsg_id 81 #define pn_data pn_msg_u.base.pn_data
|
/bionic/libc/stdio/ |
H A D | vfwscanf.c | 116 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...] |
/bionic/linker/ |
H A D | linker_cfi.cpp | 113 // With each step of the loop below, __cfi_check address computation base is increased by 165 if (si->base == 0 || si->size == 0) { 170 INFO("[ CFI add 0x%zx + 0x%zx %s ]", static_cast<uintptr_t>(si->base), 172 AddUnchecked(si->base, si->base + si->size); 176 INFO("[ CFI add 0x%zx + 0x%zx %s: 0x%zx ]", static_cast<uintptr_t>(si->base), 190 Add(si->base, si->base + si->size, cfi_check); 266 if (si->base == 0 || si->size == 0) return; 267 INFO("[ CFI remove 0x%zx + 0x%zx: %s ]", static_cast<uintptr_t>(si->base), [all...] |
/bionic/libc/bionic/ |
H A D | ndk_cruft.cpp | 147 uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n) { argument 166 if (base == 0) { 169 base = 16; 172 base = 8; 174 base = 10; 176 } else if (base == 16) { 182 while (p < end && (d = digitval(*p)) >= 0 && d < base) { 183 v = v*base + d; 195 intmax_t strntoimax(const char* nptr, char** endptr, int base, size_t n) { argument 196 return (intmax_t) strntoumax(nptr, endptr, base, [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | fmemopen.c | 74 ssize_t base = 0; local 80 base = st->pos; 83 base = st->len; 87 if (off > st->size - base || off < -base) { 92 st->pos = base + off;
|