Home
last modified time | relevance | path

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

/fatfs-latest/
Dff.c746 WCHAR wc; in tchar2uni() local
750 wc = *p++; /* Get low surrogate */ in tchar2uni()
751 if (!IsSurrogateH(uc) || !IsSurrogateL(wc)) return 0xFFFFFFFF; /* Wrong surrogate? */ in tchar2uni()
752 uc = uc << 16 | wc; in tchar2uni()
786 WCHAR wc; in tchar2uni() local
788 wc = (BYTE)*p++; /* Get a byte */ in tchar2uni()
789 if (dbc_1st((BYTE)wc)) { /* Is it a DBC 1st byte? */ in tchar2uni()
792 wc = (wc << 8) + sb; /* Make a DBC */ in tchar2uni()
794 if (wc != 0) { in tchar2uni()
795 wc = ff_oem2uni(wc, CODEPAGE); /* ANSI/OEM ==> Unicode */ in tchar2uni()
[all …]