/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
H A D | UCharacterPerf.java | 50 UCharacter.digit(ch, 10); 65 Character.digit(ch, 10);
|
/external/libchrome/crypto/ |
H A D | signature_verifier_unittest.cc | 961 static uint8_t HexDigitValue(char digit) { argument 962 if ('0' <= digit && digit <= '9') 963 return digit - '0'; 964 if ('a' <= digit && digit <= 'f') 965 return digit - 'a' + 10; 966 return digit - 'A' + 10;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | Utility.java | 840 dig = UCharacter.digit(c, 8); 844 n = 1; /* Already have first octal digit */ 853 dig = UCharacter.digit(c, (bitsPerDigit == 3) ? 8 : 16); 1298 int d = UCharacter.digit(rule.charAt(p++), radix); 1369 * order digit first, but it must be appended last. 1380 int digit = n % radix; 1385 result.append(DIGITS[digit]); 1401 * digit is always emitted regardless of this parameter. 1431 * UCharacter.digit() to parse individual characters into digits. 1435 * to a valid digit [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | collationiterator.cpp | 692 char digit = Collation::digitFromCE32(ce32); local 693 digits.append(digit, errorCode); 709 char digit = Collation::digitFromCE32(ce32); local 710 digits.append(digit, errorCode); 722 // Reverse the digit string. 726 char digit = *p; local 728 *q-- = digit; 760 // 124 byte values 132..255 for very large numbers with 4..127 digit pairs. 796 // The second primary byte value 132..255 indicates the number of digit pairs (4..127), 918 // Contraction matching and digit special [all...] |
H A D | nfsubs.cpp | 1016 * If in "by digits" mode, fills in the substitution one decimal digit 1036 // pulling digits off the right one at a time, formatting each digit 1044 // // to true the first time we encounter a non-zero digit 1047 // int64_t digit = numberToFormat % 10; 1048 // if (digit != 0 || doZeros) { 1053 // getRuleSet()->format(digit, toInsertInto, _pos + getPos()); 1073 int64_t digit = didx>=0 ? dl.getDigit(didx) - '0' : 0; local 1074 getRuleSet()->format(digit, toInsertInto, _pos + getPos(), recursionCount, status); 1119 // if we ARE in byDigits mode, parse the text one digit at a time 1127 int32_t digit; local [all...] |
H A D | tzfmt.cpp | 1820 // forcing parse to use single hour digit 1829 // Better parse result with single hour digit 1987 // offset needs a sign char and a digit at minimum 2083 int32_t digit = parseSingleLocalizedDigit(text, idx, digitLen); 2084 if (digit < 0) { 2087 int32_t tmpVal = decVal * 10 + digit; 2109 int32_t digit = -1; 2117 digit = i; 2121 // If failed, check if this is a Unicode digit 2122 if (digit < [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | Utility.java | 836 dig = UCharacter.digit(c, 8); 840 n = 1; /* Already have first octal digit */ 849 dig = UCharacter.digit(c, (bitsPerDigit == 3) ? 8 : 16); 1294 int d = UCharacter.digit(rule.charAt(p++), radix); 1365 * order digit first, but it must be appended last. 1376 int digit = n % radix; 1381 result.append(DIGITS[digit]); 1397 * digit is always emitted regardless of this parameter. 1427 * UCharacter.digit() to parse individual characters into digits. 1431 * to a valid digit [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
H A D | strutil.cc | 350 case '0': case '1': case '2': case '3': // octal digit: 1 to 3 digits 356 ch = ch * 8 + *++p - '0'; // now points at last digit 366 "\\x cannot be followed by non-hex digit: \\" << *p << p[1]; 502 // digit then that digit must be escaped too to prevent it being 711 int digit = c - '0'; local 712 if (digit >= base || digit < 0) { 721 if (value > vmax - digit) { 725 value += digit; [all...] |
/external/bison/lib/ |
H A D | vasnprintf.c | 480 (Need a_len+1 digits for the real division and 1 more digit for the 1505 a single '1' digit. */ 3123 int digit = (int) tail; local 3124 tail -= digit; 3127 if (digit & 1 ? tail >= 0.5L : tail > 0.5L) 3145 int digit; local 3147 digit = (int) mantissa; 3148 mantissa -= digit; 3149 *p++ = '0' + digit; 3159 digit 3274 int digit = (int) tail; local 3296 int digit; local [all...] |
/external/pdfium/core/fpdfapi/parser/ |
H A D | fpdf_parser_decode.cpp | 177 int digit = FXSYS_toHexDigit(ch); local 179 dest_buf[dest_size] = digit * 16; 181 dest_buf[dest_size++] += digit;
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | HudSystem.java | 502 DrawableBitmap digit = mDigitDrawables[index]; 503 if (digit != null) { 504 render.scheduleForDraw(digit, location, SortConstants.HUD, false);
|
/external/selinux/checkpolicy/ |
H A D | policy_scan.l | 54 digit [0-9] 256 {digit}+|0x{hexval}+ { return(NUMBER); } 258 {digit}{1,3}(\.{digit}{1,3}){3} { return(IPV4_ADDR); } 260 {digit}+(\.({alnum}|[_.])*)? { return(VERSION_IDENTIFIER); } 262 #line[ ]{digit}+ { source_lineno = atoi(yytext+6)-1; }
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
H A D | BluetoothLeAdvertisingSetFacade.java | 100 data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) 101 + Character.digit(s.charAt(i + 1), 16));
|
/external/boringssl/src/crypto/ec/ |
H A D | internal.h | 223 void ec_GFp_nistp_recode_scalar_bits(uint8_t *sign, uint8_t *digit, uint8_t in);
|
/external/clang/include/clang/Lex/ |
H A D | LiteralSupport.h | 115 /// any real digits (not digit separators). 122 /// \brief Ensure that we don't have a digit separator here. 127 /// Return a pointer to the first non-hex digit or End. 135 /// Return a pointer to the first non-hex digit or End. 144 /// Return a pointer to the first non-hex digit or End. 152 /// Return a pointer to the first non-binary digit or End.
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
H A D | CollationIterator.java | 933 // Contraction matching and digit specials read more and check numCpFwd. 968 * Starts from this ce32's digit value and consumes the following/preceding digits. 977 char digit = Collation.digitFromCE32(ce32); 978 digits.append(digit); 994 char digit = Collation.digitFromCE32(ce32); 995 digits.append(digit); 1007 // Reverse the digit string. 1042 // 124 byte values 132..255 for very large numbers with 4..127 digit pairs. 1078 // The second primary byte value 132..255 indicates the number of digit pairs (4..127),
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | DecimalFormat.java | 133 * character is replaced by a localized digit. Often the replacement character is the 171 * <td>Significant digit 332 * digits, as defined by {@link UCharacter#digit}. In addition, 334 * starting with the localized zero digit defined in the {@link DecimalFormatSymbols} 404 * one or more digit characters indicates scientific notation. Example: "0.###E0" formats 409 * <li>The number of digit characters after the exponent character gives the minimum 410 * exponent digit count. There is no maximum. Negative exponents are formatted using the 427 * <li>When using scientific notation, the formatter controls the digit counts using 438 * If areSignificantDigitsUsed() returns true, then the significant digit counts are 449 * significant digits counts, or (b) integer and fraction digit count [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationIterator.java | 931 // Contraction matching and digit specials read more and check numCpFwd. 966 * Starts from this ce32's digit value and consumes the following/preceding digits. 975 char digit = Collation.digitFromCE32(ce32); 976 digits.append(digit); 992 char digit = Collation.digitFromCE32(ce32); 993 digits.append(digit); 1005 // Reverse the digit string. 1040 // 124 byte values 132..255 for very large numbers with 4..127 digit pairs. 1076 // The second primary byte value 132..255 indicates the number of digit pairs (4..127),
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | DecimalFormat.java | 132 * character is replaced by a localized digit. Often the replacement character is the 170 * <td>Significant digit 331 * digits, as defined by {@link UCharacter#digit}. In addition, 333 * starting with the localized zero digit defined in the {@link DecimalFormatSymbols} 403 * one or more digit characters indicates scientific notation. Example: "0.###E0" formats 408 * <li>The number of digit characters after the exponent character gives the minimum 409 * exponent digit count. There is no maximum. Negative exponents are formatted using the 426 * <li>When using scientific notation, the formatter controls the digit counts using 437 * If areSignificantDigitsUsed() returns true, then the significant digit counts are 448 * significant digits counts, or (b) integer and fraction digit count [all...] |
/external/ppp/pppd/ |
H A D | options.c | 1148 int value, digit, got, n; local 1275 digit = toupper(c) - '0'; 1276 if (digit > 10) 1277 digit += '0' + 10 - 'A'; 1278 value = (value << 4) + digit;
|
/external/v8/src/js/ |
H A D | i18n.js | 872 var digit = '[0-9]'; 873 var alphanum = '(' + alpha + '|' + digit + ')'; 882 var singleton = '(' + digit + '|[A-WY-Za-wy-z])'; 887 var variant = '(' + alphanum + '{5,8}|(' + digit + alphanum + '{3}))'; 890 var region = '(' + alpha + '{2}|' + digit + '{3})'; 1125 * Returns the valid digit count for a property, or throws RangeError on 1386 option = getOption('year', 'string', ['2-digit', 'numeric']); 1387 ldmlString += appendToLDMLString(option, {'2-digit': 'yy', 'numeric': 'y'}); 1390 ['2-digit', 'numeric', 'narrow', 'short', 'long']); 1391 ldmlString += appendToLDMLString(option, {'2-digit' [all...] |
/external/protobuf/js/binary/ |
H A D | utils.js | 471 // value in a digit at this step is representable as a 48-bit integer, which 494 function emit(digit) { 498 var decimalDigit = ((digit / temp) % 10) >>> 0; 605 // For each decimal digit, set result to 10*result + digit.
|
/external/libcxx/src/ |
H A D | locale.cpp | 761 const ctype_base::mask ctype_base::digit; member in class:ctype_base 1051 digit | print | xdigit, digit | print | xdigit, 1052 digit | print | xdigit, digit | print | xdigit, 1053 digit | print | xdigit, digit | print | xdigit, 1054 digit | print | xdigit, digit | print | xdigit, 1055 digit | prin [all...] |
/external/icu/icu4c/source/tools/makeconv/ |
H A D | genmbcs.cpp | 108 hexDigit(uint8_t digit) { argument 109 return digit<=9 ? (char)('0'+digit) : (char)('a'-10+digit);
|
/external/jsoncpp/src/lib_json/ |
H A D | json_reader.cpp | 534 Value::UInt digit(c - '0'); 537 // a) we've only just touched the limit, b) this is the last digit, and 541 digit > maxIntegerValue % 10) { 545 value = value * 10 + digit; 715 "Bad unicode escape sequence in string: hexadecimal digit expected.",
|