Searched refs:font_array (Results 1 – 9 of 9) sorted by relevance
/external/sfntly/cpp/src/test/ |
D | cmap_test.cc | 93 void CommonSetUp(FontArray* font_array); 117 void CMapTests::CommonSetUp(FontArray* font_array) { in CommonSetUp() argument 118 ASSERT_NE(font_array, reinterpret_cast<FontArray*>(NULL)); in CommonSetUp() 119 ASSERT_FALSE(font_array->empty()); in CommonSetUp() 121 font = font_array->at(0); in CommonSetUp() 170 FontArray font_array; in TEST_P() local 171 LoadFont(GetParam().font_name(), font_factory, &font_array); in TEST_P() 172 CommonSetUp(&font_array); in TEST_P() 179 FontArray font_array; in TEST_P() local 180 LoadFont(GetParam().font_name(), font_factory, &font_array); in TEST_P() [all …]
|
D | name_editing_test.cc | 75 FontArray font_array; in TestChangeOneName() local 76 factory->LoadFonts(&is, &font_array); in TestChangeOneName() 77 FontPtr new_font = font_array[0]; in TestChangeOneName() 124 FontArray font_array; in TestModifyNameTableAndRevert() local 125 factory->LoadFonts(&is, &font_array); in TestModifyNameTableAndRevert() 126 FontPtr new_font = font_array[0]; in TestModifyNameTableAndRevert() 170 FontArray font_array; in TestRemoveOneName() local 171 factory->LoadFonts(&is, &font_array); in TestRemoveOneName() 172 FontPtr new_font = font_array[0]; in TestRemoveOneName()
|
D | serialization_test.cc | 31 FontArray font_array; in TestSerialization() local 32 LoadFont(SAMPLE_TTF_FILE, factory1, &font_array); in TestSerialization() 33 FontPtr original = font_array[0]; in TestSerialization() 97 FontArray font_array; in TestSerializationBitmap() local 98 LoadFont(SAMPLE_BITMAP_FONT, factory1, &font_array); in TestSerializationBitmap() 99 FontPtr original = font_array[0]; in TestSerializationBitmap()
|
D | bitmap_table_test.cc | 105 FontArray font_array; in TestReadingBitmapTable() local 106 LoadFont(SAMPLE_BITMAP_FONT, factory, &font_array); in TestReadingBitmapTable() 107 FontPtr font = font_array[0]; in TestReadingBitmapTable() 165 FontArray font_array; in TestIndexFormatConversion() local 166 factory->LoadFonts(&is, &font_array); in TestIndexFormatConversion() 167 new_font = font_array[0]; in TestIndexFormatConversion()
|
D | hdmx_test.cc | 34 FontArray font_array; in TestReadingHdmxTable() local 35 LoadFont(SAMPLE_BITMAP_FONT, factory, &font_array); in TestReadingHdmxTable() 36 FontPtr font = font_array[0]; in TestReadingHdmxTable()
|
/external/sfntly/cpp/src/sample/subsetter/ |
D | subset_util.cc | 62 FontArray font_array; in Subset() local 63 factory->LoadFonts(&input_buffer, &font_array); in Subset() 64 if (font_array.empty() || font_array[0] == NULL) in Subset() 74 Ptr<Subsetter> subsetter = new Subsetter(font_array[0], factory); in Subset()
|
/external/sfntly/cpp/src/test/autogenerated/ |
D | cmap_basic_test.cc | 61 FontArray font_array; in SetUp() local 67 LoadFont(font_name.c_str(), font_factory, &font_array); in SetUp() 68 ASSERT_FALSE(font_array.empty()); in SetUp() 69 Ptr<Font> font = font_array.at(0); in SetUp()
|
/external/sfntly/cpp/src/sample/chromium/ |
D | subsetter_impl.cc | 184 Font* FindFont(const char* font_name, const FontArray& font_array) { in FindFont() argument 185 if (font_array.empty() || font_array[0] == NULL) { in FindFont() 190 for (FontArray::const_iterator i = font_array.begin(), e = font_array.end(); in FindFont() 198 return font_array[0].p_; in FindFont() 674 FontArray font_array; in LoadFont() local 675 factory_->LoadFonts(&mis, &font_array); in LoadFont() 676 if (font_index < 0 || (size_t)font_index >= font_array.size()) { in LoadFont() 679 font_ = font_array[font_index].p_; in LoadFont() 692 FontArray font_array; in LoadFont() local 693 factory_->LoadFonts(&mis, &font_array); in LoadFont() [all …]
|
/external/angle/src/libANGLE/ |
D | gen_overlay_fonts.py | 191 font_array = [[0] * font_array_width for i in range(font_array_height)] 232 font_array[font_array_row][font_array_col] |= output_bit << font_array_bit 239 data += '0x{:08X}, '.format(font_array[y][x])
|