Home
last modified time | relevance | path

Searched refs:uc (Results 1 – 2 of 2) sorted by relevance

/fatfs-2.7.6/option/
Dffunicode.c15228 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() local
15290 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() local
15373 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 …]
/fatfs-2.7.6/
Dff.c736 DWORD uc; in tchar2uni() local
742 uc = *p++; /* Get a unit */ in tchar2uni()
743 if (IsSurrogate(uc)) { /* Surrogate? */ in tchar2uni()
745 if (!IsSurrogateH(uc) || !IsSurrogateL(wc)) return 0xFFFFFFFF; /* Wrong surrogate? */ in tchar2uni()
746 uc = uc << 16 | wc; in tchar2uni()
753 uc = (BYTE)*p++; /* Get an encoding unit */ in tchar2uni()
754 if (uc & 0x80) { /* Multiple byte code? */ in tchar2uni()
755 if ((uc & 0xE0) == 0xC0) { /* 2-byte sequence? */ in tchar2uni()
756 uc &= 0x1F; nf = 1; in tchar2uni()
757 } else if ((uc & 0xF0) == 0xE0) { /* 3-byte sequence? */ in tchar2uni()
[all …]