Lines Matching refs:dir_p
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()
448 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p) in fs_dir_close() argument
451 dir_handle_t * handle = (dir_handle_t *)dir_p; in fs_dir_close()
452 lv_fs_res_t res = FindClose(handle->dir_p) in fs_dir_close()