/third_party/skia/third_party/externals/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()
|
D | cmap_table.cc | 81 return down_cast<CMapTable::CMap*>(cmap_builder->Build()); in GetCMap() 398 wdata.Attach(down_cast<WritableFontData*>( in NewInstance() 412 rdata.Attach(down_cast<ReadableFontData*>( in NewInstance() 563 : CMapTable::CMap::Builder(data ? down_cast<WritableFontData*>( in Builder() 574 : CMapTable::CMap::Builder(data ? down_cast<ReadableFontData*>( in Builder() 920 (down_cast<ReadableFontData*> in NewInstance() 934 (down_cast<WritableFontData*> in NewInstance() 1146 size += b->SubSerialize(down_cast<WritableFontData*>(slice.p_)); in SubSerialize()
|
/third_party/skia/third_party/externals/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() 110 EblcTablePtr bitmap_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC)); in TestReadingBitmapTable() 120 down_cast<IndexSubTableFormat3*>(strike4->GetIndexSubTable(0)); in TestReadingBitmapTable() 147 down_cast<EblcTable::Builder*>(font_builder->GetTableBuilder(Tag::EBLC)); in TestIndexFormatConversion() 173 down_cast<EblcTable*>(new_font->GetTable(Tag::EBLC)); in TestIndexFormatConversion() 176 down_cast<IndexSubTableFormat4*>(strike4->GetIndexSubTable(0)); in TestIndexFormatConversion() 185 EblcTablePtr original_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC)); in TestIndexFormatConversion() 190 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 | 67 down_cast<FontHeaderTable::Builder*>( in TestOTFBasicEditing() 87 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()
|
/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/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 | 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 | 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 | 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() 306 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()
|
/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/ |
D | subsetter_impl.cc | 105 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in HasName() 208 down_cast<GlyphTable::CompositeGlyph*>(glyph.p_); in ResolveCompositeGlyphs() 237 down_cast<GlyphTable::Builder*>(font_builder->NewTableBuilder(Tag::glyf)); in SetupGlyfBuilders() 239 down_cast<LocaTable::Builder*>(font_builder->NewTableBuilder(Tag::loca)); in SetupGlyfBuilders() 446 down_cast<IndexSubTableFormat2::Builder*>(b); in ConstructIndexFormat5() 451 down_cast<IndexSubTableFormat5::Builder*>(b); in ConstructIndexFormat5() 578 EbdtTablePtr ebdt_table = down_cast<EbdtTable*>(font->GetTable(Tag::EBDT)); in SetupBitmapBuilders() 579 EblcTablePtr eblc_table = down_cast<EblcTable*>(font->GetTable(Tag::EBLC)); in SetupBitmapBuilders() 582 ebdt_table = down_cast<EbdtTable*>(font->GetTable(Tag::bdat)); in SetupBitmapBuilders() 583 eblc_table = down_cast<EblcTable*>(font->GetTable(Tag::bloc)); in SetupBitmapBuilders() [all …]
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | casts.h | 84 inline To down_cast(From* f) { // so we only accept pointers in down_cast() function 100 inline To down_cast(From& f) { in down_cast() function 131 using internal::down_cast;
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/ |
D | font.cc | 379 table.Attach(down_cast<Table*>(builder->second->Build())); in BuildTablesFromBuilders() 421 down_cast<FontHeaderTable::Builder*>(raw_head_builder); in InterRelateBuilders() 428 down_cast<HorizontalHeaderTable::Builder*>(raw_hhea_builder); in InterRelateBuilders() 435 down_cast<MaximumProfileTable::Builder*>(raw_maxp_builder); in InterRelateBuilders() 441 loca_table_builder = down_cast<LocaTable::Builder*>(raw_loca_builder); in InterRelateBuilders() 448 down_cast<HorizontalMetricsTable::Builder*>(raw_hmtx_builder); in InterRelateBuilders() 456 down_cast<HorizontalDeviceMetricsTable::Builder*>(raw_hdmx_builder); in InterRelateBuilders() 581 WritableFontDataPtr data = down_cast<WritableFontData*>(sliced_data.p_); in LoadTableData()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/truetype/ |
D | glyph_table.cc | 155 size += (*b)->SubSerialize(down_cast<WritableFontData*>(data.p_)); in SubSerialize() 217 sliced_data.Attach(down_cast<ReadableFontData*>(data->Slice(offset, length))); in GetGlyph() 311 sliced_data.Attach(down_cast<ReadableFontData*>(data->Slice(offset, length))); in GetBuilder() 353 return down_cast<ReadableFontData*>( in Instructions() 545 return down_cast<ReadableFontData*>( in Instructions()
|
/third_party/protobuf/src/google/protobuf/ |
D | generated_message_util.h | 80 return PROTOBUF_NAMESPACE_ID::internal::down_cast<To>(f); in DownCast() 84 return PROTOBUF_NAMESPACE_ID::internal::down_cast<To>(f); in DownCast()
|