Home
last modified time | relevance | path

Searched refs:font_array (Results 1 – 8 of 8) sorted by relevance

/external/sfntly/cpp/src/test/
Dcmap_test.cc93 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 …]
Dname_editing_test.cc75 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()
Dserialization_test.cc31 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()
Dbitmap_table_test.cc98 FontArray font_array; in TestReadingBitmapTable() local
99 LoadFont(SAMPLE_BITMAP_FONT, factory, &font_array); in TestReadingBitmapTable()
100 FontPtr font = font_array[0]; in TestReadingBitmapTable()
158 FontArray font_array; in TestIndexFormatConversion() local
159 factory->LoadFonts(&is, &font_array); in TestIndexFormatConversion()
160 new_font = font_array[0]; in TestIndexFormatConversion()
Dhdmx_test.cc34 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/
Dsubset_util.cc62 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/
Dcmap_basic_test.cc61 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/
Dsubsetter_impl.cc143 Font* FindFont(const char* font_name, const FontArray& font_array) { in FindFont() argument
144 if (font_array.empty() || font_array[0] == NULL) { in FindFont()
149 for (FontArray::const_iterator i = font_array.begin(), e = font_array.end(); in FindFont()
157 return font_array[0].p_; in FindFont()
628 FontArray font_array; in LoadFont() local
629 factory_->LoadFonts(&mis, &font_array); in LoadFont()
630 font_ = FindFont(font_name, font_array); in LoadFont()