Lines Matching full:radix
133 // Parsing integers with radix 2, 4, 8, 16, 32. Assumes current != end.
150 const int radix = (1 << radix_log_2);
154 if (*current >= '0' && *current <= '9' && *current < '0' + radix) {
156 } else if (radix > 10 && *current >= 'a' && *current < 'a' + radix - 10) {
158 } else if (radix > 10 && *current >= 'A' && *current < 'A' + radix - 10) {
169 number = number * radix + digit;
188 if (current == end || !isDigit(*current, radix)) break;
241 int radix) {
266 if (radix == 0) {
267 // Radix detection.
272 radix = 16;
276 radix = 8;
280 radix = 10;
282 } else if (radix == 16) {
296 if (radix < 2 || radix > 36) return JunkStringValue();
305 if (!leading_zero && !isDigit(*current, radix)) {
309 if (IsPowerOf2(radix)) {
310 switch (radix) {
333 if (radix == 10) {
368 int lim_0 = '0' + (radix < 10 ? radix : 10);
369 int lim_a = 'a' + (radix - 10);
370 int lim_A = 'A' + (radix - 10);
401 uint32_t m = multiplier * radix;
403 part = part * radix + d;