Searched refs:uc (Results 1 – 2 of 2) sorted by relevance
15228 const WCHAR* p = CVTBL(uc, FF_CODE_PAGE); in ff_uni2oem()15250 const WCHAR* p = CVTBL(uc, FF_CODE_PAGE); in ff_oem2uni()15281 WCHAR c = 0, uc; in ff_uni2oem() local15290 uc = (WCHAR)uni; in ff_uni2oem()15296 if (uc == p[i * 2]) break; in ff_uni2oem()15297 if (uc > p[i * 2]) { in ff_uni2oem()15364 WCHAR c = 0, uc; in ff_uni2oem() local15373 uc = (WCHAR)uni; in ff_uni2oem()15379 for (c = 0; c < 0x80 && uc != p[c]; c++) ; /* Find OEM code in the table */ in ff_uni2oem()15393 if (uc == p[i * 2]) break; in ff_uni2oem()[all …]
742 DWORD uc; in tchar2uni() local748 uc = *p++; /* Get an encoding unit */ in tchar2uni()749 if (IsSurrogate(uc)) { /* Surrogate? */ in tchar2uni()751 if (!IsSurrogateH(uc) || !IsSurrogateL(wc)) return 0xFFFFFFFF; /* Wrong surrogate? */ in tchar2uni()752 uc = uc << 16 | wc; in tchar2uni()759 uc = (BYTE)*p++; /* Get an encoding unit */ in tchar2uni()760 if (uc & 0x80) { /* Multiple byte code? */ in tchar2uni()761 if ((uc & 0xE0) == 0xC0) { /* 2-byte sequence? */ in tchar2uni()762 uc &= 0x1F; nf = 1; in tchar2uni()763 } else if ((uc & 0xF0) == 0xE0) { /* 3-byte sequence? */ in tchar2uni()[all …]