Lines Matching refs:buf
37 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b…
38 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3…
220 char buf[MAX_PATH]; in fs_open() local
221 lv_snprintf(buf, sizeof(buf), LV_FS_WIN32_PATH "%s", path); in fs_open()
224 buf, in fs_open()
258 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b… in fs_read() argument
261 return ReadFile((HANDLE)file_p, buf, btr, (LPDWORD)br, NULL) in fs_read()
275 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3… in fs_write() argument
278 return WriteFile((HANDLE)file_p, buf, btw, (LPDWORD)bw, NULL) in fs_write()
367 char buf[MAX_PATH_LEN]; in fs_dir_open() local
369 lv_snprintf(buf, sizeof(buf), LV_FS_WIN32_PATH "%s\\*", path); in fs_dir_open()
371 lv_snprintf(buf, sizeof(buf), "%s\\*", path); in fs_dir_open()
375 handle->dir_p = FindFirstFileA(buf, &fdata); in fs_dir_open()