Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 9 of 9) sorted by relevance

/lvgl-3.7.0/src/extra/libs/fsdrv/
Dlv_fs_littlefs.c38 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
221 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence) in fs_seek() argument
225 int lfs_whence = whence == LV_FS_SEEK_SET ? LFS_SEEK_SET in fs_seek()
226 : whence == LV_FS_SEEK_CUR ? LFS_SEEK_CUR in fs_seek()
227 : whence == LV_FS_SEEK_END ? LFS_SEEK_END : 0; in fs_seek()
Dlv_fs_win32.c39 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
291 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence) in fs_seek() argument
296 if(whence == LV_FS_SEEK_SET) { in fs_seek()
299 else if(whence == LV_FS_SEEK_CUR) { in fs_seek()
302 else if(whence == LV_FS_SEEK_END) { in fs_seek()
Dlv_fs_fatfs.c35 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
185 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence) in fs_seek() argument
188 switch(whence) { in fs_seek()
Dlv_fs_posix.c41 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
175 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence) in fs_seek() argument
178 off_t offset = lseek((lv_uintptr_t)file_p, pos, whence); in fs_seek()
Dlv_fs_stdio.c44 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
177 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence) in fs_seek() argument
180 fseek(file_p, pos, whence); in fs_seek()
/lvgl-3.7.0/src/misc/
Dlv_fs.h78 …fs_res_t (*seek_cb)(struct _lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
191 lv_fs_res_t lv_fs_seek(lv_fs_file_t * file_p, uint32_t pos, lv_fs_whence_t whence);
Dlv_fs.c245 lv_fs_res_t lv_fs_seek(lv_fs_file_t * file_p, uint32_t pos, lv_fs_whence_t whence) in lv_fs_seek() argument
257 switch(whence) { in lv_fs_seek()
280 res = file_p->drv->seek_cb(file_p->drv, file_p->file_d, pos, whence); in lv_fs_seek()
294 res = file_p->drv->seek_cb(file_p->drv, file_p->file_d, pos, whence); in lv_fs_seek()
/lvgl-3.7.0/examples/porting/
Dlv_port_fs_template.c32 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
187 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence)
/lvgl-3.7.0/docs/
DCHANGELOG.md1038 - fix(gif) unified whence and remove off_t [`2690`](https://github.com/lvgl/lvgl/pull/2690)