Searched refs:fptr (Results 1 – 2 of 2) sorted by relevance
3802 fp->fptr = 0; /* Set file pointer top of the file */3808 fp->fptr = fp->obj.objsize; /* Offset to seek */3870 remain = fp->obj.objsize - fp->fptr;3873 …for ( ; btr > 0; btr -= rcnt, *br += rcnt, rbuff += rcnt, fp->fptr += rcnt) { /* Repeat until btr …3874 if (fp->fptr % SS(fs) == 0) { /* On the sector boundary? */3875 csect = (UINT)(fp->fptr / SS(fs) & (fs->csize - 1)); /* Sector offset in the cluster */3877 if (fp->fptr == 0) { /* On the top of the file? */3882 clst = clmt_clust(fp, fp->fptr); /* Get cluster# from the CLMT */3929 rcnt = SS(fs) - (UINT)fp->fptr % SS(fs); /* Number of bytes remains in the sector */3933 memcpy(rbuff, fs->win + fp->fptr % SS(fs), rcnt); /* Extract partial sector */[all …]
210 FSIZE_t fptr; /* File read/write pointer (Zeroed on file open) */ member340 #define f_eof(fp) ((int)((fp)->fptr == (fp)->obj.objsize))342 #define f_tell(fp) ((fp)->fptr)