Searched refs:dir_p (Results 1 – 5 of 5) sorted by relevance
/lvgl-3.7.0/src/extra/libs/fsdrv/ |
D | lv_fs_stdio.c | 30 HANDLE dir_p; member 33 DIR * dir_p; 47 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn); 48 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p); 213 handle->dir_p = opendir(buf); in fs_dir_open() 214 if(handle->dir_p == NULL) { in fs_dir_open() 220 handle->dir_p = INVALID_HANDLE_VALUE; in fs_dir_open() 228 handle->dir_p = FindFirstFileA(buf, &fdata); in fs_dir_open() 242 } while(FindNextFileA(handle->dir_p, &fdata)); in fs_dir_open() 244 if(handle->dir_p == INVALID_HANDLE_VALUE) { in fs_dir_open() [all …]
|
D | lv_fs_win32.c | 24 HANDLE dir_p; member 42 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn); 43 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p); 362 handle->dir_p = INVALID_HANDLE_VALUE; in fs_dir_open() 375 handle->dir_p = FindFirstFileA(buf, &fdata); in fs_dir_open() 389 } while(FindNextFileA(handle->dir_p, &fdata)); in fs_dir_open() 391 if(handle->dir_p == INVALID_HANDLE_VALUE) { in fs_dir_open() 410 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn) in fs_dir_read() argument 413 dir_handle_t * handle = (dir_handle_t *)dir_p; in fs_dir_read() 420 while(FindNextFileA(handle->dir_p, &fdata)) { in fs_dir_read() [all …]
|
D | lv_fs_posix.c | 44 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn); 45 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()
|
D | lv_fs_fatfs.c | 38 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()
|
D | lv_fs_littlefs.c | 42 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn); 43 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p); 264 lfs_dir_t * dir_p = lv_mem_alloc(sizeof(lfs_dir_t)); in fs_dir_open() local 265 if(dir_p == NULL) return NULL; in fs_dir_open() 267 int result = lfs_dir_open(lfs_p, dir_p, path); in fs_dir_open() 269 lv_mem_free(dir_p); in fs_dir_open() 273 return dir_p; in fs_dir_open()
|