Home
last modified time | relevance | path

Searched refs:bc (Results 1 – 2 of 2) sorted by relevance

/fatfs-2.7.6/option/
Dffunicode.c15469 WORD uc, bc, nc, cmd; in ff_wtoupper() local
15567 bc = *p++; /* Get the block base */ in ff_wtoupper()
15568 if (bc == 0 || uc < bc) break; /* Not matched? */ in ff_wtoupper()
15570 if (uc < bc + nc) { /* In the block? */ in ff_wtoupper()
15572 case 0: uc = p[uc - bc]; break; /* Table conversion */ in ff_wtoupper()
15573 case 1: uc -= (uc - bc) & 1; break; /* Case pairs */ in ff_wtoupper()
/fatfs-2.7.6/
Dff.c1136 UINT wc, bc; in get_fat() local
1149 bc = (UINT)clst; bc += bc / 2; in get_fat()
1150 if (move_window(fs, fs->fatbase + (bc / SS(fs))) != FR_OK) break; in get_fat()
1151 wc = fs->win[bc++ % SS(fs)]; /* Get 1st byte of the entry */ in get_fat()
1152 if (move_window(fs, fs->fatbase + (bc / SS(fs))) != FR_OK) break; in get_fat()
1153 wc |= fs->win[bc % SS(fs)] << 8; /* Merge 2nd byte of the entry */ in get_fat()
1215 UINT bc; in put_fat() local
1223 bc = (UINT)clst; bc += bc / 2; /* bc: byte offset of the entry */ in put_fat()
1224 res = move_window(fs, fs->fatbase + (bc / SS(fs))); in put_fat()
1226 p = fs->win + bc++ % SS(fs); in put_fat()
[all …]