Lines Matching refs:cmaps1
100 lv_font_fmt_txt_cmap_t * cmaps1 = (lv_font_fmt_txt_cmap_t *)&dsc1->cmaps[i]; in compare_fonts() local
103 TEST_ASSERT_EQUAL_INT_MESSAGE(cmaps1->range_start, cmaps2->range_start, "range_start"); in compare_fonts()
104 TEST_ASSERT_EQUAL_INT_MESSAGE(cmaps1->range_length, cmaps2->range_length, "range_length"); in compare_fonts()
105 … TEST_ASSERT_EQUAL_INT_MESSAGE(cmaps1->glyph_id_start, cmaps2->glyph_id_start, "glyph_id_start"); in compare_fonts()
106 TEST_ASSERT_EQUAL_INT_MESSAGE(cmaps1->type, cmaps2->type, "type"); in compare_fonts()
107 TEST_ASSERT_EQUAL_INT_MESSAGE(cmaps1->list_length, cmaps2->list_length, "list_length"); in compare_fonts()
109 if(cmaps1->unicode_list != NULL && cmaps2->unicode_list != NULL) { in compare_fonts()
110 TEST_ASSERT_TRUE_MESSAGE(cmaps1->unicode_list && cmaps2->unicode_list, "unicode_list"); in compare_fonts()
113 (uint8_t *)cmaps1->unicode_list, in compare_fonts()
115 sizeof(uint16_t) * cmaps1->list_length, in compare_fonts()
117 total_glyphs += cmaps1->list_length; in compare_fonts()
120 total_glyphs += cmaps1->range_length; in compare_fonts()
121 … TEST_ASSERT_EQUAL_PTR_MESSAGE(cmaps1->unicode_list, cmaps2->unicode_list, "unicode_list"); in compare_fonts()
124 if(cmaps1->glyph_id_ofs_list != NULL && cmaps2->glyph_id_ofs_list != NULL) { in compare_fonts()
125 uint8_t * ids1 = (uint8_t *)cmaps1->glyph_id_ofs_list; in compare_fonts()
128 … TEST_ASSERT_EQUAL_UINT8_ARRAY_MESSAGE(ids1, ids2, cmaps1->list_length, "glyph_id_ofs_list"); in compare_fonts()
131 …TEST_ASSERT_EQUAL_PTR_MESSAGE(cmaps1->glyph_id_ofs_list, cmaps2->glyph_id_ofs_list, "glyph_id_ofs_… in compare_fonts()