Home
last modified time | relevance | path

Searched refs:base (Results 1 – 7 of 7) sorted by relevance

/DragonStub/apps/lib/
H A Dstring.c54 unsigned int base) in simple_strtoull() argument
58 if (!base) in simple_strtoull()
59 base = simple_guess_base(cp); in simple_strtoull()
61 if (base == 16 && cp[0] == '0' && TOLOWER(cp[1]) == 'x') in simple_strtoull()
68 if (value >= base) in simple_strtoull()
70 result = result * base + value; in simple_strtoull()
79 long simple_strtol(const char *cp, char **endp, unsigned int base) in simple_strtol() argument
82 return -simple_strtoull(cp + 1, endp, base); in simple_strtol()
84 return simple_strtoull(cp, endp, base); in simple_strtol()
H A Dvsprintf.c16 unsigned int base : 8; /* number base, 8, 10 or 16 only */ member
287 int need_pfx = ((spec.flags & SPECIAL) && spec.base != 10); in number()
313 if (spec.base == 16) in number()
321 if (num < spec.base) in number()
323 else if (spec.base != 10) { /* 8 or 16 */ in number()
324 int mask = spec.base - 1; in number()
327 if (spec.base == 16) in number()
358 if (spec.base == 16 || !is_zero) { in number()
363 if (spec.base == 16) { in number()
409 spec.base = 16; in special_hex_number()
[all …]
/DragonStub/inc/dragonstub/linux/
H A Ddiv64.h45 #define do_div(n, base) \ argument
47 uint32_t __base = (base); \
/DragonStub/apps/lib/libfdt/
H A Dfdt.c59 uint32_t base, uint32_t size) in check_block_() argument
61 if (!check_off_(hdrsize, totalsize, base)) in check_block_()
63 if ((base + size) < base) in check_block_()
65 if (!check_off_(hdrsize, totalsize, base + size)) in check_block_()
/DragonStub/inc/dragonstub/
H A Ddragonstub.h145 long simple_strtol(const char *cp, char **endp, unsigned int base);
154 unsigned int base);
155 long simple_strtol(const char *cp, char **endp, unsigned int base);
157 #define strtoul(cp, endp, base) simple_strtoull(cp, endp, base) argument
H A Dlinux-efi.h376 phys_addr_t base; member
/DragonStub/apps/
H A Delf.c168 static bool check_image_region(u64 base, u64 size) in check_image_region() argument
188 if (base >= md->PhysicalStart && base < end) { in check_image_region()
189 ret = (base + size) <= end; in check_image_region()