/external/sfntly/cpp/src/sfntly/table/core/ |
D | font_header_table.cc | 122 return down_cast<FontHeaderTable*>(GetTable())->TableVersion(); in TableVersion() 130 return down_cast<FontHeaderTable*>(GetTable())->FontRevision(); in FontRevision() 138 return down_cast<FontHeaderTable*>(GetTable())->ChecksumAdjustment(); in ChecksumAdjustment() 146 return down_cast<FontHeaderTable*>(GetTable())->MagicNumber(); in MagicNumber() 154 return down_cast<FontHeaderTable*>(GetTable())->FlagsAsInt(); in FlagsAsInt() 162 return down_cast<FontHeaderTable*>(GetTable())->UnitsPerEm(); in UnitsPerEm() 170 return down_cast<FontHeaderTable*>(GetTable())->Created(); in Created() 178 return down_cast<FontHeaderTable*>(GetTable())->Modified(); in Modified() 186 return down_cast<FontHeaderTable*>(GetTable())->XMin(); in XMin() 194 return down_cast<FontHeaderTable*>(GetTable())->YMin(); in YMin() [all …]
|
D | horizontal_metrics_table.cc | 126 down_cast<HorizontalMetricsTable*>(this->GetTable()); in SetNumberOfHMetrics() 134 down_cast<HorizontalMetricsTable*>(this->GetTable()); in SetNumGlyphs()
|
/external/sfntly/cpp/src/test/ |
D | bitmap_table_test.cc | 55 EblcTablePtr bitmap_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC)); in CommonReadingTest() 56 EbdtTablePtr bitmap_table = down_cast<EbdtTable*>(font->GetTable(Tag::EBDT)); in CommonReadingTest() 103 EblcTablePtr bitmap_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC)); in TestReadingBitmapTable() 113 down_cast<IndexSubTableFormat3*>(strike4->GetIndexSubTable(0)); in TestReadingBitmapTable() 140 down_cast<EblcTable::Builder*>(font_builder->GetTableBuilder(Tag::EBLC)); in TestIndexFormatConversion() 166 down_cast<EblcTable*>(new_font->GetTable(Tag::EBLC)); in TestIndexFormatConversion() 169 down_cast<IndexSubTableFormat4*>(strike4->GetIndexSubTable(0)); in TestIndexFormatConversion() 178 EblcTablePtr original_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC)); in TestIndexFormatConversion() 183 down_cast<IndexSubTableFormat3*>(strike4->GetIndexSubTable(0)); in TestIndexFormatConversion()
|
D | name_editing_test.cc | 54 NameTableBuilderPtr name_builder = down_cast<NameTable::Builder*>( in TestChangeOneName() 80 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in TestChangeOneName() 98 NameTableBuilderPtr name_builder = down_cast<NameTable::Builder*>( in TestModifyNameTableAndRevert() 129 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in TestModifyNameTableAndRevert() 149 NameTableBuilderPtr name_builder = down_cast<NameTable::Builder*>( in TestRemoveOneName() 175 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in TestRemoveOneName()
|
D | font_data_test.cc | 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()
|
D | cmap_editing_test.cc | 59 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap)); in TEST() 76 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap)); in TEST() 94 down_cast<CMapTable*>(font->GetTable(Tag::cmap)); in TEST()
|
D | otf_basic_editing_test.cc | 57 down_cast<FontHeaderTable::Builder*>( in TestOTFBasicEditing() 76 down_cast<FontHeaderTable*>(font->GetTable(Tag::head)); in TestOTFBasicEditing()
|
D | font_parsing_test.cc | 56 down_cast<GenericTableBuilder*>(font_builder->GetTableBuilder(Tag::feat)); in TestFontParsing() 72 down_cast<FontHeaderTable::Builder*>( in TestFontParsing()
|
/external/sfntly/cpp/src/sample/subtly/ |
D | font_assembler.cc | 78 down_cast<CMapTable::Builder*> in AssembleCMapTable() 83 down_cast<CMapTable::CMapFormat4::Builder*> in AssembleCMapTable() 145 down_cast<LocaTable::Builder*> in AssembleGlyphAndLocaTables() 148 down_cast<GlyphTable::Builder*> in AssembleGlyphAndLocaTables() 159 down_cast<LocaTable*>(font_info_->GetTable(it->first, Tag::loca)); in AssembleGlyphAndLocaTables() 171 down_cast<LocaTable*> in AssembleGlyphAndLocaTables() 188 down_cast<LocaTable*> in AssembleGlyphAndLocaTables() 195 down_cast<GlyphTable*> in AssembleGlyphAndLocaTables()
|
D | font_info.cc | 129 Ptr<CMapTable> cmap_table = down_cast<CMapTable*>(font_->GetTable(Tag::cmap)); in Initialize() 136 loca_table_ = down_cast<LocaTable*>(font_->GetTable(Tag::loca)); in Initialize() 137 glyph_table_ = down_cast<GlyphTable*>(font_->GetTable(Tag::glyf)); in Initialize() 242 down_cast<GlyphTable::CompositeGlyph*>(glyph.p_); in ResolveCompositeGlyphs()
|
/external/sfntly/cpp/src/sfntly/tools/subsetter/ |
D | glyph_table_subsetter.cc | 46 GlyphTablePtr glyph_table = down_cast<GlyphTable*>(font->GetTable(Tag::glyf)); in Subset() 47 LocaTablePtr loca_table = down_cast<LocaTable*>(font->GetTable(Tag::loca)); in Subset() 56 down_cast<GlyphTable::Builder*> in Subset() 59 down_cast<LocaTable::Builder*> in Subset()
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | index_sub_table_format2.cc | 34 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()
|
D | index_sub_table_format5.cc | 64 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()
|
D | bitmap_size_table.cc | 517 down_cast<IndexSubTableFormat1::Builder::BitmapGlyphInfoIterator*>( in HasNext() 524 down_cast<IndexSubTableFormat2::Builder::BitmapGlyphInfoIterator*>( in HasNext() 531 down_cast<IndexSubTableFormat3::Builder::BitmapGlyphInfoIterator*>( in HasNext() 538 down_cast<IndexSubTableFormat4::Builder::BitmapGlyphInfoIterator*>( in HasNext() 545 down_cast<IndexSubTableFormat5::Builder::BitmapGlyphInfoIterator*>( in HasNext() 564 down_cast<IndexSubTableFormat1::Builder::BitmapGlyphInfoIterator*>( in Next() 571 down_cast<IndexSubTableFormat2::Builder::BitmapGlyphInfoIterator*>( in Next() 578 down_cast<IndexSubTableFormat3::Builder::BitmapGlyphInfoIterator*>( in Next() 585 down_cast<IndexSubTableFormat4::Builder::BitmapGlyphInfoIterator*>( in Next() 592 down_cast<IndexSubTableFormat5::Builder::BitmapGlyphInfoIterator*>( in Next()
|
D | eblc_table.cc | 71 new_data.Attach(down_cast<ReadableFontData*>( 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()
|
D | index_sub_table_format3.cc | 135 new_data.Attach(down_cast<ReadableFontData*>( in CreateBuilder() 158 new_data.Attach(down_cast<WritableFontData*>( in CreateBuilder() 202 source.Attach(down_cast<ReadableFontData*>(InternalReadData()->Slice( in SubSerialize() 204 target.Attach(down_cast<WritableFontData*>(new_data->Slice( in SubSerialize()
|
D | index_sub_table_format1.cc | 122 new_data.Attach(down_cast<ReadableFontData*>( in CreateBuilder() 146 new_data.Attach(down_cast<WritableFontData*>( in CreateBuilder() 190 source.Attach(down_cast<ReadableFontData*>(InternalReadData()->Slice( in SubSerialize() 192 target.Attach(down_cast<WritableFontData*>(new_data->Slice( in SubSerialize()
|
D | ebdt_table.cc | 38 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()
|
D | index_sub_table_format4.cc | 169 new_data.Attach(down_cast<ReadableFontData*>( in CreateBuilder() 192 new_data.Attach(down_cast<WritableFontData*>( in CreateBuilder() 237 source.Attach(down_cast<ReadableFontData*>(InternalReadData()->Slice( in SubSerialize() 239 target.Attach(down_cast<WritableFontData*>(new_data->Slice( in SubSerialize()
|
/external/sfntly/cpp/src/sample/chromium/ |
D | subsetter_impl.cc | 101 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in HasName() 204 down_cast<GlyphTable::CompositeGlyph*>(glyph.p_); in ResolveCompositeGlyphs() 233 down_cast<GlyphTable::Builder*>(font_builder->NewTableBuilder(Tag::glyf)); in SetupGlyfBuilders() 235 down_cast<LocaTable::Builder*>(font_builder->NewTableBuilder(Tag::loca)); in SetupGlyfBuilders() 437 down_cast<IndexSubTableFormat2::Builder*>(b); in ConstructIndexFormat5() 442 down_cast<IndexSubTableFormat5::Builder*>(b); in ConstructIndexFormat5() 569 EbdtTablePtr ebdt_table = down_cast<EbdtTable*>(font->GetTable(Tag::EBDT)); in SetupBitmapBuilders() 570 EblcTablePtr eblc_table = down_cast<EblcTable*>(font->GetTable(Tag::EBLC)); in SetupBitmapBuilders() 573 ebdt_table = down_cast<EbdtTable*>(font->GetTable(Tag::bdat)); in SetupBitmapBuilders() 574 eblc_table = down_cast<EblcTable*>(font->GetTable(Tag::bloc)); in SetupBitmapBuilders() [all …]
|
/external/sfntly/cpp/src/sfntly/ |
D | font.cc | 378 table.Attach(down_cast<Table*>(builder->second->Build())); in BuildTablesFromBuilders() 411 down_cast<FontHeaderTable::Builder*>(raw_head_builder); in InterRelateBuilders() 418 down_cast<HorizontalHeaderTable::Builder*>(raw_hhea_builder); in InterRelateBuilders() 425 down_cast<MaximumProfileTable::Builder*>(raw_maxp_builder); in InterRelateBuilders() 431 loca_table_builder = down_cast<LocaTable::Builder*>(raw_loca_builder); in InterRelateBuilders() 438 down_cast<HorizontalMetricsTable::Builder*>(raw_hmtx_builder); in InterRelateBuilders() 446 down_cast<HorizontalDeviceMetricsTable::Builder*>(raw_hdmx_builder); in InterRelateBuilders() 552 WritableFontDataPtr data = down_cast<WritableFontData*>(sliced_data.p_); in LoadTableData()
|
/external/protobuf/src/google/protobuf/ |
D | repeated_field_reflection_unittest.cc | 123 EXPECT_EQ(down_cast<const ForeignMessage*>(&rpf_message.Get(i))->c(), in TEST() 131 EXPECT_EQ(down_cast<const ForeignMessage*>(&mrpf_message->Get(i))->c(), in TEST() 143 down_cast<ForeignMessage*>(mrpf_message->Mutable(i))->set_c(Func(i, 7)); in TEST()
|
/external/ceres-solver/internal/ceres/ |
D | block_sparse_matrix_test.cc | 51 A_.reset(down_cast<BlockSparseMatrix*>(problem->A.release())); in SetUp() 55 B_.reset(down_cast<TripletSparseMatrix*>(problem->A.release())); in SetUp()
|
D | schur_complement_solver.cc | 125 down_cast<const BlockRandomAccessDenseMatrix*>(lhs()); in SolveReducedLinearSystem() 292 down_cast<const BlockRandomAccessSparseMatrix*>(lhs())->matrix()); in SolveReducedLinearSystemUsingSuiteSparse() 400 down_cast<const BlockRandomAccessSparseMatrix*>(lhs())->matrix()); in SolveReducedLinearSystemUsingCXSparse() 459 down_cast<const BlockRandomAccessSparseMatrix*>(lhs())->matrix()); in SolveReducedLinearSystemUsingEigen()
|
D | dynamic_compressed_row_finalizer.h | 43 down_cast<DynamicCompressedRowSparseMatrix*>(base_jacobian); in operator()
|