Lines Matching refs:si

2644 	UINT si, di;  local
2663 si = SZDIRE * 2; di = 0; /* 1st C1 entry in the entry block */
2666 if (si >= MAXDIRB(FF_MAX_LFN)) { /* Truncated directory block? */
2669 if ((si % SZDIRE) == 0) si += 2; /* Skip entry type field */
2670 wc = ld_word(fs->dirbuf + si); si += 2; nc++; /* Get a character */
2695 si = di = 0;
2697 while (fs->lfnbuf[si] != 0) {
2698 wc = fs->lfnbuf[si++]; /* Get an LFN character (UTF-16) */
2714 si = di = 0;
2715 while (si < 11) { /* Get SFN from SFN entry */
2716 wc = dp->dir[si++]; /* Get a char */
2719 if (si == 9 && di < FF_SFN_BUF) fno->altname[di++] = '.'; /* Insert a . if extension is exist */
2721 if (dbc_1st((BYTE)wc) && si != 8 && si != 11 && dbc_2nd(dp->dir[si])) { /* Make a DBC if needed */
2722 wc = wc << 8 | dp->dir[si++];
2743 …for (si = di = 0, lcf = NS_BODY; fno->altname[si]; si++, di++) { /* Copy altname[] to fname[] with…
2744 wc = (WCHAR)fno->altname[si];
2755 si = di = 0;
2756 while (si < 11) { /* Copy name body and extension */
2757 c = (TCHAR)dp->dir[si++];
2760 if (si == 9) fno->fname[di++] = '.';/* Insert a . if extension is exist */
2880 UINT i, ni, si, di; local
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? */
2931 wc = lfn[si++]; /* Get an LFN character */
2933 if (wc == ' ' || (wc == '.' && si != di)) { /* Remove embedded spaces and dots */
2938 if (i >= ni || si == di) { /* End of field? */
2943 if (si != di) cf |= NS_LOSS | NS_LFN; /* Name body overflow? */
2944 if (si > di) break; /* No name extension? */
2945 si = di; i = 8; ni = 11; b <<= 2; /* Enter name extension */
3004 UINT ni, si, i;
3010 si = i = 0; ni = 8;
3012 if (p[si] == '.') { /* Is this a dot entry? */
3014 c = (BYTE)p[si++];
3015 if (c != '.' || si >= 3) break;
3019 *path = p + si; /* Return pointer to the next segment */
3025 c = (BYTE)p[si++]; /* Get a byte */
3028 while (IsSeparator(p[si])) si++; /* Skip duplicated separator if exist */
3046 d = (BYTE)p[si++]; /* Get 2nd byte */
3056 *path = &p[si]; /* Return pointer to the next segment */
3060 …sfn[NSFLAG] = (c <= ' ' || p[si] <= ' ') ? NS_LAST : 0; /* Set last segment flag if end of the pat…
5368 UINT si, di; local
5386 …for (si = di = hs = 0; si < dj.dir[XDIR_NumLabel]; si++) { /* Extract volume label from 83 entry */
5387 wc = ld_word(dj.dir + XDIR_Label + si * 2);
5403 si = di = 0; /* Extract volume label from AM_VOL entry */
5404 while (si < 11) {
5405 wc = dj.dir[si++];
5407 if (dbc_1st((BYTE)wc) && si < 11) wc = wc << 8 | dj.dir[si++]; /* Is it a DBC? */
5776 UINT sz_ptbl, pi, si, ofs; local
5794 pi = si = 0; /* partition table index, map index */
5799 sz_part = plst[si++]; /* Get a partition size */
6045 WCHAR ch, si; local
6073 st = 0; si = 0; i = 0; j = 0; szb_case = 0;
6077 ch = (WCHAR)ff_wtoupper(si); /* Get an up-case char */
6078 if (ch != si) {
6079 si++; break; /* Store the up-case char if exist */
6081 …for (j = 1; (WCHAR)(si + j) && (WCHAR)(si + j) == ff_wtoupper((WCHAR)(si + j)); j++) ; /* Get run …
6088 ch = si++; /* Fill the short run */
6093 ch = (WCHAR)j; si += (WCHAR)j; /* Number of chars to skip */
6099 if (si == 0 || i == sz_buf * ss) { /* Write buffered data when buffer full or end of process */
6104 } while (si);