• Home
  • Raw
  • Download

Lines Matching refs:base

50 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base)  in simple_strtoull()  argument
55 cp = _parse_integer_fixup_radix(cp, &base); in simple_strtoull()
56 rv = _parse_integer(cp, base, &result); in simple_strtoull()
75 unsigned long simple_strtoul(const char *cp, char **endp, unsigned int base) in simple_strtoul() argument
77 return simple_strtoull(cp, endp, base); in simple_strtoul()
89 long simple_strtol(const char *cp, char **endp, unsigned int base) in simple_strtol() argument
92 return -simple_strtoul(cp + 1, endp, base); in simple_strtol()
94 return simple_strtoul(cp, endp, base); in simple_strtol()
106 long long simple_strtoll(const char *cp, char **endp, unsigned int base) in simple_strtoll() argument
109 return -simple_strtoull(cp + 1, endp, base); in simple_strtoll()
111 return simple_strtoull(cp, endp, base); in simple_strtoll()
385 u8 base; /* number base, 8, 10 or 16 only */ member
399 int need_pfx = ((spec.flags & SPECIAL) && spec.base != 10); in number()
423 if (spec.base == 16) in number()
431 if (num < spec.base) in number()
433 else if (spec.base != 10) { /* 8 or 16 */ in number()
434 int mask = spec.base - 1; in number()
437 if (spec.base == 16) in number()
467 if (spec.base == 16 || !is_zero) { in number()
472 if (spec.base == 16) { in number()
641 spec.base = 16; in symbol_string()
659 .base = 16, in resource_string()
665 .base = 16, in resource_string()
671 .base = 16, in resource_string()
677 .base = 10, in resource_string()
687 .base = 16, in resource_string()
817 spec = (struct printf_spec){ .flags = SMALL | ZEROPAD, .base = 16 }; in bitmap_string()
858 spec = (struct printf_spec){ .base = 10 }; in bitmap_list_string()
1311 spec.base = 16; in netdev_feature_string()
1323 spec.base = 16; in address_val()
1353 spec.base = 16; in clock()
1606 spec.base = 16; in pointer()
1733 spec->base = 10; in format_decode()
1753 spec->base = 8; in format_decode()
1760 spec->base = 16; in format_decode()
2463 unsigned int base; in vsscanf() local
2542 base = 10; in vsscanf()
2573 base = 8; in vsscanf()
2577 base = 16; in vsscanf()
2580 base = 0; in vsscanf()
2605 || (base == 16 && !isxdigit(digit)) in vsscanf()
2606 || (base == 10 && !isdigit(digit)) in vsscanf()
2607 || (base == 8 && (!isdigit(digit) || digit > '7')) in vsscanf()
2608 || (base == 0 && !isdigit(digit))) in vsscanf()
2613 simple_strtol(str, &next, base) : in vsscanf()
2614 simple_strtoll(str, &next, base); in vsscanf()
2617 simple_strtoul(str, &next, base) : in vsscanf()
2618 simple_strtoull(str, &next, base); in vsscanf()
2621 if (base == 0) in vsscanf()
2622 _parse_integer_fixup_radix(str, &base); in vsscanf()
2625 val.s = div_s64(val.s, base); in vsscanf()
2627 val.u = div_u64(val.u, base); in vsscanf()