Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/fatfs/src/
Dffconf.h158 #define FF_STRF_ENCODE 3 macro
Dff.c6084 #if FF_USE_LFN && FF_LFN_UNICODE && (FF_STRF_ENCODE < 0 || FF_STRF_ENCODE > 3)
6085 #error Wrong FF_STRF_ENCODE setting
6102 #if FF_USE_LFN && FF_LFN_UNICODE && FF_STRF_ENCODE <= 2
6105 #if FF_USE_LFN && FF_LFN_UNICODE && FF_STRF_ENCODE == 3
6111 if (FF_LFN_UNICODE == 1) len -= (FF_STRF_ENCODE == 0) ? 1 : 2;
6112 if (FF_LFN_UNICODE == 2) len -= (FF_STRF_ENCODE == 0) ? 3 : 4;
6115 #if FF_STRF_ENCODE == 0 /* Read a character in ANSI/OEM */
6126 #elif FF_STRF_ENCODE == 1 || FF_STRF_ENCODE == 2 /* Read a character in UTF-16LE/BE */
6129 dc = (FF_STRF_ENCODE == 1) ? ld_word(s) : s[0] << 8 | s[1];
6134 wc = (FF_STRF_ENCODE == 1) ? ld_word(s) : s[0] << 8 | s[1];
[all …]