Lines Matching defs:lfn
1704 const WCHAR* lfn, /* Pointer to the LFN */
1722 if (wc != 0xFFFF) wc = lfn[i++]; /* Get an effective character */
1726 if (wc == 0xFFFF || !lfn[i]) ord |= LLEF; /* Last LFN part is the start of LFN sequence */
1743 const WCHAR* lfn, /* Pointer to LFN */
1757 while (*lfn) { /* Create a CRC as hash value */
1758 wc = *lfn++;
2006 for (nlen = 0; dp->obj.fs->lfnbuf[nlen]; nlen++) ; /* Get lfn length */
2007 nent = (dp->fn[NSFLAG] & NS_LFN) ? (nlen + 12) / 13 + 1 : 1; /* Number of entries of the lfn */
2033 for (len = 0; fs->lfnbuf[len]; len++) ; /* Get lfn length */
2356 WCHAR *lfn;
2363 p = *path; lfn = dp->obj.fs->lfnbuf; di = 0;
2367 if (uc >= 0x10000) lfn[di++] = (WCHAR)(uc >> 16); /* Store high surrogate if needed */
2372 lfn[di++] = wc; /* Store the Unicode character */
2384 if ((di == 1 && lfn[di - 1] == '.') ||
2385 (di == 2 && lfn[di - 1] == '.' && lfn[di - 2] == '.')) { /* Is this segment a dot name? */
2386 lfn[di] = 0;
2395 wc = lfn[di - 1];
2399 lfn[di] = 0; /* LFN is created into the working buffer */
2403 for (si = 0; lfn[si] == ' '; si++) ; /* Remove leading spaces */
2404 if (si > 0 || lfn[si] == '.') cf |= NS_LOSS | NS_LFN; /* Is there any leading space or dot? */
2405 while (di > 0 && lfn[di - 1] != '.') di--; /* Find last dot (di<=si: no extension) */
2410 wc = lfn[si++]; /* Get an LFN character */