Lines Matching refs:lfnbuf
529 #define INIT_NAMBUF(fs) { (fs)->lfnbuf = lbuf; (fs)->dirbuf = dbuf; }
533 #define INIT_NAMBUF(fs) { (fs)->lfnbuf = lbuf; }
541 … MAXDIRB(FF_MAX_LFN)); if (!lfn) LEAVE_FF(fs, FR_NOT_ENOUGH_CORE); (fs)->lfnbuf = lfn; (fs)->dirbu…
545 … = ff_memalloc((FF_MAX_LFN+1)*2); if (!lfn) LEAVE_FF(fs, FR_NOT_ENOUGH_CORE); (fs)->lfnbuf = lfn; }
1855 const WCHAR* lfnbuf, /* Pointer to the LFN working buffer to be compared */ argument
1870 if (i >= FF_MAX_LFN + 1 || ff_wtoupper(uc) != ff_wtoupper(lfnbuf[i++])) { /* Compare it */
1879 …if ((dir[LDIR_Ord] & LLEF) && wc && lfnbuf[i]) return 0; /* Last segment matched but different len…
1891 WCHAR* lfnbuf, /* Pointer to the LFN working buffer */ argument
1907 lfnbuf[i++] = wc = uc; /* Store it */
1915 lfnbuf[i] = 0;
2323 … ord = (b == ord && sum == dp->dir[LDIR_Chksum] && pick_lfn(fs->lfnbuf, dp->dir)) ? ord - 1 : 0xFF;
2370 WORD hash = xname_sum(fs->lfnbuf); /* Hash value of the name to find */
2379 if (ff_wtoupper(ld_word(fs->dirbuf + di)) != ff_wtoupper(fs->lfnbuf[ni])) break;
2381 if (nc == 0 && !fs->lfnbuf[ni]) break; /* Name matched? */
2408 … ord = (c == ord && sum == dp->dir[LDIR_Chksum] && cmp_lfn(fs->lfnbuf, dp->dir)) ? ord - 1 : 0xFF;
2446 for (len = 0; fs->lfnbuf[len]; len++) ; /* Get lfn length */
2475 create_xdir(fs->dirbuf, fs->lfnbuf); /* Create on-memory directory block to be written later */
2484 gen_numname(dp->fn, sn, fs->lfnbuf, n); /* Generate a numbered name */
2503 put_lfn(fs->lfnbuf, dp->dir, (BYTE)n_ent, sum);
2640 while (fs->lfnbuf[si] != 0) {
2641 wc = fs->lfnbuf[si++]; /* Get an LFN character (UTF-16) */
2815 p = *path; lfn = dp->obj.fs->lfnbuf; di = 0;
3540 fs->lfnbuf = LfnBuf; /* Static LFN working buffer */