/external/clang/test/CodeGenCXX/ |
H A D | template-dependent-bind-temporary.cpp | 16 T digit; local 17 char((digit < 10 ? '0' : 'a') + digit) + result;
|
/external/icu/icu4c/source/common/ |
H A D | ustrfmt.c | 32 int digit; local 37 digit = (int)(i % radix); 38 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7));
|
H A D | cstring.c | 159 uint8_t digit; local 174 digit = (uint8_t)(uval % radix); 175 tbuf[--tbx] = (char)(T_CString_itosOffset(digit)); 197 uint8_t digit; local 212 digit = (uint8_t)(uval % radix); 213 tbuf[--tbx] = (char)(T_CString_itosOffset(digit));
|
H A D | punycode.cpp | 93 digitToBasic(int32_t digit, UBool uppercase) { argument 96 if(digit<26) { 98 return (char)(_CAPITAL_A+digit); 100 return (char)(_SMALL_A+digit); 103 return (char)((_ZERO_-26)+digit); 379 int32_t n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t, local 456 digit=basicToDigit[(uint8_t)src[in++]]; 457 if(digit<0) { 461 if(digit>(0x7fffffff-i)/w) { 467 i+=digit* [all...] |
H A D | util.cpp | 58 int32_t digit = n / r; local 59 result.append(DIGITS[digit]); 60 n -= digit * r;
|
/external/llvm/lib/MC/ |
H A D | MCInstPrinter.cpp | 59 // For asm-style hex (e.g. 0ffh) the first digit always has to be a number. 64 uint64_t digit = (Value >> 60) & 0xf; local 65 if (digit != 0) 66 return (digit >= 0xa);
|
/external/boringssl/src/crypto/ec/ |
H A D | util-64.c | 99 * significant bit), and recodes them into a signed digit for use in fast point 112 * shown to be the basis of various signed-digit representations that do have 140 * (a signed-digit encoding independently discovered by various researchers 151 * signed bits into a signed digit: 155 * The sign-alternating property implies that the resulting digit values are 160 * to the wNAF): a direct computation obtains the recoded digit from the 164 * recoded digit to *sign (0 for positive, 1 for negative) and *digit (absolute 167 * compute the least significant recoded digit, given that there's no bit b_-1, 169 void ec_GFp_nistp_recode_scalar_bits(uint8_t *sign, uint8_t *digit, argument [all...] |
H A D | wnaf.c | 147 * with the exception that the most significant digit may be only 148 * w-1 zeros away from that next non-zero digit. 191 1); /* modified wNAF may be one digit longer than binary representation 203 int digit = 0; local 211 digit = window_val - next_bit; /* -2^w < digit < 0 */ 217 * so using a positive digit here will decrease 220 digit = window_val & (mask >> 1); /* 0 < digit < 2^w */ 224 digit 590 int digit = wNAF[i][k]; local [all...] |
/external/icu/icu4c/source/tools/genrb/ |
H A D | rbutil.c | 72 int digit; local 82 digit = (int)(i % radix); 83 buffer[length++]= digits[digit];
|
/external/toybox/toys/other/ |
H A D | taskset.c | 68 unsigned long digit = *(--s) - '0'; local 70 if (digit > 9) digit = 10 + tolower(*s)-'a'; 71 if (digit > 15) error_exit("bad mask '%s'", *toys.optargs); 72 mask[j/(2*sizeof(long))] |= digit << 4*(j&((2*sizeof(long))-1));
|
/external/icu/icu4c/source/samples/numfmt/ |
H A D | util.cpp | 35 uint32_t digit; local 37 digit = (number >> ((--digits) * 4)) & 0xF; 38 target += (UChar)(digit < 10 ? 0x30 + digit : 0x41 - 10 + digit);
|
/external/v8/src/ |
H A D | conversions-inl.h | 148 int digit; local 150 digit = static_cast<char>(*current) - '0'; 152 digit = static_cast<char>(*current) - 'a' + 10; 154 digit = static_cast<char>(*current) - 'A' + 10; 164 number = number * radix + digit; 553 insignificant_digits++; // Move the digit into the exponential part. 651 int digit = *current - '0'; 653 && !(num == max_exponent / 10 && digit <= max_exponent % 10)) { 656 num = num * 10 + digit;
|
H A D | strtod.cc | 100 // The input buffer has been trimmed. Therefore the last digit must be 103 // Set the last digit to be non-zero. This is sufficient to guarantee 113 // When the string starts with "1844674407370955161" no further digit is read. 115 // digit if it was less or equal than 6, but this would complicate the code. 121 int digit = buffer[i++] - '0'; local 122 DCHECK(0 <= digit && digit <= 9); 123 result = 10 * result + digit;
|
/external/vboot_reference/futility/ |
H A D | cmd_pcr.c | 45 int digit; local 47 for (digit = 0; digit < 2; digit++) { 58 if (!digit)
|
/external/guava/guava/src/com/google/common/primitives/ |
H A D | UnsignedLongs.java | 305 int digit = Character.digit(s.charAt(pos), radix); 306 if (digit == -1) { 309 if (pos > max_safe_pos && overflowInParse(value, digit, radix)) { 312 value = (value * radix) + digit; 319 * Returns true if (current * radix) + digit is a number too large to be represented by an 324 private static boolean overflowInParse(long current, int digit, int radix) { argument 333 return (digit > maxValueMods[radix]); 366 // Separate off the last digit using unsigned division. That will leave
|
/external/icu/icu4c/source/i18n/ |
H A D | scientificnumberformatter.cpp | 47 int32_t digit = u_charDigitValue(c); local 48 if (digit < 0) { 52 result.append(kSuperscriptDigits[digit]);
|
H A D | dcfmtsym.cpp | 169 NULL, /* Native zero digit is deprecated from CLDR - get it from the numbering system */ 170 NULL, /* Pattern digit character is deprecated from CLDR - use # by default always */ 181 NULL, /* Significant digit symbol - not in CLDR */ 183 NULL, /* one digit - get it from the numbering system */ 184 NULL, /* two digit - get it from the numbering system */ 185 NULL, /* three digit - get it from the numbering system */ 186 NULL, /* four digit - get it from the numbering system */ 187 NULL, /* five digit - get it from the numbering system */ 188 NULL, /* six digit - get it from the numbering system */ 189 NULL, /* seven digit 232 UChar32 digit = digitString.char32At(0); local [all...] |
H A D | regexcmp.cpp | 999 // Scanned a digit from the lower value of an {lower,upper} interval 1013 // Scanned a digit from the upper value of an {lower,upper} interval 1288 // Loop once per digit, for max allowed number of digits in a back reference. 1289 int32_t digit = u_charDigitValue(c); local 1290 groupNum = groupNum * 10 + digit; 4107 // the three digit number would be > 0xff 4126 // The last digit made the number too big. Forget we saw it.
|
H A D | unesctrn.cpp | 229 int32_t digit = u_digit(ch, radix); local 230 if (digit < 0) { 234 u = (u * radix) + digit;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | Punycode.java | 108 private static char digitToBasic(int digit, boolean uppercase) { argument 111 if(digit<26) { 113 return (char)(CAPITAL_A+digit); 115 return (char)(SMALL_A+digit); 118 return (char)((ZERO-26)+digit); 274 int n, i, bias, basicLength, j, in, oldi, w, k, digit, t, 331 digit=basicToDigit[src.charAt(in++) & 0xFF]; 332 if(digit<0) { 335 if(digit>(0x7fffffff-i)/w) { 340 i+=digit* [all...] |
/external/libunwind/src/ |
H A D | os-linux.h | 114 unsigned long num_digits = 0, digit, val = 0; local 122 digit = *cp; 123 if ((digit - '0') <= 9) 124 digit -= '0'; 125 else if ((digit - 'a') < 6) 126 digit -= 'a' - 10; 127 else if ((digit - 'A') < 6) 128 digit -= 'A' - 10; 131 val = (val << 4) | digit; 144 unsigned long num_digits = 0, digit, va local [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_libc.cc | 227 int digit = ((*nptr) - '0'); local 228 res = (res <= UINT64_MAX - digit) ? res + digit : UINT64_MAX;
|
H A D | sanitizer_printf.cc | 79 char digit = static_cast<char>(num_buffer[pos]); local 80 result += AppendChar(buff, buff_end, (digit < 10) ? '0' + digit 81 : 'a' + digit - 10);
|
/external/icu/icu4c/source/io/ |
H A D | ufmt_cmn.c | 74 uint32_t digit; local 78 digit = (uint32_t)(value % radix); 80 buffer[length++] = (UChar)(uselower ? TO_LC_DIGIT(digit) 81 : TO_UC_DIGIT(digit)); 152 /* read the next digit */
|
/external/icu/icu4c/source/test/intltest/ |
H A D | punyref.c | 73 /* is undefined if flag is nonzero and digit d has no uppercase form. */ 223 b, j, in, oldi, w, k, digit, t; local 260 digit = decode_digit(input[in++]); 261 if (digit >= base) return punycode_bad_input; 262 if (digit > (maxint - i) / w) return punycode_overflow; 263 i += digit * w; 266 if (digit < t) break;
|