Home
last modified time | relevance | path

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

/external/turbine/java/com/google/turbine/parse/
DUnicodeEscapePreprocessor.java79 char acc = (char) ((hexDigit(ch) & 0xff) << 12); in unicodeEscape()
81 acc |= (char) ((hexDigit(ch) & 0xff) << 8); in unicodeEscape()
83 acc |= (char) ((hexDigit(ch) & 0xff) << 4); in unicodeEscape()
85 acc |= (char) (hexDigit(ch) & 0xff); in unicodeEscape()
91 private int hexDigit(char d) { in hexDigit() method in UnicodeEscapePreprocessor
/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/icu/icu4c/source/test/intltest/
Ditspoof.cpp328 int hexDigit = (c>>bitNum) & 0x0f; in appendHexUChar() local
329 if (hexDigit != 0 || doZeroes) { in appendHexUChar()
331 dest.append((UChar)(hexDigit<=9? hexDigit + 0x30: hexDigit -10 + 0x41)); in appendHexUChar()
Dconvtest.cpp939 hexDigit(uint8_t digit) { in hexDigit() function
950 *out++=hexDigit((uint8_t)(b>>4)); in printBytes()
951 *out++=hexDigit((uint8_t)(b&0xf)); in printBytes()
958 *out++=hexDigit((uint8_t)(b>>4)); in printBytes()
959 *out++=hexDigit((uint8_t)(b&0xf)); in printBytes()
980 *out++=hexDigit((uint8_t)((c>>16)&0xf)); in printUnicode()
982 *out++=hexDigit((uint8_t)((c>>12)&0xf)); in printUnicode()
983 *out++=hexDigit((uint8_t)((c>>8)&0xf)); in printUnicode()
984 *out++=hexDigit((uint8_t)((c>>4)&0xf)); in printUnicode()
985 *out++=hexDigit((uint8_t)(c&0xf)); in printUnicode()
/external/javapoet/
DREADME.md425 result[0] = hexDigit((b >>> 4) & 0xf);
426 result[1] = hexDigit(b & 0xf);
430 public char hexDigit(int i) {
435 When generating the code above, we pass the `hexDigit()` method as an argument to the `byteToHex()`
439 MethodSpec hexDigit = MethodSpec.methodBuilder("hexDigit")
449 .addStatement("result[0] = $N((b >>> 4) & 0xf)", hexDigit)
450 .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/okhttp/src/main/java/com/squareup/okhttp/
DHttpUrl.java1332 int hexDigit = decodeHexDigit(c);
1333 if (hexDigit == -1) break;
1334 value = (value << 4) + hexDigit;
/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/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp111 hexDigit(uint8_t digit) { in hexDigit() function
119 *s++=hexDigit((uint8_t)(*bytes>>4)); in printBytes()
120 *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/llvm/lib/Support/
DAPFloat.cpp316 unsigned int hexDigit; in trailingHexadecimalFraction() local
331 hexDigit = hexDigitValue(*p); in trailingHexadecimalFraction()
335 if (hexDigit == -1U) in trailingHexadecimalFraction()
/external/llvm-project/clang/lib/AST/
DItaniumMangle.cpp1022 uint64_t hexDigit = valueBits.getRawData()[digitBitIndex / 64]; in mangleFloat() local
1023 hexDigit >>= (digitBitIndex % 64); in mangleFloat()
1024 hexDigit &= 0xF; in mangleFloat()
1031 buffer[stringIndex] = charForHex[hexDigit]; in mangleFloat()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPFloat.cpp442 unsigned int hexDigit; in trailingHexadecimalFraction() local
458 hexDigit = hexDigitValue(*p); in trailingHexadecimalFraction()
462 if (hexDigit == -1U) in trailingHexadecimalFraction()
/external/llvm-project/llvm/lib/Support/
DAPFloat.cpp456 unsigned int hexDigit; in trailingHexadecimalFraction() local
472 hexDigit = hexDigitValue(*p); in trailingHexadecimalFraction()
476 if (hexDigit == -1U) in trailingHexadecimalFraction()