Home
last modified time | relevance | path

Searched refs:dir_p (Results 1 – 4 of 4) sorted by relevance

/lvgl-3.4.0/src/extra/libs/fsdrv/
Dlv_fs_posix.c45 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn);
46 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p);
254 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn) in fs_dir_read() argument
261 entry = readdir(dir_p); in fs_dir_read()
276 if(FindNextFile(dir_p, &fdata) == false) return LV_FS_RES_OK; in fs_dir_read()
290 } while(FindNextFile(dir_p, &fdata)); in fs_dir_read()
302 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p) in fs_dir_close() argument
306 closedir(dir_p); in fs_dir_close()
308 FindClose(dir_p); in fs_dir_close()
Dlv_fs_stdio.c39 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn);
40 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p);
246 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn) in fs_dir_read() argument
253 entry = readdir(dir_p); in fs_dir_read()
268 if(FindNextFile(dir_p, &fdata) == false) return LV_FS_RES_OK; in fs_dir_read()
282 } while(FindNextFile(dir_p, &fdata)); in fs_dir_read()
294 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p) in fs_dir_close() argument
298 closedir(dir_p); in fs_dir_close()
300 FindClose(dir_p); in fs_dir_close()
Dlv_fs_fatfs.c38 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn);
39 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p);
247 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn) in fs_dir_read() argument
255 res = f_readdir(dir_p, &fno); in fs_dir_read()
275 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p) in fs_dir_close() argument
278 f_closedir(dir_p); in fs_dir_close()
279 lv_mem_free(dir_p); in fs_dir_close()
Dlv_fs_win32.c37 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn);
38 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p);
401 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn) in fs_dir_read() argument
412 while(FindNextFileA(dir_p, &fdata)) { in fs_dir_read()
440 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p) in fs_dir_close() argument
443 return FindClose((HANDLE)dir_p) in fs_dir_close()