Home
last modified time | relevance | path

Searched refs:fptr (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/components/fatfs/src/
Dff.c3693 fp->fptr = 0; /* Set file pointer top of the file */
3699 fp->fptr = fp->obj.objsize; /* Offset to seek */
3756 remain = fp->obj.objsize - fp->fptr;
3760 btr -= rcnt, *br += rcnt, rbuff += rcnt, fp->fptr += rcnt) {
3761 if (fp->fptr % SS(fs) == 0) { /* On the sector boundary? */
3762 csect = (UINT)(fp->fptr / SS(fs) & (fs->csize - 1)); /* Sector offset in the cluster */
3764 if (fp->fptr == 0) { /* On the top of the file? */
3769 clst = clmt_clust(fp, fp->fptr); /* Get cluster# from the CLMT */
3816 rcnt = SS(fs) - (UINT)fp->fptr % SS(fs); /* Number of bytes left in the sector */
3820 mem_cpy(rbuff, fs->win + fp->fptr % SS(fs), rcnt); /* Extract partial sector */
[all …]
Dff.h200 FSIZE_t fptr; /* File read/write pointer (Zeroed on file open) */ member
318 #define f_eof(fp) ((int)((fp)->fptr == (fp)->obj.objsize))
320 #define f_tell(fp) ((fp)->fptr)
/hal_espressif-3.6.0/tools/test_apps/system/panic/main/
Dtest_panic_main.c166 volatile fptr_t fptr = (fptr_t) 0x4; in test_instr_fetch_prohibited() local
167 fptr(); in test_instr_fetch_prohibited()