Home
last modified time | relevance | path

Searched refs:ids_size (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.7.0/tests/src/test_cases/
Dtest_font_loader.c172 int ids_size; in compare_fonts() local
175 ids_size = sizeof(int8_t) * 2 * kern1->pair_cnt; in compare_fonts()
178 ids_size = sizeof(int16_t) * 2 * kern1->pair_cnt; in compare_fonts()
181 … TEST_ASSERT_EQUAL_UINT8_ARRAY_MESSAGE(kern1->glyph_ids, kern2->glyph_ids, ids_size, "glyph_ids"); in compare_fonts()
/lvgl-3.7.0/src/font/
Dlv_font_loader.c264 uint8_t ids_size = sizeof(uint8_t) * cmap_table[i].data_entries_count; in load_cmaps_tables() local
265 uint8_t * glyph_id_ofs_list = lv_mem_alloc(ids_size); in load_cmaps_tables()
269 if(lv_fs_read(fp, glyph_id_ofs_list, ids_size, NULL) != LV_FS_RES_OK) { in load_cmaps_tables()
614 int ids_size; in load_kern() local
616 ids_size = sizeof(int8_t) * 2 * glyph_entries; in load_kern()
619 ids_size = sizeof(int16_t) * 2 * glyph_entries; in load_kern()
622 uint8_t * glyph_ids = lv_mem_alloc(ids_size); in load_kern()
630 if(lv_fs_read(fp, glyph_ids, ids_size, NULL) != LV_FS_RES_OK) { in load_kern()