Home
last modified time | relevance | path

Searched refs:cache_size (Results 1 – 23 of 23) sorted by relevance

/lvgl-latest/tests/src/test_cases/
Dtest_fs.c13 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/
Dlv_fs.c109 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 …]
Dlv_lru.c74 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()
Dlv_lru.h59 lv_lru_t * lv_lru_create(size_t cache_size, size_t average_length, lv_lru_free_cb_t value_free,
Dlv_fs.h71 uint32_t cache_size; member
/lvgl-latest/src/libs/tiny_ttf/
Dlv_tiny_ttf.c69 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 …]
Dlv_tiny_ttf.h50 size_t cache_size);
72 lv_font_kerning_t kerning, size_t cache_size);
/lvgl-latest/src/libs/freetype/
Dlv_freetype_private.h138 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);
Dlv_freetype_image.c59 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()
Dlv_freetype_glyph.c54 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()
Dlv_freetype_outline.c61 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/
Dlv_draw_sw_private.h49 int32_t cache_size; member
Dlv_draw_sw_box_shadow.c104 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/
Dtiny_ttf.rst34 :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
Dlfs.rst39 .cache_size = 16,
/lvgl-latest/src/libs/fsdrv/
Dlv_fs_memfs.c96 fs_drv.cache_size = LV_FS_CACHE_FROM_BUFFER; in lv_fs_memfs_init()
Dlv_fs_fatfs.c74 fs_drv_p->cache_size = LV_FS_FATFS_CACHE_SIZE; in lv_fs_fatfs_init()
Dlv_fs_posix.c79 fs_drv_p->cache_size = LV_FS_POSIX_CACHE_SIZE; in lv_fs_posix_init()
Dlv_fs_stdio.c80 fs_drv_p->cache_size = LV_FS_STDIO_CACHE_SIZE; in lv_fs_stdio_init()
Dlv_fs_win32.c77 fs_drv_p->cache_size = LV_FS_WIN32_CACHE_SIZE; in lv_fs_win32_init()
Dlv_fs_uefi.c499 drv->cache_size = 0; in lv_fs_drv_uefi_init()
/lvgl-latest/src/
Dlv_init.c139 global->sw_shadow_cache.cache_size = -1; in lv_global_init()
/lvgl-latest/docs/details/main-components/
Dfs.rst108 drv.cache_size = my_cache_size; /* Cache size for reading in bytes. 0 to not cache. */