Lines Matching refs:buf
46 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b…
47 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3…
119 char buf[LV_FS_MAX_PATH_LEN]; in fs_open() local
120 lv_snprintf(buf, sizeof(buf), LV_FS_STDIO_PATH "%s", path); in fs_open()
122 return fopen(buf, flags); in fs_open()
149 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
152 *br = fread(buf, 1, btr, file_p); in fs_read()
165 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
168 *bw = fwrite(buf, 1, btw, file_p); in fs_write()
229 char buf[LV_FS_MAX_PATH_LEN]; in fs_dir_open() local
230 lv_snprintf(buf, sizeof(buf), LV_FS_STDIO_PATH "%s", path); in fs_dir_open()
231 handle->dir_p = opendir(buf); in fs_dir_open()
242 char buf[LV_FS_MAX_PATH_LEN]; in fs_dir_open() local
243 lv_snprintf(buf, sizeof(buf), LV_FS_STDIO_PATH "%s\\*", path); in fs_dir_open()
246 handle->dir_p = FindFirstFileA(buf, &fdata); in fs_dir_open()