Lines Matching refs:base
106 conv_int (FILE *stream, int *lenp, width_t width, void *addr, uint16_t flags, unsigned int base) in conv_int() argument
131 if (TOLOWER(i) == 'x' && (base == 0 || base == 16)) { in conv_int()
132 base = 16; in conv_int()
136 } else if (i == 'b' && base <= 2) { in conv_int()
137 base = 2; in conv_int()
141 } else if (base == 0 || base == 8) { in conv_int()
142 base = 8; in conv_int()
144 } else if (base == 0) in conv_int()
145 base = 10; in conv_int()
149 if (c >= base) { in conv_int()
154 val = val * base + c; in conv_int()
599 unsigned int base = 0; in vfscanf() local
646 base = 16; in vfscanf()
651 base = 2; in vfscanf()
657 base = 10; in vfscanf()
661 base = 8; in vfscanf()
665 c = conv_int (stream, lenp, width, addr, flags, base); in vfscanf()
673 base = 10; in vfscanf()
678 base = 2; in vfscanf()
683 base = 8; in vfscanf()
693 base = 16; in vfscanf()
695 c = conv_int (stream, lenp, width, addr, flags, base); in vfscanf()