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

12

/bionic/libc/stdlib/
H A Dstrtoll.c46 strtoll(const char *nptr, char **endptr, int base) argument
48 return strtoimax(nptr, endptr, base);
H A Dstrtoull.c46 strtoull(const char *nptr, char **endptr, int base) argument
48 return (unsigned long long)strtoumax(nptr, endptr, base);
H A Dstrntoimax.c31 intmax_t strntoimax(const char *nptr, char **endptr, int base, size_t n) argument
33 return (intmax_t) strntoumax(nptr, endptr, base, n);
H A Dbsearch.c41 * the base up one item past p: e.g., when lim is 5 we change base
52 const char *base = base0; local
57 p = base + (lim >> 1) * size;
60 base = (char *)p + size;
H A Dstrntoumax.c49 strntoumax(const char *nptr, char **endptr, int base, size_t n) argument
70 if ( base == 0 ) {
73 base = 16;
76 base = 8;
78 base = 10;
80 } else if ( base == 16 ) {
86 while ( p < end && (d = digitval(*p)) >= 0 && d < base ) {
87 v = v*base + d;
H A Dstrtoimax.c43 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 Dstrtol.c44 strtol(const char *nptr, char **endptr, int base) argument
53 * If base is 0, allow 0x for hex and 0 for octal, else
54 * assume decimal; if base is already 16, allow 0x.
68 if ((base == 0 || base == 16) &&
72 base = 16;
74 if (base == 0)
75 base = c == '0' ? 8 : 10;
80 * base. An input number that is greater than this value, if
85 * [-2147483648..2147483647] and the input base i
[all...]
H A Dstrtoul.c43 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 Dstrtoumax.c43 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;
80 switch (base) {
85 cutoff = UINTMAX_MAX / base;
86 cutlim = UINTMAX_MAX % base;
96 if (c >= base)
[all...]
H A Dwchar.c290 long int wcstol(const wchar_t *nptr, wchar_t **endptr, int base) argument
292 return strtol( (const char*)nptr, (char**)endptr, base );
295 unsigned long int wcstoul(const wchar_t *nptr, wchar_t **endptr, int base) argument
297 return strtoul( (const char*)nptr, (char**)endptr, base );
/bionic/libc/inet/
H A Dinet_aton.c71 int base, n; local
85 val = 0; base = 10;
89 base = 16, c = *++cp;
91 base = 8;
95 val = (val * base) + (c - '0');
97 } else if (base == 16 && isascii(c) && isxdigit(c)) {
H A Dinet_ntop.c105 struct { int base, len; } best, cur; member in struct:__anon66
118 best.base = -1;
120 cur.base = -1;
124 if (cur.base == -1)
125 cur.base = i, cur.len = 1;
129 if (cur.base != -1) {
130 if (best.base == -1 || cur.len > best.len)
132 cur.base = -1;
136 if (cur.base != -1) {
137 if (best.base
[all...]
H A Dinet_pton.c109 u_int digit, base; local
127 val = 0; base = 10;
131 base = 16, c = *++src;
133 base = 8;
136 if (pton && base != 10)
141 if (digit >= base)
143 val = (val * base) + digit;
145 } else if (base == 16 && isxdigit(c)) {
/bionic/libc/kernel/arch-sh/asm/
H A Dheartbeat.h20 void __iomem *base; member in struct:heartbeat_data
/bionic/libc/kernel/common/linux/
H A Dtimer.h28 struct tvec_t_base_s *base; member in struct:timer_list
31 #define TIMER_INITIALIZER(_function, _expires, _data) { .function = (_function), .expires = (_expires), .data = (_data), .base = &boot_tvec_bases, }
H A Dkd.h128 unsigned char diacr, base, result; member in struct:kbdiacr
H A Dvideodev.h167 void *base; member in struct:video_buffer
/bionic/libc/stdio/
H A Dvfscanf.c112 int base; /* base argument to strtoimax/strtouimax */ local
125 base = 0; /* XXX just to keep gcc happy */
216 base = 10;
221 base = 0;
230 base = 8;
236 base = 10;
244 base = 16;
276 base = 16;
311 base
[all...]
H A Dvfprintf.c196 enum { OCT, DEC, HEX } base;/* base for [diouxX] conversion */ local
491 base = DEC;
590 base = OCT;
602 base = HEX;
633 base = DEC;
641 base = HEX;
668 switch (base) {
696 cp = "bug in vfprintf: bad base";
/bionic/libc/tzcode/
H A Dstrftime.c463 int base; local
469 base = TM_YEAR_BASE;
477 len = isleap_sum(year, base) ?
496 ++base;
505 --base;
506 yday += isleap_sum(year, base) ?
527 pt = _yconv(year, base, 0, 1,
529 } else pt = _yconv(year, base, 1, 1,
/bionic/libc/bionic/
H A Dmalloc_debug_leak.c506 // 2. set the base pointer to be right after our header
508 void* base = dlmalloc(bytes + sizeof(AllocationEntry)); local
509 if (base != NULL) {
515 AllocationEntry* header = (AllocationEntry*)base;
519 // now increment base to point to after our header.
521 base = (AllocationEntry*)base + 1;
526 return base;
618 void* base = leak_malloc(size); local
619 if (base !
[all...]
/bionic/linker/
H A Dlinker.h95 unsigned base; member in struct:soinfo
H A Dlinker_format.c350 * digits of at least 'base' values.
353 format_number(char *buffer, size_t bufsize, uint64_t value, int base, const char *digits) argument
360 unsigned d = value % base;
361 value /= base;
389 format_integer(char *buffer, size_t buffsize, uint64_t value, int base, int isSigned) argument
398 format_number(buffer, buffsize, value, base, "0123456789");
H A Dlinker.c174 map->l_addr = info->base;
330 if((addr >= si->base) && (addr < (si->base + si->size))) {
343 * Returns the base address of the .ARM.exidx section
359 if ((addr >= si->base) && (addr < (si->base + si->size))) {
361 return (_Unwind_Ptr)(si->base + (unsigned long)si->ARM_exidx);
400 name, si->name, si->base, hash, hash % si->nbucket);
438 _do_lookup(soinfo *si, const char *name, unsigned *base) argument
500 "found in %s, base
700 verify_elf_object(void *base, const char *name) argument
810 void *base = mmap((void *)si->base, si->size, PROT_READ | PROT_EXEC, local
840 void *base = mmap(NULL, si->size, PROT_READ | PROT_EXEC, local
882 unsigned char *base = (unsigned char *)si->base; local
1264 unsigned base; local
1467 unsigned base; local
[all...]
/bionic/libc/netbsd/resolv/
H A Dres_cache.c340 XLOG_BYTES( const void* base, int len ) argument
345 p = _bprint_hexdump(p, end, base, len);
459 const uint8_t* base; member in struct:__anon563
467 packet->base = buff;
475 packet->cursor = packet->base;
594 const uint8_t* p = packet->base;
744 if (packet->base[2] & 0x1) {
845 hash = hash*FNV_MULT ^ (packet->base[2] & 1);
953 if ((pack1->base[2] & 1) != (pack2->base[
[all...]

Completed in 1700 milliseconds

12