Lines Matching refs:base
203 S2I_function(const char* a, size_t size, char** e, int base)
205 S2I_function(a, size, e, base) const char* a; size_t size; char** e; int base;
217 S2I_function(const char* a, char** e, int base)
219 S2I_function(a, e, base) const char* a; char** e; int base;
238 register int base; local
249 base = basep ? *((unsigned char*)basep) : 0;
251 if (base > 36 && base <= SF_RADIX)
258 base = 1;
261 if (base && (base < 2 || base > SF_RADIX))
273 if (!base)
288 base = n;
291 else if (base)
292 base = 0;
298 base = 16;
303 base = 8;
307 if (!base)
308 base = 10;
309 else if (base < 2 || base > SF_RADIX)
318 *basep = base;
333 x = mm[base];
335 if (base == 10)
388 cv = base <= 36 ? _Sfcv36 : _Sfcv64;
389 if ((base & ~(base - 1)) == base)
394 if (base < 8)
395 shift = base < 4 ? 1 : 2;
396 else if (base < 32)
397 shift = base < 16 ? 3 : 4;
399 shift = base < 64 ? 5 : 6;
400 while (S2I_valid(s) && (c = cv[*s++]) < base)
414 while (S2I_valid(s) && (c = cv[*s++]) < base)
420 n *= base;
437 base = 0;
440 if (!(base & QL) && (c == 'l' || c == 'L'))
442 base |= QL;
453 else if (!(base & QU) && (c == 'u' || c == 'U'))
455 base |= QU;