Lines Matching refs:buf
24 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b…
25 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3…
85 char buf[LV_FS_MAX_PATH_LEN]; in fs_open() local
86 lv_snprintf(buf, sizeof(buf), LV_FS_LITTLEFS_PATH "%s", path); in fs_open()
89 int err = lfs_file_open(lfs, &lf->file, buf, flags); in fs_open()
123 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
128 *br = lfs_file_read(lfs, &lf->file, (uint8_t *)buf, btr); in fs_read()
142 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
147 *bw = lfs_file_write(lfs, &lf->file, (uint8_t *)buf, btw); in fs_write()
206 char buf[LV_FS_MAX_PATH_LEN]; in fs_dir_open() local
207 lv_snprintf(buf, sizeof(buf), LV_FS_LITTLEFS_PATH "%s", path); in fs_dir_open()
210 int err = lfs_dir_open(lfs, &ld->dir, buf); in fs_dir_open()