/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | strtoul.c | 43 strtoul(const char *nptr, char **endptr, int base) in strtoul() argument 53 if (base < 0 || base == 1 || base > 36) { in strtoul() 72 if ((base == 0 || base == 16) && in strtoul() 76 base = 16; in strtoul() 78 if (base == 0) in strtoul() 79 base = c == '0' ? 8 : 10; in strtoul() 81 cutoff = ULONG_MAX / (unsigned long)base; in strtoul() 82 cutlim = ULONG_MAX % (unsigned long)base; in strtoul() 90 if (c >= base) in strtoul() 100 acc *= (unsigned long)base; in strtoul()
|
D | strtoull.c | 45 strtoull(const char *nptr, char **endptr, int base) in strtoull() argument 55 if (base < 0 || base == 1 || base > 36) { in strtoull() 74 if ((base == 0 || base == 16) && in strtoull() 78 base = 16; in strtoull() 80 if (base == 0) in strtoull() 81 base = c == '0' ? 8 : 10; in strtoull() 83 cutoff = ULLONG_MAX / (unsigned long long)base; in strtoull() 84 cutlim = ULLONG_MAX % (unsigned long long)base; in strtoull() 92 if (c >= base) in strtoull() 102 acc *= (unsigned long long)base; in strtoull()
|
D | strtol.c | 43 strtol(const char *nptr, char **endptr, int base) in strtol() argument 54 if (base < 0 || base == 1 || base > 36) { in strtol() 78 if ((base == 0 || base == 16) && in strtol() 82 base = 16; in strtol() 84 if (base == 0) in strtol() 85 base = c == '0' ? 8 : 10; in strtol() 105 cutlim = cutoff % base; in strtol() 106 cutoff /= base; in strtol() 109 cutlim -= base; in strtol() 121 if (c >= base) in strtol() [all …]
|
D | strtoimax.c | 42 strtoimax(const char *nptr, char **endptr, int base) in strtoimax() argument 53 if (base < 0 || base == 1 || base > 36) { in strtoimax() 77 if ((base == 0 || base == 16) && in strtoimax() 81 base = 16; in strtoimax() 83 if (base == 0) in strtoimax() 84 base = c == '0' ? 8 : 10; in strtoimax() 105 cutlim = cutoff % base; in strtoimax() 106 cutoff /= base; in strtoimax() 109 cutlim -= base; in strtoimax() 121 if (c >= base) in strtoimax() [all …]
|
D | strtoll.c | 45 strtoll(const char *nptr, char **endptr, int base) in strtoll() argument 56 if (base < 0 || base == 1 || base > 36) { in strtoll() 80 if ((base == 0 || base == 16) && in strtoll() 84 base = 16; in strtoll() 86 if (base == 0) in strtoll() 87 base = c == '0' ? 8 : 10; in strtoll() 108 cutlim = cutoff % base; in strtoll() 109 cutoff /= base; in strtoll() 112 cutlim -= base; in strtoll() 124 if (c >= base) in strtoll() [all …]
|
D | strtoumax.c | 42 strtoumax(const char *nptr, char **endptr, int base) in strtoumax() argument 52 if (base < 0 || base == 1 || base > 36) { in strtoumax() 71 if ((base == 0 || base == 16) && in strtoumax() 75 base = 16; in strtoumax() 77 if (base == 0) in strtoumax() 78 base = c == '0' ? 8 : 10; in strtoumax() 80 cutoff = UINTMAX_MAX / (uintmax_t)base; in strtoumax() 81 cutlim = UINTMAX_MAX % (uintmax_t)base; in strtoumax() 89 if (c >= base) in strtoumax() 99 acc *= (uintmax_t)base; in strtoumax()
|
D | lsearch.c | 44 lsearch(const void *key, void *base, size_t *nelp, size_t width, in lsearch() argument 48 return(linear_base(key, base, nelp, width, compar, 1)); in lsearch() 52 lfind(const void *key, const void *base, size_t *nelp, size_t width, in lfind() argument 55 return(linear_base(key, base, nelp, width, compar, 0)); in lfind() 59 linear_base(const void *key, const void *base, size_t *nelp, size_t width, in linear_base() argument 64 end = (const char *)base + *nelp * width; in linear_base() 65 for (element = base; element < end; element += width) in linear_base()
|
/bionic/libc/upstream-openbsd/lib/libc/locale/ |
D | _wcstol.h | 49 FUNCNAME(const wchar_t *nptr, wchar_t **endptr, int base) in FUNCNAME() argument 58 if (base && (base < 2 || base > 36)) { in FUNCNAME() 80 if ((base == 0 || base == 16) && in FUNCNAME() 84 base = 16; in FUNCNAME() 86 if (base == 0) in FUNCNAME() 87 base = wc == L'0' ? 8 : 10; in FUNCNAME() 93 cutlim = (int)(cutoff % base); in FUNCNAME() 94 cutoff /= base; in FUNCNAME() 97 cutlim -= base; in FUNCNAME() 106 if (i >= base) in FUNCNAME() [all …]
|
D | _wcstoul.h | 48 FUNCNAME(const wchar_t *nptr, wchar_t **endptr, int base) in FUNCNAME() argument 56 if (base && (base < 2 || base > 36)) { in FUNCNAME() 78 if ((base == 0 || base == 16) && in FUNCNAME() 82 base = 16; in FUNCNAME() 84 if (base == 0) in FUNCNAME() 85 base = wc == L'0' ? 8 : 10; in FUNCNAME() 90 cutoff = MAX_VALUE / (uint_type)base; in FUNCNAME() 91 cutlim = (int)(MAX_VALUE % (uint_type)base); in FUNCNAME() 96 if (i >= base) in FUNCNAME() 106 acc *= (uint_type)base; in FUNCNAME()
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | inet_ntop.c | 105 struct { int base, len; } best, cur; in inet_ntop6() member 118 best.base = -1; in inet_ntop6() 119 cur.base = -1; in inet_ntop6() 122 if (cur.base == -1) in inet_ntop6() 123 cur.base = i, cur.len = 1; in inet_ntop6() 127 if (cur.base != -1) { in inet_ntop6() 128 if (best.base == -1 || cur.len > best.len) in inet_ntop6() 130 cur.base = -1; in inet_ntop6() 134 if (cur.base != -1) { in inet_ntop6() 135 if (best.base == -1 || cur.len > best.len) in inet_ntop6() [all …]
|
/bionic/libc/upstream-netbsd/lib/libc/stdlib/ |
D | bsearch.c | 65 const char *base = base0; in bsearch() local 75 p = base + (lim >> 1) * size; in bsearch() 80 base = (const char *)p + size; in bsearch()
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | mtrr.h | 29 unsigned long base; member 36 unsigned long base; member 44 __u64 base; member 50 __u64 base; member
|
/bionic/libc/bionic/ |
D | ndk_cruft.cpp | 146 uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n) { in strntoumax() argument 165 if (base == 0) { in strntoumax() 168 base = 16; in strntoumax() 171 base = 8; in strntoumax() 173 base = 10; in strntoumax() 175 } else if (base == 16) { in strntoumax() 181 while (p < end && (d = digitval(*p)) >= 0 && d < base) { in strntoumax() 182 v = v*base + d; in strntoumax() 194 intmax_t strntoimax(const char* nptr, char** endptr, int base, size_t n) { in strntoimax() argument 195 return (intmax_t) strntoumax(nptr, endptr, base, n); in strntoimax()
|
D | locale.cpp | 207 long long strtoll_l(const char* s, char** end_ptr, int base, locale_t) { in strtoll_l() argument 208 return strtoll(s, end_ptr, base); in strtoll_l() 211 unsigned long long strtoull_l(const char* s, char** end_ptr, int base, locale_t) { in strtoull_l() argument 212 return strtoull(s, end_ptr, base); in strtoull_l()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | open_memstream.c | 79 ssize_t base = 0; in memstream_seek() local 85 base = st->pos; in memstream_seek() 88 base = st->len; in memstream_seek() 92 if (off > SIZE_MAX - base || off < -base) { in memstream_seek() 97 st->pos = base + off; in memstream_seek()
|
D | vfwscanf.c | 113 int base; /* base argument to strtoimax/strtouimax */ in __vfwscanf() local 136 base = 0; /* XXX just to keep gcc happy */ in __vfwscanf() 224 base = 10; in __vfwscanf() 229 base = 0; in __vfwscanf() 238 base = 8; in __vfwscanf() 244 base = 10; in __vfwscanf() 252 base = 16; in __vfwscanf() 294 base = 16; in __vfwscanf() 329 base = 10; in __vfwscanf() 562 if (base == 0) { in __vfwscanf() [all …]
|
D | open_wmemstream.c | 83 ssize_t base = 0; in wmemstream_seek() local 89 base = st->pos; in wmemstream_seek() 92 base = st->len; in wmemstream_seek() 96 if (off > (SIZE_MAX / sizeof(wchar_t)) - base || off < -base) { in wmemstream_seek() 107 st->pos = base + off; in wmemstream_seek()
|
D | fmemopen.c | 74 ssize_t base = 0; in fmemopen_seek() local 80 base = st->pos; in fmemopen_seek() 83 base = st->len; in fmemopen_seek() 87 if (off > st->size - base || off < -base) { in fmemopen_seek() 92 st->pos = base + off; in fmemopen_seek()
|
D | vfscanf.c | 110 int base; /* base argument to strtoimax/strtouimax */ in __svfscanf() local 127 base = 0; /* XXX just to keep gcc happy */ in __svfscanf() 210 base = 10; in __svfscanf() 215 base = 0; in __svfscanf() 224 base = 8; in __svfscanf() 230 base = 10; in __svfscanf() 238 base = 16; in __svfscanf() 269 base = 16; in __svfscanf() 303 base = 10; in __svfscanf() 638 if (base == 0) { in __svfscanf() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | phonet.h | 64 } base; member 77 #define pn_submsg_id pn_msg_u.base.pn_submsg_id 81 #define pn_data pn_msg_u.base.pn_data
|
D | nubus.h | 191 unsigned char * base; member 199 unsigned char * base; member
|
D | kd.h | 140 unsigned char diacr, base, result; member 151 unsigned int diacr, base, result; member
|
/bionic/tests/ |
D | sys_prctl_test.cpp | 42 ASSERT_TRUE(android::base::ReadFileToString("/proc/self/maps", &file_data)); in TEST() 45 std::vector<std::string> lines = android::base::Split(file_data, "\n"); in TEST()
|
/bionic/libc/malloc_debug/tests/ |
D | log_fake.cpp | 55 android::base::StringAppendV(&g_fake_log_print, format, ap); in __libc_format_log() 78 android::base::StringAppendV(&g_fake_log_print, fmt, ap); in __android_log_print()
|
/bionic/libc/include/ |
D | ftw.h | 52 int base; member
|