/external/conscrypt/platform/src/main/java/org/conscrypt/ |
Hex.java | 31 private final static char[] DIGITS = { 38 buf[c++] = DIGITS[(b >> 4) & 0xf]; 39 buf[c++] = DIGITS[b & 0xf]; 45 int bufLen = 8; // Max number of hex digits in an int 50 buf[--cursor] = DIGITS[i & 0xf];
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/ |
InterfaceWithLambda.java | 22 List<String> DIGITS =
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/escape/ |
JsEscapeFunction.java | 31 private static final char[] DIGITS = "0123456789ABCDEF".toCharArray(); 70 return "\\x" + DIGITS[(c >> 4) & 0xF] + DIGITS[c & 0xF];
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
Hex.java | 29 private static final char[] DIGITS = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'}; 44 out[j++] = DIGITS[(0xF0 & data[i]) >>> 4]; 45 out[j++] = DIGITS[0x0F & data[i]];
|
/external/okhttp/okio/okio/src/main/java/okio/ |
Buffer.java | 48 private static final byte[] DIGITS = 1075 data[--pos] = DIGITS[digit]; 1098 data[pos] = DIGITS[(int) (v & 0xF)]; [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParserConstants.java | 26 int DIGITS = 46; 81 "<DIGITS>",
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
Hex.java | 39 private static final byte[] DIGITS = new byte['f'+1]; 42 DIGITS[i] = -1; 45 DIGITS['0' + i] = i; 48 DIGITS['A' + i] = (byte)(10 + i); 49 DIGITS['a' + i] = (byte)(10 + i); 98 final byte d1 = DIGITS[c1]; 110 final byte d2 = DIGITS[c2];
|
/external/apache-http/src/org/apache/commons/codec/binary/ |
Hex.java | 41 private static final char[] DIGITS = { 53 * @param data An array of characters containing hexidecimal digits 114 out[j++] = DIGITS[(0xF0 & data[i]) >>> 4 ]; 115 out[j++] = DIGITS[ 0x0F & data[i] ]; 128 * @param array An array of character bytes containing hexidecimal digits 146 * @param object A String or, an array of character bytes containing hexidecimal digits
|
/external/icu/icu4c/source/common/ |
util.cpp | 27 static const UChar DIGITS[] = { 47 // First determine the number of digits 55 // Now generate the digits 57 result.append(DIGITS[0]); 61 result.append(DIGITS[digit]); 86 result.append(DIGITS[0xF&(c>>28)]); 87 result.append(DIGITS[0xF&(c>>24)]); 88 result.append(DIGITS[0xF&(c>>20)]); 89 result.append(DIGITS[0xF&(c>>16)]); 93 result.append(DIGITS[0xF&(c>>12)]) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
ContentTypeParserConstants.java | 25 int DIGITS = 20; 56 "<DIGITS>",
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/ |
IntegralToString.java | 95 * The digits for every supported radix. 97 private static final char[] DIGITS = { 144 buf[--cursor] = DIGITS[radix * q - i]; 212 // Calculate digits two-at-a-time till remaining digits fit in 16 bits 222 // Calculate remaining digits one-at-a-time for performance 227 buf[--cursor] = DIGITS[r]; 278 buf[--cursor] = DIGITS[(int) (radix * q - v)]; 330 int low = (int) (n % 1000000000); // Extract low-order 9 digits 333 // Zero-pad Low order part to 9 digits 451 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local 458 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local 466 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local 481 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
Byte.java | 109 * string must all be digits, of the specified radix (as 158 * byte}. The characters in the string must all be decimal digits, 257 * except that underscores are not accepted between digits. 526 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; local 527 char[] buf = new char[2]; // We always want two digits. 528 buf[0] = digits[(b >> 4) & 0xf]; 529 buf[1] = digits[b & 0xf]; 532 private static final char[] DIGITS = {
|
/cts/tests/tests/text/src/android/text/method/cts/ |
NumberKeyListenerTest.java | 55 mMockNumberKeyListener = new MockNumberKeyListener(MockNumberKeyListener.DIGITS); 100 mMockNumberKeyListener = new MockNumberKeyListener(MockNumberKeyListener.DIGITS); 120 mMockNumberKeyListener = new MockNumberKeyListener(MockNumberKeyListener.DIGITS); 142 new MockNumberKeyListener(MockNumberKeyListener.DIGITS); 157 int keyCode = TextMethodUtils.getUnacceptedKeyCode(MockNumberKeyListener.DIGITS); 183 static final char[] DIGITS =
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
sre_parse.py | 22 DIGITS = set("0123456789")
247 # hexadecimal escape (exactly two digits)
255 # octal escape (up to three digits)
260 elif c in DIGITS:
290 elif c in DIGITS:
292 if source.next in DIGITS:
296 # got three octal digits; this is an octal escape
504 while source.next in DIGITS:
507 while source.next in DIGITS:
789 elif c in DIGITS: [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
sre_parse.py | 22 DIGITS = set("0123456789")
236 # hexadecimal escape (exactly two digits)
244 # octal escape (up to three digits)
249 elif c in DIGITS:
279 elif c in DIGITS:
281 if source.next in DIGITS:
285 # got three octal digits; this is an octal escape
488 while source.next in DIGITS:
491 while source.next in DIGITS:
745 elif c in DIGITS: [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
TestUtil.java | 65 static final char DIGITS[] = 122 result.append(DIGITS[0xF & (c >> 28)]); 123 result.append(DIGITS[0xF & (c >> 24)]); 124 result.append(DIGITS[0xF & (c >> 20)]); 125 result.append(DIGITS[0xF & (c >> 16)]); 129 result.append(DIGITS[0xF & (c >> 12)]); 130 result.append(DIGITS[0xF & (c >> 8)]); 131 result.append(DIGITS[0xF & (c >> 4)]); 132 result.append(DIGITS[0xF & c]);
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
TestUtil.java | 62 static final char DIGITS[] = 119 result.append(DIGITS[0xF & (c >> 28)]); 120 result.append(DIGITS[0xF & (c >> 24)]); 121 result.append(DIGITS[0xF & (c >> 20)]); 122 result.append(DIGITS[0xF & (c >> 16)]); 126 result.append(DIGITS[0xF & (c >> 12)]); 127 result.append(DIGITS[0xF & (c >> 8)]); 128 result.append(DIGITS[0xF & (c >> 4)]); 129 result.append(DIGITS[0xF & c]);
|
/external/python/cpython2/Lib/ |
sre_parse.py | 22 DIGITS = set("0123456789") 247 # hexadecimal escape (exactly two digits) 255 # octal escape (up to three digits) 260 elif c in DIGITS: 290 elif c in DIGITS: 292 if source.next in DIGITS: 296 # got three octal digits; this is an octal escape 504 while source.next in DIGITS: 507 while source.next in DIGITS: 789 elif c in DIGITS [all...] |
/external/python/cpython3/Lib/ |
sre_parse.py | 20 DIGITS = frozenset("0123456789") 305 # hexadecimal escape (exactly two digits) 311 # unicode escape (exactly four digits) 317 # unicode escape (exactly eight digits) 325 # octal escape (up to three digits) 332 elif c in DIGITS: 359 # unicode escape (exactly four digits) 365 # unicode escape (exactly eight digits) 376 elif c in DIGITS: 378 if source.next in DIGITS [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
sre_parse.py | 23 DIGITS = set("0123456789") 237 # hexadecimal escape (exactly two digits) 245 # octal escape (up to three digits) 250 elif c in DIGITS: 280 elif c in DIGITS: 282 if source.next in DIGITS: 286 # got three octal digits; this is an octal escape 489 while source.next in DIGITS: 492 while source.next in DIGITS: 758 elif c in DIGITS [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
sre_parse.py | 23 DIGITS = set("0123456789") 237 # hexadecimal escape (exactly two digits) 245 # octal escape (up to three digits) 250 elif c in DIGITS: 280 elif c in DIGITS: 282 if source.next in DIGITS: 286 # got three octal digits; this is an octal escape 489 while source.next in DIGITS: 492 while source.next in DIGITS: 758 elif c in DIGITS [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
sre_parse.py | 23 DIGITS = set("0123456789") 237 # hexadecimal escape (exactly two digits) 245 # octal escape (up to three digits) 250 elif c in DIGITS: 280 elif c in DIGITS: 282 if source.next in DIGITS: 286 # got three octal digits; this is an octal escape 489 while source.next in DIGITS: 492 while source.next in DIGITS: 758 elif c in DIGITS [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
sre_parse.py | 23 DIGITS = set("0123456789") 237 # hexadecimal escape (exactly two digits) 245 # octal escape (up to three digits) 250 elif c in DIGITS: 280 elif c in DIGITS: 282 if source.next in DIGITS: 286 # got three octal digits; this is an octal escape 489 while source.next in DIGITS: 492 while source.next in DIGITS: 758 elif c in DIGITS [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
XLocaleMatcherTest.java | 283 private static final UnicodeSet DIGITS = new UnicodeSet("[0-9]").freeze();
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
XLocaleMatcherTest.java | 280 private static final UnicodeSet DIGITS = new UnicodeSet("[0-9]").freeze();
|