Home
last modified time | relevance | path

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

1234

/external/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()
113 builder.Attach(LoadSingleOTFForBuilding(is)); in LoadSingleOTF()
119 builder.Attach(LoadSingleOTFForBuilding(wfd, 0)); in LoadSingleOTF()
130 font.Attach((*builder)->Build()); in LoadCollection()
143 font.Attach((*builder)->Build()); in LoadCollection()
[all …]
/external/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.cc97 factory.Attach(FontFactory::GetInstance()); in TestReadingBitmapTable()
116 info.Attach(sub3->GlyphInfo(2)); in TestReadingBitmapTable()
133 factory.Attach(FontFactory::GetInstance()); in TestIndexFormatConversion()
146 new_font.Attach(font_builder->Build()); in TestIndexFormatConversion()
157 is.Attach(os.Get(), os.Size()); in TestIndexFormatConversion()
190 info.Attach(sub4->GlyphInfo(i)); in TestIndexFormatConversion()
191 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()
Dcmap_test.cc125 cmap1_.Attach(cmap_table->GetCMap(GetParam().first_platform_id(), in CommonSetUp()
128 cmap2_.Attach(cmap_table->GetCMap(GetParam().second_platform_id(), in CommonSetUp()
168 font_factory.Attach(FontFactory::GetInstance()); in TEST_P()
178 font_factory.Attach(FontFactory::GetInstance()); in TEST_P()
/external/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()
301 new_data.Attach(down_cast<ReadableFontData*>( in Initialize()
306 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()
Debdt_table.cc38 glyph_data.Attach(down_cast<ReadableFontData*>(data_->Slice(offset, length))); in Glyph()
111 slice.Attach(down_cast<WritableFontData*>(new_data->Slice(size))); in SubSerialize()
224 slice.Attach(down_cast<ReadableFontData*>(data->Slice( in Initialize()
227 glyph_builder.Attach(BitmapGlyph::Builder::CreateGlyphBuilder( in Initialize()
/external/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()
/external/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()
Dutils.cc31 font_factory.Attach(FontFactory::GetInstance()); in LoadFont()
39 font_factory.Attach(FontFactory::GetInstance()); in LoadFontBuilder()
65 font_factory.Attach(FontFactory::GetInstance()); in SerializeFont()
Dfont_assembler.cc52 font_factory_.Attach(sfntly::FontFactory::GetInstance()); in Initialize()
53 font_builder_.Attach(font_factory_->NewFontBuilder()); in Initialize()
198 glyph.Attach(glyph_table->GetGlyph(offset, length)); in AssembleGlyphAndLocaTables()
205 copy_data.Attach(WritableFontData::CreateWritableFontData(data->Length())); in AssembleGlyphAndLocaTables()
208 glyph_builder.Attach(glyph_table_builder->GlyphBuilder(copy_data)); in AssembleGlyphAndLocaTables()
Ddebug_main.cc46 font.Attach(subtly::LoadFont(input_font_path)); in main()
51 new_font.Attach(subsetter->Subset()); in main()
Dmerger_main.cc52 font.Attach(LoadFont(argv[i])); in main()
59 new_font.Attach(merger->Merge()); in main()
/external/pdfium/fpdfsdk/src/
Dfpdf_progressive.cpp37 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap,0,TRUE); in FPDF_RenderPageBitmap_Start()
39 ((CFX_SkiaDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap); in FPDF_RenderPageBitmap_Start()
43 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap,0,TRUE); in FPDF_RenderPageBitmap_Start()
45 ((CFX_FxgeDevice*)pContext->m_pDevice)->Attach((CFX_DIBitmap*)bitmap); in FPDF_RenderPageBitmap_Start()
/external/sfntly/cpp/src/sample/subsetter/
Dsubset_util.cc60 factory.Attach(FontFactory::GetInstance()); in Subset()
81 font_builder.Attach(subsetter->Subset()); in Subset()
84 new_font.Attach(font_builder->Build()); in Subset()
/external/sfntly/cpp/src/sfntly/tools/subsetter/
Dglyph_table_subsetter.cc75 glyph.Attach(glyph_table->GetGlyph(old_offset, old_length)); in Subset()
78 copy_data.Attach(WritableFontData::CreateWritableFontData(data->Length())); in Subset()
81 glyph_builder.Attach(glyph_table_builder->GlyphBuilder(copy_data)); in Subset()
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc196 glyph.Attach(glyph_table->GetGlyph(offset, length)); in ResolveCompositeGlyphs()
255 glyph.Attach(glyph_table->GetGlyph(offset, length)); in SetupGlyfBuilders()
260 copy_data.Attach(WritableFontData::CreateWritableFontData(data->Length())); in SetupGlyfBuilders()
263 glyph_builder.Attach(glyph_table_builder->GlyphBuilder(copy_data)); in SetupGlyfBuilders()
340 info.Attach((*index_builders)[j]->GlyphInfo(*gid)); in InitializeBitmapBuilder()
393 builder4.Attach(IndexSubTableFormat4::Builder::CreateBuilder()); in ConstructIndexFormat4()
431 new_builder.Attach(IndexSubTableFormat5::Builder::CreateBuilder()); in ConstructIndexFormat5()
515 (*index_builders)[index].Attach(new_builder_raw); in SubsetEBLC()
623 mis.Attach(original_font, font_size); in LoadFont()
625 factory_.Attach(FontFactory::GetInstance()); in LoadFont()
[all …]
/external/pdfium/core/include/fxge/
Dfx_ge_apple.h16 FX_BOOL Attach(CGContextRef context, FX_INT32 nDeviceClass = FXDC_DISPLAY);
17 FX_BOOL Attach(CFX_DIBitmap* pBitmap);
/external/pdfium/fpdfsdk/src/javascript/
DJS_Value.cpp79 void CJS_Value::Attach(v8::Local<v8::Value> pValue,FXJSVALUETYPE t) in Attach() function in CJS_Value
85 void CJS_Value::Attach(CJS_Value *pValue) in Attach() function in CJS_Value
88 Attach(pValue->ToV8Value(), pValue->GetType()); in Attach()
276 array.Attach(JS_ToArray(m_isolate, m_pValue)); in ConvertToArray()
293 date.Attach(m_pValue); in ConvertToDate()
478 void CJS_Array::Attach(v8::Local<v8::Array> pArray) in Attach() function in CJS_Array
493 value.Attach(p,VT_object); in GetElement()
552 void CJS_Date::Attach(v8::Local<v8::Value> pDate) in Attach() function in CJS_Date
/external/pdfium/fpdfsdk/include/javascript/
DJS_Value.h37 void Attach(v8::Local<v8::Value> pValue,FXJSVALUETYPE t);
38 void Attach(CJS_Value *pValue);
134 void Attach(v8::Local<v8::Array> pArray);
155 void Attach(v8::Local<v8::Value> pDate);

1234