/external/apache-http/src/org/apache/commons/codec/net/ |
QuotedPrintableCodec.java | 182 int u = Character.digit((char) bytes[++i], 16); 183 int l = Character.digit((char) bytes[++i], 16);
|
URLCodec.java | 167 int u = Character.digit((char)bytes[++i], 16); 168 int l = Character.digit((char)bytes[++i], 16);
|
/external/grub/stage2/ |
char_io.c | 867 unsigned int digit; local 869 digit = tolower (*ptr) - '0'; 870 if (digit > 9) 872 digit -= 'a' - '0'; 873 if (mult == 10 || digit > 5) 875 digit += 10; 879 if (myint > ((MAXINT - digit) / mult)) 884 myint = (myint * mult) + digit;
|
/external/ipsec-tools/src/racoon/ |
cftoken.l | 112 digit [0-9] 115 /*octet (([01]?{digit}?{digit})|((2([0-4]{digit}))|(25[0-5]))) */ 132 decstring {digit}+ 399 {slash}{digit}{1,3} {
|
/libcore/luni/src/test/java/libcore/java/security/ |
SignatureTest.java | 144 data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) 145 + Character.digit(s.charAt(i+1), 16));
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
HexParser.java | 105 throw new RuntimeException("spare digit around " + 112 int digVal = Character.digit(c, 16); 114 throw new RuntimeException("bogus digit character: \"" + 127 throw new RuntimeException("spare digit around offset " +
|
/dalvik/dx/src/com/android/dx/util/ |
HexParser.java | 105 throw new RuntimeException("spare digit around " + 112 int digVal = Character.digit(c, 16); 114 throw new RuntimeException("bogus digit character: \"" + 127 throw new RuntimeException("spare digit around offset " +
|
/external/v8/src/ |
strtod.cc | 121 // The input buffer has been trimmed. Therefore the last digit must be 124 // Set the last digit to be non-zero. This is sufficient to guarantee 133 // When the string starts with "1844674407370955161" no further digit is read. 135 // digit if it was less or equal than 6, but this would complicate the code. 141 int digit = buffer[i++] - '0'; local 142 ASSERT(0 <= digit && digit <= 9); 143 result = 10 * result + digit;
|
scanner.cc | 498 int digit = HexValue(c0_); local 499 if (digit < 0) { 502 value = value * 16 + digit; 529 // Prefix zero is only allowed if it's the only digit before
|
/external/webkit/Tools/Scripts/ |
run-leaks | 162 my ($size) = ($line =~ /size=([[:digit:]]+)/);
|
/libcore/luni/src/main/java/java/lang/ |
Long.java | 360 int digit = Character.digit(string.charAt(offset++), radix); local 361 if (digit == -1) { 367 long next = result * radix - digit;
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldCharacterTest.java | 130 assertEquals(-1, Character.digit('\uFFFF', 1));
|
/libcore/support/src/test/java/tests/support/ |
Support_Configuration.java | 322 int digit = Character.digit((char) nextChar, 16); local 323 if (digit >= 0) { 324 unicode = (unicode << 4) + digit;
|
/external/chromium/chrome/browser/metrics/ |
metrics_log_unittest.cc | 36 char digit = xml_encoded->at(i); local 37 ASSERT_GE(digit, '0'); 38 ASSERT_LE(digit, '9');
|
/external/icu4c/common/ |
util.cpp | 57 int32_t digit = n / r; local 58 result.append(DIGITS[digit]); 59 n -= digit * r;
|
/external/icu4c/i18n/ |
unesctrn.cpp | 228 int32_t digit = u_digit(ch, radix); local 229 if (digit < 0) { 233 u = (u * radix) + digit;
|
/external/skia/src/utils/ |
SkParse.cpp | 125 int digit; local 127 while ((digit = to_hex(*str)) >= 0) 131 n = (n << 4) | digit;
|
/external/stlport/src/ |
ctype.cpp | 94 ctype_base::mask(digit | print | xdigit) /* 0 */, 95 ctype_base::mask(digit | print | xdigit) /* 1 */, 96 ctype_base::mask(digit | print | xdigit) /* 2 */, 97 ctype_base::mask(digit | print | xdigit) /* 3 */, 98 ctype_base::mask(digit | print | xdigit) /* 4 */, 99 ctype_base::mask(digit | print | xdigit) /* 5 */, 100 ctype_base::mask(digit | print | xdigit) /* 6 */, 101 ctype_base::mask(digit | print | xdigit) /* 7 */, 102 ctype_base::mask(digit | print | xdigit) /* 8 */, 103 ctype_base::mask(digit | print | xdigit) /* 9 */ [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
ctype.cpp | 94 ctype_base::mask(digit | print | xdigit) /* 0 */, 95 ctype_base::mask(digit | print | xdigit) /* 1 */, 96 ctype_base::mask(digit | print | xdigit) /* 2 */, 97 ctype_base::mask(digit | print | xdigit) /* 3 */, 98 ctype_base::mask(digit | print | xdigit) /* 4 */, 99 ctype_base::mask(digit | print | xdigit) /* 5 */, 100 ctype_base::mask(digit | print | xdigit) /* 6 */, 101 ctype_base::mask(digit | print | xdigit) /* 7 */, 102 ctype_base::mask(digit | print | xdigit) /* 8 */, 103 ctype_base::mask(digit | print | xdigit) /* 9 */ [all...] |
/bootable/recovery/applypatch/ |
applypatch.c | 450 int digit; local 452 digit = *ps - '0'; 454 digit = *ps - 'a' + 10; 456 digit = *ps - 'A' + 10; 461 *pd = digit << 4; 463 *pd |= digit;
|
/libcore/luni/src/main/native/ |
libcore_icu_NativeDecimalFormat.cpp | 47 jstring currencySymbol0, jchar decimalSeparator, jchar digit, jstring exponentSeparator0, 62 result->setSymbol(DecimalFormatSymbols::kDigitSymbol, UnicodeString(digit)); 74 // java.text.DecimalFormatSymbols just uses a zero digit, 75 // but ICU >= 4.6 has a field for each decimal digit. 90 jstring currencySymbol, jchar decimalSeparator, jchar digit, jstring exponentSeparator, 96 currencySymbol, decimalSeparator, digit, exponentSeparator, groupingSeparator, 104 jstring currencySymbol, jchar decimalSeparator, jchar digit, jstring exponentSeparator, 117 currencySymbol, decimalSeparator, digit, exponentSeparator, groupingSeparator,
|
/external/webkit/Source/JavaScriptCore/runtime/ |
NumberPrototype.cpp | 276 const int digit = static_cast<int>(d); 277 *p++ = digits[digit]; 278 d -= digit;
|
/cts/tools/dasm/src/dasm/ |
Scanner.java | 182 int tmp = Character.digit((char) nextChar, 16);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ByteTest.java | 177 //must be consistent with Character.digit() 178 assertEquals(Character.digit('1', 2), Byte.valueOf("1", 2).byteValue()); 179 assertEquals(Character.digit('F', 16), Byte.valueOf("F", 16).byteValue()); 247 //must be consistent with Character.digit() 248 assertEquals(Character.digit('1', 2), Byte.parseByte("1", 2)); 249 assertEquals(Character.digit('F', 16), Byte.parseByte("F", 16));
|
ShortTest.java | 489 //must be consistent with Character.digit() 490 assertEquals(Character.digit('1', 2), Short.valueOf("1", 2).byteValue()); 491 assertEquals(Character.digit('F', 16), Short.valueOf("F", 16).byteValue()); 551 //must be consistent with Character.digit() 552 assertEquals(Character.digit('1', 2), Short.parseShort("1", 2)); 553 assertEquals(Character.digit('F', 16), Short.parseShort("F", 16));
|