Home | History | Annotate | Download | only in intltest

Lines Matching defs:hex

14 static const UChar HEX[16]={48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70};
19 buf.append(HEX[0xF&(ch>>20)]);
21 buf.append(HEX[0xF&(ch>>16)]);
23 buf.append(HEX[0xF&(ch>>12)]);
24 buf.append(HEX[0xF&(ch>>8)]);
25 buf.append(HEX[0xF&(ch>>4)]);
26 buf.append(HEX[0xF&ch]);
30 UnicodeString TestUtility::hex(UChar32 ch) {
36 UnicodeString TestUtility::hex(const UnicodeString& s) {
37 return hex(s, 44 /*,*/);
40 UnicodeString TestUtility::hex(const UnicodeString& s, UChar sep) {
54 UnicodeString TestUtility::hex(const uint8_t* bytes, int32_t len) {
57 buf.append(HEX[0x0F & (bytes[i] >> 4)]);
58 buf.append(HEX[0x0F & bytes[i]]);