Lines Matching refs:ni
2428 UINT di, ni; local
2436 …for (nc = fs->dirbuf[XDIR_NumName], di = SZDIRE * 2, ni = 0; nc; nc--, di += 2, ni++) { /* Compare…
2438 if (ff_wtoupper(ld_word(fs->dirbuf + di)) != ff_wtoupper(fs->lfnbuf[ni])) break;
2440 if (nc == 0 && !fs->lfnbuf[ni]) break; /* Name matched? */
2838 UINT i, ni, si, di; local
2883 i = b = 0; ni = 8;
2892 if (i >= ni || si == di) { /* End of field? */
2893 if (ni == 11) { /* Name extension overflow? */
2899 si = di; i = 8; ni = 11; b <<= 2; /* Enter name extension */
2921 if (i >= ni - 1) { /* Field overflow? */
2923 i = ni; continue; /* Next field */
2943 if (ni == 8) b <<= 2; /* Shift capital flags if no extension */
2957 UINT ni, si, i;
2963 si = i = 0; ni = 8;
2984 if (c == '.' || i >= ni) { /* End of body or field overflow? */
2985 if (ni == 11 || c != '.') return FR_INVALID_NAME; /* Field overflow or invalid dot? */
2986 i = 8; ni = 11; /* Enter file extension field */
3000 if (!dbc_2nd(d) || i >= ni - 1) return FR_INVALID_NAME; /* Reject invalid DBC */