Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/fatfs/src/
Dffunicode.c15232 const WCHAR *p = CVTBL(uc, FF_CODE_PAGE); in ff_uni2oem()
15254 const WCHAR *p = CVTBL(uc, FF_CODE_PAGE); in ff_oem2uni()
15285 WCHAR c = 0, uc; in ff_uni2oem() local
15294 uc = (WCHAR)uni; in ff_uni2oem()
15300 if (uc == p[i * 2]) break; in ff_uni2oem()
15301 if (uc > p[i * 2]) { in ff_uni2oem()
15368 WCHAR c = 0, uc; in ff_uni2oem() local
15377 uc = (WCHAR)uni; in ff_uni2oem()
15383 for (c = 0; c < 0x80 && uc != p[c]; c++) ; /* Find OEM code in the table */ in ff_uni2oem()
15397 if (uc == p[i * 2]) break; in ff_uni2oem()
[all …]
Dff.c749 DWORD uc; in tchar2uni() local
755 uc = *p++; /* Get a unit */ in tchar2uni()
756 if (IsSurrogate(uc)) { /* Surrogate? */ in tchar2uni()
758 if (!IsSurrogateH(uc) || !IsSurrogateL(wc)) return 0xFFFFFFFF; /* Wrong surrogate? */ in tchar2uni()
759 uc = uc << 16 | wc; in tchar2uni()
766 uc = (BYTE)*p++; /* Get a unit */ in tchar2uni()
767 if (uc & 0x80) { /* Multiple byte code? */ in tchar2uni()
768 if ((uc & 0xE0) == 0xC0) { /* 2-byte sequence? */ in tchar2uni()
769 uc &= 0x1F; nf = 1; in tchar2uni()
771 if ((uc & 0xF0) == 0xE0) { /* 3-byte sequence? */ in tchar2uni()
[all …]