Lines Matching defs:base
47 * if basep!=0 it points to the default base on input and
48 * will point to the explicit base on return
49 * a default base of 0 will determine the base from the input
50 * a default base of 1 will determine the base from the input using bb#*
51 * a base prefix in the string overrides *b
52 * *b will not be set if the string has no base prefix
55 * if a base arg or prefix is specified then multiplier is not consumed
59 * [sign][base][number[qualifier]][multiplier]
61 * base: nnn# base nnn
206 S2I_function(const char* a, size_t size, char** e, int base)
208 S2I_function(a, size, e, base) const char* a; size_t size; char** e; int base;
220 S2I_function(const char* a, char** e, int base)
222 S2I_function(a, e, base) const char* a; char** e; int base;
241 register int base;
252 base = basep ? *((unsigned char*)basep) : 0;
254 if (base > 36 && base <= SF_RADIX)
261 base = 1;
264 if (base && (base < 2 || base > SF_RADIX))
276 if (!base)
291 base = n;
294 else if (base)
295 base = 0;
301 base = 16;
306 base = 8;
310 if (!base)
311 base = 10;
312 else if (base < 2 || base > SF_RADIX)
321 *basep = base;
336 x = mm[base];
338 if (base == 10)
391 cv = base <= 36 ? _Sfcv36 : _Sfcv64;
392 if ((base & ~(base - 1)) == base)
397 if (base < 8)
398 shift = base < 4 ? 1 : 2;
399 else if (base < 32)
400 shift = base < 16 ? 3 : 4;
402 shift = base < 64 ? 5 : 6;
403 while (S2I_valid(s) && (c = cv[*s++]) < base)
417 while (S2I_valid(s) && (c = cv[*s++]) < base)
423 n *= base;
440 base = 0;
443 if (!(base & QL) && (c == 'l' || c == 'L'))
445 base |= QL;
456 else if (!(base & QU) && (c == 'u' || c == 'U'))
458 base |= QU;