Searched refs:TTF_LENGTH (Results 1 – 4 of 4) sorted by relevance
/external/sfntly/cpp/src/test/ |
D | font_parsing_test.cc | 58 EXPECT_EQ(gdef_header->length(), TTF_LENGTH[SAMPLE_TTF_FEAT]); in TestFontParsing() 66 b.resize(TTF_LENGTH[SAMPLE_TTF_FEAT]); in TestFontParsing() 67 wfd->ReadBytes(0, &(b[0]), 0, TTF_LENGTH[SAMPLE_TTF_FEAT]); in TestFontParsing() 68 EXPECT_EQ(memcmp(&(b[0]), TTF_FEAT_DATA, TTF_LENGTH[SAMPLE_TTF_FEAT]), 0); in TestFontParsing() 75 EXPECT_EQ(header_header->length(), TTF_LENGTH[SAMPLE_TTF_HEAD]); in TestFontParsing() 83 b1.resize(TTF_LENGTH[i]); in TestFontParsing() 84 b2.resize(TTF_LENGTH[i]); in TestFontParsing() 93 wfd1->ReadBytes(0, &(b1[0]), 0, TTF_LENGTH[i]); in TestFontParsing() 94 wfd2->ReadBytes(0, &(b2[0]), 0, TTF_LENGTH[i]); in TestFontParsing() 95 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), TTF_LENGTH[i]), 0); in TestFontParsing()
|
D | file_io_test.cc | 138 FontInputStream gdef_is(&font_is, TTF_LENGTH[SAMPLE_TTF_FEAT]); in TestFontInputStreamTableLoading() 140 gdef_is.Read(&feat_data, 0, TTF_LENGTH[SAMPLE_TTF_FEAT]); in TestFontInputStreamTableLoading() 142 TTF_LENGTH[SAMPLE_TTF_FEAT]), 0); in TestFontInputStreamTableLoading()
|
D | test_data.h | 39 extern const int32_t TTF_LENGTH[];
|
D | test_data.cc | 63 const int32_t TTF_LENGTH[] = { variable
|