Home
last modified time | relevance | path

Searched refs:HEX_DIGITS (Results 1 – 17 of 17) sorted by relevance

/external/turbine/java/com/google/common/escape/
DSourceCodeEscapers.java39 private static final char[] HEX_DIGITS = "0123456789abcdef".toCharArray(); field in SourceCodeEscapers
90 r[5] = HEX_DIGITS[c & 0xF]; in asUnicodeHexEscape()
92 r[4] = HEX_DIGITS[c & 0xF]; in asUnicodeHexEscape()
94 r[3] = HEX_DIGITS[c & 0xF]; in asUnicodeHexEscape()
96 r[2] = HEX_DIGITS[c & 0xF]; in asUnicodeHexEscape()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DUUIDDeserializer.java17 final static int[] HEX_DIGITS = new int[127]; field in UUIDDeserializer
19 Arrays.fill(HEX_DIGITS, -1); in Arrays.fill() argument
20 for (int i = 0; i < 10; ++i) { HEX_DIGITS['0' + i] = i; }
22 HEX_DIGITS['a' + i] = 10 + i;
23 HEX_DIGITS['A' + i] = 10 + i;
104 int hex = (HEX_DIGITS[c1] << 4) | HEX_DIGITS[c2]; in byteFromChars()
109 if (c1 > 127 || HEX_DIGITS[c1] < 0) { in byteFromChars()
/external/owasp/sanitizer/src/main/org/owasp/html/
DCssTokens.java1295 .append(HEX_DIGITS[(decoded >>> 4) & 0xf])
1296 .append(HEX_DIGITS[(decoded >>> 0) & 0xf]);
1301 .append(HEX_DIGITS[(octet0 >>> 4) & 0xf])
1302 .append(HEX_DIGITS[(octet0 >>> 0) & 0xf])
1304 .append(HEX_DIGITS[(octet1 >>> 4) & 0xf])
1305 .append(HEX_DIGITS[(octet1 >>> 0) & 0xf]);
1311 .append(HEX_DIGITS[(octet0 >>> 4) & 0xf])
1312 .append(HEX_DIGITS[(octet0 >>> 0) & 0xf])
1314 .append(HEX_DIGITS[(octet1 >>> 4) & 0xf])
1315 .append(HEX_DIGITS[(octet1 >>> 0) & 0xf])
[all …]
/external/conscrypt/platform/src/main/java/org/conscrypt/ct/
DCTLogStoreImpl.java245 private final static char[] HEX_DIGITS = new char[] { field in CTLogStoreImpl
253 sb.append(HEX_DIGITS[(b >> 4) & 0x0f]); in hexEncode()
254 sb.append(HEX_DIGITS[b & 0x0f]); in hexEncode()
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/ct/
DCTLogStoreImpl.java250 private final static char[] HEX_DIGITS = new char[] { field in CTLogStoreImpl
258 sb.append(HEX_DIGITS[(b >> 4) & 0x0f]); in hexEncode()
259 sb.append(HEX_DIGITS[b & 0x0f]); in hexEncode()
/external/okhttp/okio/okio/src/main/java/okio/
DByteString.java47 static final char[] HEX_DIGITS = field in ByteString
148 result[c++] = HEX_DIGITS[(b >> 4) & 0xf]; in hex()
149 result[c++] = HEX_DIGITS[b & 0xf]; in hex()
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DByteString.java49 static final char[] HEX_DIGITS = field in ByteString
150 result[c++] = HEX_DIGITS[(b >> 4) & 0xf]; in hex()
151 result[c++] = HEX_DIGITS[b & 0xf]; in hex()
/external/smali/smali/src/test/antlr/org/jf/smali/
DexpectedTokensTestGrammar.g109 fragment HEX_DIGITS
123 | 'u' HEX_DIGITS {sb.append((char)Integer.parseInt($HEX_DIGITS.text, 16));}
/external/googletest/googlemock/scripts/generator/cpp/
Dtokenize.py41 HEX_DIGITS = set('0123456789abcdefABCDEF') variable
127 hex_digits = HEX_DIGITS
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
DGeneratedJavaParserConstants.java202 int HEX_DIGITS = 85; field
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DTokenTypes.java207 case HEX_DIGITS: in getCategory()
DJavaToken.java336 HEX_DIGITS(85), enumConstant
518 return HEX_DIGITS; in valueOf()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHttpUrl.java256 private static final char[] HEX_DIGITS = field in HttpUrl
1626 out.writeByte(HEX_DIGITS[(b >> 4) & 0xf]);
1627 out.writeByte(HEX_DIGITS[b & 0xf]);
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DHttpUrl.java258 private static final char[] HEX_DIGITS = field in HttpUrl
1636 out.writeByte(HEX_DIGITS[(b >> 4) & 0xf]);
1637 out.writeByte(HEX_DIGITS[b & 0xf]);
/external/rust/crates/serde_json/src/
Dser.rs1791 static HEX_DIGITS: [u8; 16] = *b"0123456789abcdef"; in write_char_escape() constant
1797 HEX_DIGITS[(byte >> 4) as usize], in write_char_escape()
1798 HEX_DIGITS[(byte & 0xF) as usize], in write_char_escape()
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c625 static const char HEX_DIGITS[] = { in UCharsToEscapedAscii() local
669 resultChars[resultLen++]=HEX_DIGITS[(uc>>12)&0xff]; in UCharsToEscapedAscii()
670 resultChars[resultLen++]=HEX_DIGITS[(uc>>8)&0xff]; in UCharsToEscapedAscii()
671 resultChars[resultLen++]=HEX_DIGITS[(uc>>4)&0xff]; in UCharsToEscapedAscii()
672 resultChars[resultLen++]=HEX_DIGITS[uc&0xff]; in UCharsToEscapedAscii()
/external/javaparser/javaparser-core/src/main/javacc/
Djava.jj289 < #HEX_LITERAL: "0" ["x","X"] <HEX_DIGITS> >
311 | "0" ["x","X"] (<HEX_DIGITS>)? "." <HEX_DIGITS> <HEXADECIMAL_EXPONENT> (["f","F","d","D"])?
316 …< #HEX_DIGITS: ["0"-"9","a"-"f","A"-"F"]((["0"-"9","a"-"f","A"-"F","_"])*["0"-"9","a"-"f","A"-"F"]…