/lvgl-latest/tests/src/test_cases/ |
D | test_fs.c | 13 static void read_random_drv(char drv_letter, uint32_t cache_size); 118 static void read_random_drv(char drv_letter, uint32_t cache_size) in read_random_drv() argument 122 uint32_t original_cache_size = drv->cache_size; in read_random_drv() 123 drv->cache_size = cache_size; in read_random_drv() 179 drv->cache_size = original_cache_size; in read_random_drv() 185 uint32_t original_cache_size = drv->cache_size; in test_write_read_random() 186 drv->cache_size = 7; in test_write_read_random() 274 drv->cache_size = original_cache_size; in test_write_read_random()
|
/lvgl-latest/src/misc/ |
D | lv_fs.c | 109 if(drv->cache_size == LV_FS_CACHE_FROM_BUFFER) { in lv_fs_open() 121 if(drv->cache_size) { in lv_fs_open() 126 if(drv->cache_size == LV_FS_CACHE_FROM_BUFFER) { in lv_fs_open() 168 if(file_p->drv->cache_size && file_p->cache) { in lv_fs_close() 170 if(file_p->drv->cache_size != LV_FS_CACHE_FROM_BUFFER && file_p->cache->buffer) { in lv_fs_close() 191 if(file_p->drv->cache_size) { in lv_fs_read() 203 if(file_p->drv->cache_size) { in lv_fs_read() 225 if(file_p->drv->cache_size) { in lv_fs_write() 236 if(file_p->drv->cache_size) { in lv_fs_write() 254 if(file_p->drv->cache_size) { in lv_fs_seek() [all …]
|
D | lv_lru.c | 74 lv_lru_t * lv_lru_create(size_t cache_size, size_t average_length, lv_lru_free_cb_t value_free, in lv_lru_create() argument 83 cache->hash_table_size = cache_size / average_length; in lv_lru_create() 85 cache->free_memory = cache_size; in lv_lru_create() 86 cache->total_memory = cache_size; in lv_lru_create()
|
D | lv_lru.h | 59 lv_lru_t * lv_lru_create(size_t cache_size, size_t average_length, lv_lru_free_cb_t value_free,
|
D | lv_fs.h | 71 uint32_t cache_size; member
|
/lvgl-latest/src/libs/tiny_ttf/ |
D | lv_tiny_ttf.c | 69 int cache_size; member 94 size_t cache_size); 232 if(!dsc->cache_size) { /* no cache, do everything directly */ in ttf_get_glyph_dsc_cb() 302 if(!dsc->cache_size) { /* no cache, do everything directly */ in ttf_get_glyph_bitmap_cb() 326 if(!dsc->cache_size) { /* no cache, do everything directly */ in ttf_release_glyph_cb() 341 …lv_cache_create(&lv_cache_class_lru_rb_count, sizeof(tiny_ttf_glyph_cache_data_t), dsc->cache_size, in lv_tiny_ttf_cache_create() 349 …che = lv_cache_create(&lv_cache_class_lru_rb_count, sizeof(tiny_ttf_cache_data_t), dsc->cache_size, in lv_tiny_ttf_cache_create() 359 lv_font_kerning_t kerning, size_t cache_size) in lv_tiny_ttf_create() argument 399 dsc->cache_size = cache_size; in lv_tiny_ttf_create() 425 size_t cache_size) in lv_tiny_ttf_create_file_ex() argument [all …]
|
D | lv_tiny_ttf.h | 50 size_t cache_size); 72 lv_font_kerning_t kerning, size_t cache_size);
|
/lvgl-latest/src/libs/freetype/ |
D | lv_freetype_private.h | 138 lv_cache_t * lv_freetype_create_glyph_cache(uint32_t cache_size); 141 lv_cache_t * lv_freetype_create_draw_data_image(uint32_t cache_size); 144 lv_cache_t * lv_freetype_create_draw_data_outline(uint32_t cache_size);
|
D | lv_freetype_image.c | 59 lv_cache_t * lv_freetype_create_draw_data_image(uint32_t cache_size) in lv_freetype_create_draw_data_image() argument 68 cache_size, ops); in lv_freetype_create_draw_data_image()
|
D | lv_freetype_glyph.c | 54 lv_cache_t * lv_freetype_create_glyph_cache(uint32_t cache_size) in lv_freetype_create_glyph_cache() argument 63 cache_size, ops); in lv_freetype_create_glyph_cache()
|
D | lv_freetype_outline.c | 61 lv_cache_t * lv_freetype_create_draw_data_outline(uint32_t cache_size) in lv_freetype_create_draw_data_outline() argument 70 cache_size, in lv_freetype_create_draw_data_outline()
|
/lvgl-latest/src/draw/sw/ |
D | lv_draw_sw_private.h | 49 int32_t cache_size; member
|
D | lv_draw_sw_box_shadow.c | 104 if(cache->cache_size == corner_size && cache->cache_r == r_sh) { in lv_draw_sw_box_shadow() 119 cache->cache_size = corner_size; in lv_draw_sw_box_shadow()
|
/lvgl-latest/docs/details/libs/ |
D | tiny_ttf.rst | 34 :cpp:expr:`lv_tiny_ttf_create_data_ex(data, data_size, font_size, kerning, cache_size)` 35 or :cpp:expr:`lv_tiny_ttf_create_file_ex(path, font_size, kerning, cache_size)` (when
|
D | lfs.rst | 39 .cache_size = 16,
|
/lvgl-latest/src/libs/fsdrv/ |
D | lv_fs_memfs.c | 96 fs_drv.cache_size = LV_FS_CACHE_FROM_BUFFER; in lv_fs_memfs_init()
|
D | lv_fs_fatfs.c | 74 fs_drv_p->cache_size = LV_FS_FATFS_CACHE_SIZE; in lv_fs_fatfs_init()
|
D | lv_fs_posix.c | 79 fs_drv_p->cache_size = LV_FS_POSIX_CACHE_SIZE; in lv_fs_posix_init()
|
D | lv_fs_stdio.c | 80 fs_drv_p->cache_size = LV_FS_STDIO_CACHE_SIZE; in lv_fs_stdio_init()
|
D | lv_fs_win32.c | 77 fs_drv_p->cache_size = LV_FS_WIN32_CACHE_SIZE; in lv_fs_win32_init()
|
D | lv_fs_uefi.c | 499 drv->cache_size = 0; in lv_fs_drv_uefi_init()
|
/lvgl-latest/src/ |
D | lv_init.c | 139 global->sw_shadow_cache.cache_size = -1; in lv_global_init()
|
/lvgl-latest/docs/details/main-components/ |
D | fs.rst | 108 drv.cache_size = my_cache_size; /* Cache size for reading in bytes. 0 to not cache. */
|