/lvgl-3.7.0/examples/porting/ |
D | lv_port_fs_template.c | 29 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p); 30 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b… 31 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3… 32 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence); 33 static lv_fs_res_t fs_size(lv_fs_drv_t * drv, void * file_p, uint32_t * size_p); 34 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p); 37 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * rddir_p, char * fn); 38 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * rddir_p); 108 lv_fs_res_t res = LV_FS_RES_NOT_IMP; 134 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p) [all …]
|
/lvgl-3.7.0/src/misc/ |
D | lv_fs.h | 49 typedef uint8_t lv_fs_res_t; typedef 75 lv_fs_res_t (*close_cb)(struct _lv_fs_drv_t * drv, void * file_p); 76 …lv_fs_res_t (*read_cb)(struct _lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_… 77 …lv_fs_res_t (*write_cb)(struct _lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, … 78 …lv_fs_res_t (*seek_cb)(struct _lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t when… 79 lv_fs_res_t (*tell_cb)(struct _lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p); 82 lv_fs_res_t (*dir_read_cb)(struct _lv_fs_drv_t * drv, void * rddir_p, char * fn); 83 lv_fs_res_t (*dir_close_cb)(struct _lv_fs_drv_t * drv, void * rddir_p); 155 lv_fs_res_t lv_fs_open(lv_fs_file_t * file_p, const char * path, lv_fs_mode_t mode); 162 lv_fs_res_t lv_fs_close(lv_fs_file_t * file_p); [all …]
|
D | lv_fs.c | 57 lv_fs_res_t lv_fs_open(lv_fs_file_t * file_p, const char * path, lv_fs_mode_t mode) in lv_fs_open() 105 lv_fs_res_t lv_fs_close(lv_fs_file_t * file_p) in lv_fs_close() 115 lv_fs_res_t res = file_p->drv->close_cb(file_p->drv, file_p->file_d); in lv_fs_close() 132 static lv_fs_res_t lv_fs_read_cached(lv_fs_file_t * file_p, char * buf, uint32_t btr, uint32_t * br) in lv_fs_read_cached() 134 lv_fs_res_t res = LV_FS_RES_OK; in lv_fs_read_cached() 205 lv_fs_res_t lv_fs_read(lv_fs_file_t * file_p, void * buf, uint32_t btr, uint32_t * br) in lv_fs_read() 212 lv_fs_res_t res; in lv_fs_read() 226 lv_fs_res_t lv_fs_write(lv_fs_file_t * file_p, const void * buf, uint32_t btw, uint32_t * bw) in lv_fs_write() 239 lv_fs_res_t res = file_p->drv->write_cb(file_p->drv, file_p->file_d, buf, btw, &bw_tmp); in lv_fs_write() 245 lv_fs_res_t lv_fs_seek(lv_fs_file_t * file_p, uint32_t pos, lv_fs_whence_t whence) in lv_fs_seek() [all …]
|
/lvgl-3.7.0/src/extra/libs/fsdrv/ |
D | lv_fs_fatfs.c | 32 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p); 33 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b… 34 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3… 35 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence); 36 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p); 38 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn); 39 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p); 133 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p) in fs_close() 151 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() 168 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() [all …]
|
D | lv_fs_win32.c | 26 lv_fs_res_t next_error; 34 static lv_fs_res_t fs_error_from_win32(DWORD error); 36 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p); 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… 39 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence); 40 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p); 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); 108 static lv_fs_res_t fs_error_from_win32(DWORD error) in fs_error_from_win32() [all …]
|
D | lv_fs_littlefs.c | 33 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p); 35 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b… 36 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3… 38 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence); 39 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p); 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); 157 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p) in fs_close() 178 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() 198 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() [all …]
|
D | lv_fs_posix.c | 38 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p); 39 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b… 40 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3… 41 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence); 42 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p); 44 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn); 45 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p); 127 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p) in fs_close() 144 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() 160 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() [all …]
|
D | lv_fs_stdio.c | 41 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p); 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… 44 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence); 45 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p); 47 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn); 48 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * dir_p); 129 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p) in fs_close() 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() 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() [all …]
|
/lvgl-3.7.0/src/font/ |
D | lv_font_loader.c | 70 static int read_bits_signed(bit_iterator_t * it, int n_bits, lv_fs_res_t * res); 71 static unsigned int read_bits(bit_iterator_t * it, int n_bits, lv_fs_res_t * res); 89 lv_fs_res_t res = lv_fs_open(&file, font_name, LV_FS_MODE_RD); in lv_font_load() 194 static unsigned int read_bits(bit_iterator_t * it, int n_bits, lv_fs_res_t * res) in read_bits() 216 static int read_bits_signed(bit_iterator_t * it, int n_bits, lv_fs_res_t * res) in read_bits_signed() 250 lv_fs_res_t res = lv_fs_seek(fp, cmaps_start + cmap_table[i].data_offset, LV_FS_SEEK_SET); in load_cmaps_tables() 358 lv_fs_res_t res = lv_fs_seek(fp, start + glyph_offset[i], LV_FS_SEEK_SET); in load_glyph() 424 lv_fs_res_t res = lv_fs_seek(fp, start + glyph_offset[i], LV_FS_SEEK_SET); in load_glyph()
|
/lvgl-3.7.0/tests/src/test_cases/ |
D | test_fs.c | 21 lv_fs_res_t res; in test_read()
|
/lvgl-3.7.0/docs/overview/ |
D | file-system.md | 59 lv_fs_res_t (*write_cb)(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint32_t … 72 lv_fs_res_t res; 88 lv_fs_res_t res;
|
/lvgl-3.7.0/src/extra/libs/bmp/ |
D | lv_bmp.c | 84 lv_fs_res_t res = lv_fs_open(&f, src, LV_FS_MODE_RD); in decoder_info() 137 lv_fs_res_t res = lv_fs_open(&b.f, dsc->src, LV_FS_MODE_RD); in decoder_open()
|
/lvgl-3.7.0/src/draw/ |
D | lv_img_decoder.c | 291 lv_fs_res_t res = lv_fs_open(&f, src, LV_FS_MODE_RD); in lv_img_decoder_built_in_info() 334 lv_fs_res_t res = lv_fs_open(&f, dsc->src, LV_FS_MODE_RD); in lv_img_decoder_built_in_open() 380 lv_fs_res_t res = lv_fs_read(&user_data->f, fs_buf, len, NULL); in lv_img_decoder_built_in_open() 541 lv_fs_res_t res; in lv_img_decoder_built_in_line_true_color()
|
/lvgl-3.7.0/src/extra/libs/sjpg/ |
D | lv_sjpg.c | 219 lv_fs_res_t res = lv_fs_open(&file, fn, LV_FS_MODE_RD); in decoder_info() 250 lv_fs_res_t res = lv_fs_open(&file, fn, LV_FS_MODE_RD); in decoder_info() 510 lv_fs_res_t res = lv_fs_open(&lv_file, fn, LV_FS_MODE_RD); in decoder_open() 608 lv_fs_res_t res = lv_fs_open(&lv_file, fn, LV_FS_MODE_RD); in decoder_open()
|
/lvgl-3.7.0/src/extra/libs/png/ |
D | lv_png.c | 81 lv_fs_res_t res = lv_fs_open(&f, fn, LV_FS_MODE_RD); in decoder_info()
|
D | lodepng.c | 345 lv_fs_res_t res = lv_fs_open(&f, filename, LV_FS_MODE_RD); in lodepng_filesize() 361 lv_fs_res_t res = lv_fs_open(&f, filename, LV_FS_MODE_RD); in lodepng_buffer_file() 386 lv_fs_res_t res = lv_fs_open(&f, filename, LV_FS_MODE_WR); in lodepng_save_file()
|
/lvgl-3.7.0/src/extra/libs/gif/ |
D | gifdec.c | 636 lv_fs_res_t res = lv_fs_open(&gif->fd, path, LV_FS_MODE_RD); in f_gif_open()
|