Lines Matching refs:lfn

545 #define DEF_NAMBUF		WCHAR *lfn;	/* Pointer to LFN working buffer and directory entry block scratchp…
546 …{ lfn = ff_memalloc((FF_MAX_LFN+1)*2 + MAXDIRB(FF_MAX_LFN)); if (!lfn) LEAVE_FF(fs, FR_NOT_ENOUGH_…
547 #define FREE_NAMBUF() ff_memfree(lfn)
549 #define DEF_NAMBUF WCHAR *lfn; /* Pointer to LFN working buffer */
550 #define INIT_NAMBUF(fs) { lfn = ff_memalloc((FF_MAX_LFN+1)*2); if (!lfn) LEAVE_FF(fs, FR_NOT_ENOUGH…
551 #define FREE_NAMBUF() ff_memfree(lfn)
1978 const WCHAR* lfn, /* Pointer to the LFN */ argument
1996 if (chr != 0xFFFF) chr = lfn[ni++]; /* Get an effective character */
2000 if (chr == 0xFFFF || !lfn[ni]) ord |= LLEF; /* Last LFN part is the start of an enrty set */
2017 const WCHAR* lfn, /* Pointer to LFN */ argument
2031 while (*lfn) { /* Create a CRC value as a hash of LFN */
2032 wc = *lfn++;
2283 const WCHAR* lfn /* Pointer to the object name */ argument
2302 if (chr != 0 && (chr = lfn[nlen]) != 0) nlen++; /* Get a character if exist */
2307 } while (lfn[nlen]); /* Fill next C1 entry if any char follows */
2311 st_word(dirb + XDIR_NameHash, xname_sum(lfn)); /* Set name hash */
2877 WCHAR *lfn; local
2884 p = *path; lfn = dp->obj.fs->lfnbuf; di = 0;
2888 if (uc >= 0x10000) lfn[di++] = (WCHAR)(uc >> 16); /* Store high surrogate if needed */
2893 lfn[di++] = wc; /* Store the Unicode character */
2905 if ((di == 1 && lfn[di - 1] == '.') ||
2906 (di == 2 && lfn[di - 1] == '.' && lfn[di - 2] == '.')) { /* Is this segment a dot name? */
2907 lfn[di] = 0;
2916 wc = lfn[di - 1];
2920 lfn[di] = 0; /* LFN is created into the working buffer */
2924 for (si = 0; lfn[si] == ' '; si++) ; /* Remove leading spaces */
2925 if (si > 0 || lfn[si] == '.') cf |= NS_LOSS | NS_LFN; /* Is there any leading space or dot? */
2926 while (di > 0 && lfn[di - 1] != '.') di--; /* Find last dot (di<=si: no extension) */
2931 wc = lfn[si++]; /* Get an LFN character */