Lines Matching refs:cmaps1

206         lv_font_fmt_txt_cmap_t * cmaps1 = (lv_font_fmt_txt_cmap_t *)&dsc1->cmaps[i];  in compare_fonts()  local
209 TEST_ASSERT_EQUAL_INT_MESSAGE(cmaps1->range_start, cmaps2->range_start, "range_start"); in compare_fonts()
210 TEST_ASSERT_EQUAL_INT_MESSAGE(cmaps1->range_length, cmaps2->range_length, "range_length"); in compare_fonts()
211 … TEST_ASSERT_EQUAL_INT_MESSAGE(cmaps1->glyph_id_start, cmaps2->glyph_id_start, "glyph_id_start"); in compare_fonts()
212 TEST_ASSERT_EQUAL_INT_MESSAGE(cmaps1->type, cmaps2->type, "type"); in compare_fonts()
213 TEST_ASSERT_EQUAL_INT_MESSAGE(cmaps1->list_length, cmaps2->list_length, "list_length"); in compare_fonts()
215 if(cmaps1->unicode_list != NULL && cmaps2->unicode_list != NULL) { in compare_fonts()
216 TEST_ASSERT_TRUE_MESSAGE(cmaps1->unicode_list && cmaps2->unicode_list, "unicode_list"); in compare_fonts()
219 (uint8_t *)cmaps1->unicode_list, in compare_fonts()
221 sizeof(uint16_t) * cmaps1->list_length, in compare_fonts()
223 total_glyphs += cmaps1->list_length; in compare_fonts()
226 total_glyphs += cmaps1->range_length; in compare_fonts()
227 … TEST_ASSERT_EQUAL_PTR_MESSAGE(cmaps1->unicode_list, cmaps2->unicode_list, "unicode_list"); in compare_fonts()
230 if(cmaps1->glyph_id_ofs_list != NULL && cmaps2->glyph_id_ofs_list != NULL) { in compare_fonts()
231 uint8_t * ids1 = (uint8_t *)cmaps1->glyph_id_ofs_list; in compare_fonts()
234 … TEST_ASSERT_EQUAL_UINT8_ARRAY_MESSAGE(ids1, ids2, cmaps1->list_length, "glyph_id_ofs_list"); in compare_fonts()
237 …TEST_ASSERT_EQUAL_PTR_MESSAGE(cmaps1->glyph_id_ofs_list, cmaps2->glyph_id_ofs_list, "glyph_id_ofs_… in compare_fonts()