Home
last modified time | relevance | path

Searched refs:hexDigit (Results 1 – 15 of 15) sorted by relevance

/external/turbine/java/com/google/turbine/parse/
DUnicodeEscapePreprocessor.java76 char acc = (char) ((hexDigit(ch) & 0xff) << 12); in unicodeEscape()
78 acc |= (char) ((hexDigit(ch) & 0xff) << 8); in unicodeEscape()
80 acc |= (char) ((hexDigit(ch) & 0xff) << 4); in unicodeEscape()
82 acc |= (char) (hexDigit(ch) & 0xff); in unicodeEscape()
88 private static int hexDigit(char d) { in hexDigit() method in UnicodeEscapePreprocessor
/external/icu/icu4c/source/test/intltest/
Dconvtest.cpp883 hexDigit(uint8_t digit) { in hexDigit() function
894 *out++=hexDigit((uint8_t)(b>>4)); in printBytes()
895 *out++=hexDigit((uint8_t)(b&0xf)); in printBytes()
902 *out++=hexDigit((uint8_t)(b>>4)); in printBytes()
903 *out++=hexDigit((uint8_t)(b&0xf)); in printBytes()
924 *out++=hexDigit((uint8_t)((c>>16)&0xf)); in printUnicode()
926 *out++=hexDigit((uint8_t)((c>>12)&0xf)); in printUnicode()
927 *out++=hexDigit((uint8_t)((c>>8)&0xf)); in printUnicode()
928 *out++=hexDigit((uint8_t)((c>>4)&0xf)); in printUnicode()
929 *out++=hexDigit((uint8_t)(c&0xf)); in printUnicode()
Ditspoof.cpp313 int hexDigit = (c>>bitNum) & 0x0f; in appendHexUChar() local
314 if (hexDigit != 0 || doZeroes) { in appendHexUChar()
316 dest.append((UChar)(hexDigit<=9? hexDigit + 0x30: hexDigit -10 + 0x41)); in appendHexUChar()
/external/owasp/sanitizer/src/main/org/owasp/html/
DEncoding.java231 int hexDigit = (codepoint >>> (digit << 2)) & 0xf; in appendNumericEntity() local
232 output.append(HEX_NUMERAL[hexDigit]); in appendNumericEntity()
/external/javapoet/
DREADME.md371 result[0] = hexDigit((b >>> 4) & 0xf);
372 result[1] = hexDigit(b & 0xf);
376 public char hexDigit(int i) {
381 When generating the code above, we pass the `hexDigit()` method as an argument to the `byteToHex()`
385 MethodSpec hexDigit = MethodSpec.methodBuilder("hexDigit")
395 .addStatement("result[0] = $N((b >>> 4) & 0xf)", hexDigit)
396 .addStatement("result[1] = $N(b & 0xf)", hexDigit)
/external/icu/icu4c/source/test/cintltst/
Dbocu1tst.c754 hexDigit(uint8_t digit) { in hexDigit() function
772 *out++=hexDigit((uint8_t)(b>>4)); in printBytes()
773 *out++=hexDigit((uint8_t)(b&0xf)); in printBytes()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DHttpUrl.java1342 int hexDigit = decodeHexDigit(c);
1343 if (hexDigit == -1) break;
1344 value = (value << 4) + hexDigit;
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHttpUrl.java1332 int hexDigit = decodeHexDigit(c);
1333 if (hexDigit == -1) break;
1334 value = (value << 4) + hexDigit;
/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp110 hexDigit(uint8_t digit) { in hexDigit() function
118 *s++=hexDigit((uint8_t)(*bytes>>4)); in printBytes()
119 *s++=hexDigit((uint8_t)(*bytes&0xf)); in printBytes()
/external/clang/lib/AST/
DItaniumMangle.cpp972 llvm::integerPart hexDigit in mangleFloat() local
974 hexDigit >>= (digitBitIndex % llvm::integerPartWidth); in mangleFloat()
975 hexDigit &= 0xF; in mangleFloat()
982 buffer[stringIndex] = charForHex[hexDigit]; in mangleFloat()
/external/swiftshader/third_party/LLVM/lib/Support/
DAPFloat.cpp324 unsigned int hexDigit; in trailingHexadecimalFraction() local
339 hexDigit = hexDigitValue(*p); in trailingHexadecimalFraction()
343 if (hexDigit == -1U) in trailingHexadecimalFraction()
/external/llvm/lib/Support/
DAPFloat.cpp316 unsigned int hexDigit; in trailingHexadecimalFraction() local
331 hexDigit = hexDigitValue(*p); in trailingHexadecimalFraction()
335 if (hexDigit == -1U) in trailingHexadecimalFraction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPFloat.cpp391 unsigned int hexDigit; in trailingHexadecimalFraction() local
406 hexDigit = hexDigitValue(*p); in trailingHexadecimalFraction()
410 if (hexDigit == -1U) in trailingHexadecimalFraction()
/external/owasp/sanitizer/distrib/lib/
Dowasp-java-html-sanitizer.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/owasp/ org/ ...
/external/error_prone/javac/
Djavac-9+181-r4173-1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...