Searched defs:base (Results 1 - 25 of 71) sorted by relevance

123

/bionic/libc/upstream-netbsd/lib/libc/stdlib/
H A Dbsearch.c54 * 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 Dstrlen.c40 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 Dstrnlen.c40 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/include/
H A Dftw.h53 int base; member in struct:FTW
/bionic/libc/upstream-openbsd/lib/libc/locale/
H A D_wcstol.h49 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.h48 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 Dlsearch.c44 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 Dstrtoimax.c42 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 Dstrtol.c43 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 Dstrtoll.c45 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 Dstrtoul.c43 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 Dstrtoull.c45 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 Dstrtoumax.c42 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...]
/bionic/tools/versioner/current/
H A Dftw.h53 int base; member in struct:FTW
/bionic/libc/upstream-openbsd/lib/libc/net/
H A Dinet_ntop.c105 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/tests/
H A Dsys_mman_test.cpp237 char* base = reinterpret_cast<char*>(mmap(nullptr, PAGE_SIZE * 2, PROT_EXEC | PROT_READ, local
240 __builtin___clear_cache(base, base + (PAGE_SIZE * 2));
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dfmemopen.c74 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;
H A Dopen_memstream.c79 ssize_t base = 0; local
85 base = st->pos;
88 base = st->len;
92 if (off > SIZE_MAX - base || off < -base) {
97 st->pos = base + off;
H A Dopen_wmemstream.c83 ssize_t base = 0; local
89 base = st->pos;
92 base = st->len;
96 if (off > (SIZE_MAX / sizeof(wchar_t)) - base || off < -base) {
107 st->pos = base + off;
/bionic/libc/bionic/
H A Dwchar.cpp222 long long wcstoll_l(const wchar_t *nptr, wchar_t **endptr, int base, argument
224 return wcstoll(nptr, endptr, base);
228 int base, locale_t) {
229 return wcstoull(nptr, endptr, base);
227 wcstoull_l(const wchar_t *nptr, wchar_t **endptr, int base, locale_t) argument
H A Dlocale.cpp131 locale_t newlocale(int category_mask, const char* locale_name, locale_t /*base*/) {
206 long strtol_l(const char* s, char** end_ptr, int base, locale_t) { argument
207 return strtol(s, end_ptr, base);
214 long long strtoll_l(const char* s, char** end_ptr, int base, locale_t) { argument
215 return strtoll(s, end_ptr, base);
218 unsigned long strtoul_l(const char* s, char** end_ptr, int base, locale_t) { argument
219 return strtoul(s, end_ptr, base);
222 unsigned long long strtoull_l(const char* s, char** end_ptr, int base, locale_t) { argument
223 return strtoull(s, end_ptr, base);
/bionic/tools/relocation_packer/src/
H A Delf_file_unittest.cc66 const std::string base = std::string("elf_file_unittest_relocs_") + arch; local
67 const std::string relocs = base + ".so";
68 const std::string packed_relocs = base + "_packed.so";
/bionic/libc/kernel/uapi/asm-x86/asm/
H A Dmtrr.h29 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 Dkeyctl.h77 __s32 base; member in struct:keyctl_dh_params
H A Dphonet.h64 } 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

Completed in 1608 milliseconds

123