Lines Matching refs:ch
16 UnicodeString &TestUtility::appendHex(UnicodeString &buf, UChar32 ch) {
17 if (ch >= 0x10000) {
18 if (ch >= 0x100000) {
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) {
32 appendHex(buf, ch);