Home
last modified time | relevance | path

Searched refs:Attach (Results 1 – 25 of 205) sorted by relevance

123456789

/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/
Dfont_factory.cc49 font.Attach(LoadSingleOTF(pbis)); in LoadFonts()
57 wfd.Attach(WritableFontData::CreateWritableFontData(b)); in LoadFonts()
63 font.Attach(LoadSingleOTF(wfd)); in LoadFonts()
77 builder.Attach(LoadSingleOTFForBuilding(pbis)); in LoadFontsForBuilding()
86 wfd.Attach(WritableFontData::CreateWritableFontData(b)); in LoadFontsForBuilding()
92 builder.Attach(LoadSingleOTFForBuilding(wfd, 0)); in LoadFontsForBuilding()
109 builder.Attach(LoadSingleOTFForBuilding(is)); in LoadSingleOTF()
115 builder.Attach(LoadSingleOTFForBuilding(wfd, 0)); in LoadSingleOTF()
126 font.Attach((*builder)->Build()); in LoadCollection()
139 font.Attach((*builder)->Build()); in LoadCollection()
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/
Dfont_factory.cc49 font.Attach(LoadSingleOTF(pbis)); in LoadFonts()
57 wfd.Attach(WritableFontData::CreateWritableFontData(b)); in LoadFonts()
63 font.Attach(LoadSingleOTF(wfd)); in LoadFonts()
77 builder.Attach(LoadSingleOTFForBuilding(pbis)); in LoadFontsForBuilding()
86 wfd.Attach(WritableFontData::CreateWritableFontData(b)); in LoadFontsForBuilding()
92 builder.Attach(LoadSingleOTFForBuilding(wfd, 0)); in LoadFontsForBuilding()
109 builder.Attach(LoadSingleOTFForBuilding(is)); in LoadSingleOTF()
115 builder.Attach(LoadSingleOTFForBuilding(wfd, 0)); in LoadSingleOTF()
126 font.Attach((*builder)->Build()); in LoadCollection()
139 font.Attach((*builder)->Build()); in LoadCollection()
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dserialization_test.cc30 factory1.Attach(FontFactory::GetInstance()); in TestSerialization()
35 factory2.Attach(FontFactory::GetInstance()); in TestSerialization()
41 intermediate.Attach(font_builder->Build()); in TestSerialization()
45 factory3.Attach(FontFactory::GetInstance()); in TestSerialization()
48 is.Attach(os.Get(), os.Size()); in TestSerialization()
96 factory1.Attach(FontFactory::GetInstance()); in TestSerializationBitmap()
101 factory2.Attach(FontFactory::GetInstance()); in TestSerializationBitmap()
107 intermediate.Attach(font_builder->Build()); in TestSerializationBitmap()
111 factory3.Attach(FontFactory::GetInstance()); in TestSerializationBitmap()
114 is.Attach(os.Get(), os.Size()); in TestSerializationBitmap()
Dname_editing_test.cc49 factory.Attach(FontFactory::GetInstance()); in TestChangeOneName()
68 font.Attach(font_builder->Build()); in TestChangeOneName()
74 is.Attach(os.Get(), os.Size()); in TestChangeOneName()
93 factory.Attach(FontFactory::GetInstance()); in TestModifyNameTableAndRevert()
117 font.Attach(font_builder->Build()); in TestModifyNameTableAndRevert()
123 is.Attach(os.Get(), os.Size()); in TestModifyNameTableAndRevert()
144 factory.Attach(FontFactory::GetInstance()); in TestRemoveOneName()
163 font.Attach(font_builder->Build()); in TestRemoveOneName()
169 is.Attach(os.Get(), os.Size()); in TestRemoveOneName()
Dcmap_editing_test.cc38 font_factory.Attach(FontFactory::GetInstance()); in TEST()
62 cmap.Attach(cmap_table->GetCMap(CMapTable::WINDOWS_BMP)); in TEST()
70 font_factory.Attach(FontFactory::GetInstance()); in TEST()
78 font_builder.Attach(font_factory->NewFontBuilder()); in TEST()
85 cmap.Attach(cmap_iter.Next()); in TEST()
92 new_font.Attach(font_builder->Build()); in TEST()
97 cmap.Attach(cmap_table->GetCMap(CMapTable::WINDOWS_BMP)); in TEST()
Dfont_parsing_test.cc39 factory.Attach(FontFactory::GetInstance()); in TestFontParsing()
64 wfd.Attach(gdef_builder->Data()); in TestFontParsing()
90 wfd1.Attach(builder1->Data()); in TestFontParsing()
92 wfd2.Attach(builder2->Data()); in TestFontParsing()
103 factory.Attach(FontFactory::GetInstance()); in TestTTFReadWrite()
108 font.Attach(font_builder->Build()); in TestTTFReadWrite()
121 factory.Attach(FontFactory::GetInstance()); in TestTTFMemoryBasedReadWrite()
126 font.Attach(font_builder->Build()); in TestTTFMemoryBasedReadWrite()
Dbitmap_table_test.cc104 factory.Attach(FontFactory::GetInstance()); in TestReadingBitmapTable()
123 info.Attach(sub3->GlyphInfo(2)); in TestReadingBitmapTable()
140 factory.Attach(FontFactory::GetInstance()); in TestIndexFormatConversion()
153 new_font.Attach(font_builder->Build()); in TestIndexFormatConversion()
164 is.Attach(os.Get(), os.Size()); in TestIndexFormatConversion()
197 info.Attach(sub4->GlyphInfo(i)); in TestIndexFormatConversion()
198 original_info.Attach(sub3->GlyphInfo(i)); in TestIndexFormatConversion()
Dfont_data_test.cc110 wfd.Attach(WritableFontData::CreateWritableFontData(array_setup_offset[0])); in TestReadableFontDataSearching()
261 slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); in SlicingReadTest()
277 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); in SlicingWriteTest()
278 r_slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); in SlicingWriteTest()
286 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); in SlicingWriteTest()
287 r_slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); in SlicingWriteTest()
294 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); in SlicingWriteTest()
295 r_slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); in SlicingWriteTest()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/
Dserialization_test.cc30 factory1.Attach(FontFactory::GetInstance()); in TestSerialization()
35 factory2.Attach(FontFactory::GetInstance()); in TestSerialization()
41 intermediate.Attach(font_builder->Build()); in TestSerialization()
45 factory3.Attach(FontFactory::GetInstance()); in TestSerialization()
48 is.Attach(os.Get(), os.Size()); in TestSerialization()
96 factory1.Attach(FontFactory::GetInstance()); in TestSerializationBitmap()
101 factory2.Attach(FontFactory::GetInstance()); in TestSerializationBitmap()
107 intermediate.Attach(font_builder->Build()); in TestSerializationBitmap()
111 factory3.Attach(FontFactory::GetInstance()); in TestSerializationBitmap()
114 is.Attach(os.Get(), os.Size()); in TestSerializationBitmap()
Dname_editing_test.cc49 factory.Attach(FontFactory::GetInstance()); in TestChangeOneName()
68 font.Attach(font_builder->Build()); in TestChangeOneName()
74 is.Attach(os.Get(), os.Size()); in TestChangeOneName()
93 factory.Attach(FontFactory::GetInstance()); in TestModifyNameTableAndRevert()
117 font.Attach(font_builder->Build()); in TestModifyNameTableAndRevert()
123 is.Attach(os.Get(), os.Size()); in TestModifyNameTableAndRevert()
144 factory.Attach(FontFactory::GetInstance()); in TestRemoveOneName()
163 font.Attach(font_builder->Build()); in TestRemoveOneName()
169 is.Attach(os.Get(), os.Size()); in TestRemoveOneName()
Dcmap_editing_test.cc38 font_factory.Attach(FontFactory::GetInstance()); in TEST()
62 cmap.Attach(cmap_table->GetCMap(CMapTable::WINDOWS_BMP)); in TEST()
70 font_factory.Attach(FontFactory::GetInstance()); in TEST()
78 font_builder.Attach(font_factory->NewFontBuilder()); in TEST()
85 cmap.Attach(cmap_iter.Next()); in TEST()
92 new_font.Attach(font_builder->Build()); in TEST()
97 cmap.Attach(cmap_table->GetCMap(CMapTable::WINDOWS_BMP)); in TEST()
Dfont_parsing_test.cc39 factory.Attach(FontFactory::GetInstance()); in TestFontParsing()
64 wfd.Attach(gdef_builder->Data()); in TestFontParsing()
90 wfd1.Attach(builder1->Data()); in TestFontParsing()
92 wfd2.Attach(builder2->Data()); in TestFontParsing()
103 factory.Attach(FontFactory::GetInstance()); in TestTTFReadWrite()
108 font.Attach(font_builder->Build()); in TestTTFReadWrite()
121 factory.Attach(FontFactory::GetInstance()); in TestTTFMemoryBasedReadWrite()
126 font.Attach(font_builder->Build()); in TestTTFMemoryBasedReadWrite()
Dbitmap_table_test.cc104 factory.Attach(FontFactory::GetInstance()); in TestReadingBitmapTable()
123 info.Attach(sub3->GlyphInfo(2)); in TestReadingBitmapTable()
140 factory.Attach(FontFactory::GetInstance()); in TestIndexFormatConversion()
153 new_font.Attach(font_builder->Build()); in TestIndexFormatConversion()
164 is.Attach(os.Get(), os.Size()); in TestIndexFormatConversion()
197 info.Attach(sub4->GlyphInfo(i)); in TestIndexFormatConversion()
198 original_info.Attach(sub3->GlyphInfo(i)); in TestIndexFormatConversion()
Dfont_data_test.cc110 wfd.Attach(WritableFontData::CreateWritableFontData(array_setup_offset[0])); in TestReadableFontDataSearching()
261 slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); in SlicingReadTest()
277 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); in SlicingWriteTest()
278 r_slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); in SlicingWriteTest()
286 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); in SlicingWriteTest()
287 r_slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); in SlicingWriteTest()
294 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); in SlicingWriteTest()
295 r_slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); in SlicingWriteTest()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format2.cc34 slice.Attach(down_cast<ReadableFontData*>( in BigMetrics()
114 data.Attach(down_cast<WritableFontData*>(InternalWriteData()->Slice( in BigMetrics()
140 new_data.Attach(down_cast<ReadableFontData*>( in CreateBuilder()
163 new_data.Attach(down_cast<WritableFontData*>( in CreateBuilder()
197 source.Attach(down_cast<ReadableFontData*>( in SubSerialize()
199 target.Attach(down_cast<WritableFontData*>(new_data->Slice(size))); in SubSerialize()
205 slice.Attach(down_cast<WritableFontData*>(new_data->Slice(size))); in SubSerialize()
214 metrics_.Attach(BigGlyphMetrics::Builder::CreateBuilder()); in Builder()
Deblc_table.cc71 new_data.Attach(down_cast<ReadableFontData*>( in CreateBitmapSizeTable()
76 size_builder.Attach( in CreateBitmapSizeTable()
79 size.Attach(down_cast<BitmapSizeTable*>(size_builder->Build())); in CreateBitmapSizeTable()
166 slice_index_sub_table.Attach(down_cast<WritableFontData*>( in SubSerialize()
185 slice_size_table.Attach(down_cast<WritableFontData*>( in SubSerialize()
306 new_data.Attach(down_cast<ReadableFontData*>( in Initialize()
311 size_builder.Attach(BitmapSizeTable::Builder::CreateBuilder( in Initialize()
Dindex_sub_table_format5.cc64 data.Attach(down_cast<ReadableFontData*>(data_->Slice( in BigMetrics()
142 new_data.Attach(down_cast<ReadableFontData*>( in CreateBuilder()
165 new_data.Attach(down_cast<WritableFontData*>( in CreateBuilder()
206 source.Attach(down_cast<ReadableFontData*>(InternalReadData()->Slice( in SubSerialize()
208 target.Attach(down_cast<WritableFontData*>(new_data->Slice( in SubSerialize()
215 slice.Attach(down_cast<WritableFontData*>(new_data->Slice(size))); in SubSerialize()
239 data.Attach(down_cast<WritableFontData*>(InternalWriteData()->Slice( in BigMetrics()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format2.cc34 slice.Attach(down_cast<ReadableFontData*>( in BigMetrics()
114 data.Attach(down_cast<WritableFontData*>(InternalWriteData()->Slice( in BigMetrics()
140 new_data.Attach(down_cast<ReadableFontData*>( in CreateBuilder()
163 new_data.Attach(down_cast<WritableFontData*>( in CreateBuilder()
197 source.Attach(down_cast<ReadableFontData*>( in SubSerialize()
199 target.Attach(down_cast<WritableFontData*>(new_data->Slice(size))); in SubSerialize()
205 slice.Attach(down_cast<WritableFontData*>(new_data->Slice(size))); in SubSerialize()
214 metrics_.Attach(BigGlyphMetrics::Builder::CreateBuilder()); in Builder()
Deblc_table.cc71 new_data.Attach(down_cast<ReadableFontData*>( in CreateBitmapSizeTable()
76 size_builder.Attach( in CreateBitmapSizeTable()
79 size.Attach(down_cast<BitmapSizeTable*>(size_builder->Build())); in CreateBitmapSizeTable()
166 slice_index_sub_table.Attach(down_cast<WritableFontData*>( in SubSerialize()
185 slice_size_table.Attach(down_cast<WritableFontData*>( in SubSerialize()
306 new_data.Attach(down_cast<ReadableFontData*>( in Initialize()
311 size_builder.Attach(BitmapSizeTable::Builder::CreateBuilder( in Initialize()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/
Dfont_data_table.cc62 new_data.Attach(WritableFontData::CreateWritableFontData(size)); in Data()
66 new_data.Attach(WritableFontData::CreateWritableFontData( in Data()
93 new_data.Attach(WritableFontData::CreateWritableFontData(size)); in Build()
120 new_data.Attach(WritableFontData::CreateWritableFontData( in InternalWriteData()
148 w_data_.Attach(WritableFontData::CreateWritableFontData(data_size)); in Builder()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/
Dfont_data_table.cc62 new_data.Attach(WritableFontData::CreateWritableFontData(size)); in Data()
66 new_data.Attach(WritableFontData::CreateWritableFontData( in Data()
93 new_data.Attach(WritableFontData::CreateWritableFontData(size)); in Build()
120 new_data.Attach(WritableFontData::CreateWritableFontData( in InternalWriteData()
148 w_data_.Attach(WritableFontData::CreateWritableFontData(data_size)); in Builder()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
Dsubsetter.cc42 font_.Attach(LoadFont(font_path)); in Subsetter()
50 font_info.Attach(info_builder->GetFontInfo()); in Subset()
63 font_subset.Attach(font_assembler->Assemble()); in Subset()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
Dsubsetter.cc42 font_.Attach(LoadFont(font_path)); in Subsetter()
50 font_info.Attach(info_builder->GetFontInfo()); in Subset()
63 font_subset.Attach(font_assembler->Assemble()); in Subset()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc200 glyph.Attach(glyph_table->GetGlyph(offset, length)); in ResolveCompositeGlyphs()
259 glyph.Attach(glyph_table->GetGlyph(offset, length)); in SetupGlyfBuilders()
264 copy_data.Attach(WritableFontData::CreateWritableFontData(data->Length())); in SetupGlyfBuilders()
267 glyph_builder.Attach(glyph_table_builder->GlyphBuilder(copy_data)); in SetupGlyfBuilders()
349 info.Attach((*index_builders)[j]->GlyphInfo(*gid)); in InitializeBitmapBuilder()
402 builder4.Attach(IndexSubTableFormat4::Builder::CreateBuilder()); in ConstructIndexFormat4()
440 new_builder.Attach(IndexSubTableFormat5::Builder::CreateBuilder()); in ConstructIndexFormat5()
524 (*index_builders)[index].Attach(new_builder_raw); in SubsetEBLC()
632 mis.Attach(original_font, font_size); in LoadFont()
634 factory_.Attach(FontFactory::GetInstance()); in LoadFont()
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc200 glyph.Attach(glyph_table->GetGlyph(offset, length)); in ResolveCompositeGlyphs()
259 glyph.Attach(glyph_table->GetGlyph(offset, length)); in SetupGlyfBuilders()
264 copy_data.Attach(WritableFontData::CreateWritableFontData(data->Length())); in SetupGlyfBuilders()
267 glyph_builder.Attach(glyph_table_builder->GlyphBuilder(copy_data)); in SetupGlyfBuilders()
349 info.Attach((*index_builders)[j]->GlyphInfo(*gid)); in InitializeBitmapBuilder()
402 builder4.Attach(IndexSubTableFormat4::Builder::CreateBuilder()); in ConstructIndexFormat4()
440 new_builder.Attach(IndexSubTableFormat5::Builder::CreateBuilder()); in ConstructIndexFormat5()
524 (*index_builders)[index].Attach(new_builder_raw); in SubsetEBLC()
632 mis.Attach(original_font, font_size); in LoadFont()
634 factory_.Attach(FontFactory::GetInstance()); in LoadFont()
[all …]

123456789