Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c740 WCHAR wc; in tchar2uni() local
744 wc = *p++; /* Get low surrogate */ in tchar2uni()
745 if (!IsSurrogateH(uc) || !IsSurrogateL(wc)) return 0xFFFFFFFF; /* Wrong surrogate? */ in tchar2uni()
746 uc = uc << 16 | wc; in tchar2uni()
780 WCHAR wc; in tchar2uni() local
782 wc = (BYTE)*p++; /* Get a byte */ in tchar2uni()
783 if (dbc_1st((BYTE)wc)) { /* Is it a DBC 1st byte? */ in tchar2uni()
786 wc = (wc << 8) + b; /* Make a DBC */ in tchar2uni()
788 if (wc != 0) { in tchar2uni()
789 wc = ff_oem2uni(wc, CODEPAGE); /* ANSI/OEM ==> Unicode */ in tchar2uni()
[all …]