Searched refs:fptr (Results 1 – 2 of 2) sorted by relevance
3881 fp->fptr = 0; /* Set file pointer top of the file */3887 fp->fptr = fp->obj.objsize; /* Offset to seek */3949 remain = fp->obj.objsize - fp->fptr;3952 …for ( ; btr > 0; btr -= rcnt, *br += rcnt, rbuff += rcnt, fp->fptr += rcnt) { /* Repeat until btr …3953 if (fp->fptr % SS(fs) == 0) { /* On the sector boundary? */3954 csect = (UINT)(fp->fptr / SS(fs) & (fs->csize - 1)); /* Sector offset in the cluster */3956 if (fp->fptr == 0) { /* On the top of the file? */3961 clst = clmt_clust(fp, fp->fptr); /* Get cluster# from the CLMT */4008 rcnt = SS(fs) - (UINT)fp->fptr % SS(fs); /* Number of bytes remains in the sector */4012 memcpy(rbuff, fs->win + fp->fptr % SS(fs), rcnt); /* Extract partial sector */[all …]
208 FSIZE_t fptr; /* File read/write pointer (Zeroed on file open) */ member342 #define f_eof(fp) ((int)((fp)->fptr == (fp)->obj.objsize))344 #define f_tell(fp) ((fp)->fptr)