Home
last modified time | relevance | path

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

/fatfs-2.7.6/include/
Dffconf.h69 #define FF_STRF_ENCODE 0 macro
/fatfs-2.7.6/
Dff.c6331 #if FF_USE_LFN && FF_LFN_UNICODE && (FF_STRF_ENCODE < 0 || FF_STRF_ENCODE > 3)
6332 #error Wrong FF_STRF_ENCODE setting
6349 #if FF_USE_LFN && FF_LFN_UNICODE && FF_STRF_ENCODE <= 2
6352 #if FF_USE_LFN && FF_LFN_UNICODE && FF_STRF_ENCODE == 3
6358 if (FF_LFN_UNICODE == 1) len -= (FF_STRF_ENCODE == 0) ? 1 : 2;
6359 if (FF_LFN_UNICODE == 2) len -= (FF_STRF_ENCODE == 0) ? 3 : 4;
6362 #if FF_STRF_ENCODE == 0 /* Read a character in ANSI/OEM */
6373 #elif FF_STRF_ENCODE == 1 || FF_STRF_ENCODE == 2 /* Read a character in UTF-16LE/BE */
6376 dc = (FF_STRF_ENCODE == 1) ? ld_word(s) : s[0] << 8 | s[1];
6381 wc = (FF_STRF_ENCODE == 1) ? ld_word(s) : s[0] << 8 | s[1];
[all …]