Lines Matching refs:buf
42 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b…
43 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3…
116 char buf[MAX_PATH_LEN]; in fs_open() local
117 lv_snprintf(buf, sizeof(buf), LV_FS_STDIO_PATH "%s", path); in fs_open()
119 return fopen(buf, flags); in fs_open()
146 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
149 *br = fread(buf, 1, btr, file_p); in fs_read()
162 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
165 *bw = fwrite(buf, 1, btw, file_p); in fs_write()
211 char buf[MAX_PATH_LEN]; in fs_dir_open() local
212 lv_snprintf(buf, sizeof(buf), LV_FS_STDIO_PATH "%s", path); in fs_dir_open()
213 handle->dir_p = opendir(buf); in fs_dir_open()
224 char buf[MAX_PATH_LEN]; in fs_dir_open() local
225 lv_snprintf(buf, sizeof(buf), LV_FS_STDIO_PATH "%s\\*", path); in fs_dir_open()
228 handle->dir_p = FindFirstFileA(buf, &fdata); in fs_dir_open()