Lines Matching refs:FF_STRF_ENCODE
6084 #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];
6301 #if FF_STRF_ENCODE == 1 /* Write a character in UTF-16LE */
6309 #elif FF_STRF_ENCODE == 2 /* Write a character in UTF-16BE */
6317 #elif FF_STRF_ENCODE == 3 /* Write it in UTF-8 */