Searched refs:down_cast (Results 1 - 25 of 120) sorted by relevance

12345

/external/ceres-solver/internal/ceres/
H A Ddynamic_compressed_row_finalizer.h43 down_cast<DynamicCompressedRowSparseMatrix*>(base_jacobian);
H A Dblock_evaluate_preparer.cc64 down_cast<BlockSparseMatrix*>(jacobian)->mutable_values();
H A Dcasts.h89 template<typename To, typename From> // use like this: down_cast<T*>(foo);
90 inline To down_cast(From* f) { // so we only accept pointers function in namespace:ceres
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/
H A Dfont_header_table.cc122 return down_cast<FontHeaderTable*>(GetTable())->TableVersion();
130 return down_cast<FontHeaderTable*>(GetTable())->FontRevision();
138 return down_cast<FontHeaderTable*>(GetTable())->ChecksumAdjustment();
146 return down_cast<FontHeaderTable*>(GetTable())->MagicNumber();
154 return down_cast<FontHeaderTable*>(GetTable())->FlagsAsInt();
162 return down_cast<FontHeaderTable*>(GetTable())->UnitsPerEm();
170 return down_cast<FontHeaderTable*>(GetTable())->Created();
178 return down_cast<FontHeaderTable*>(GetTable())->Modified();
186 return down_cast<FontHeaderTable*>(GetTable())->XMin();
194 return down_cast<FontHeaderTabl
[all...]
/external/sfntly/cpp/src/sfntly/table/core/
H A Dfont_header_table.cc122 return down_cast<FontHeaderTable*>(GetTable())->TableVersion();
130 return down_cast<FontHeaderTable*>(GetTable())->FontRevision();
138 return down_cast<FontHeaderTable*>(GetTable())->ChecksumAdjustment();
146 return down_cast<FontHeaderTable*>(GetTable())->MagicNumber();
154 return down_cast<FontHeaderTable*>(GetTable())->FlagsAsInt();
162 return down_cast<FontHeaderTable*>(GetTable())->UnitsPerEm();
170 return down_cast<FontHeaderTable*>(GetTable())->Created();
178 return down_cast<FontHeaderTable*>(GetTable())->Modified();
186 return down_cast<FontHeaderTable*>(GetTable())->XMin();
194 return down_cast<FontHeaderTabl
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/tools/subsetter/
H A Dglyph_table_subsetter.cc46 GlyphTablePtr glyph_table = down_cast<GlyphTable*>(font->GetTable(Tag::glyf));
47 LocaTablePtr loca_table = down_cast<LocaTable*>(font->GetTable(Tag::loca));
56 down_cast<GlyphTable::Builder*>
59 down_cast<LocaTable::Builder*>
/external/sfntly/cpp/src/sfntly/tools/subsetter/
H A Dglyph_table_subsetter.cc46 GlyphTablePtr glyph_table = down_cast<GlyphTable*>(font->GetTable(Tag::glyf));
47 LocaTablePtr loca_table = down_cast<LocaTable*>(font->GetTable(Tag::loca));
56 down_cast<GlyphTable::Builder*>
59 down_cast<LocaTable::Builder*>
/external/chromium_org/third_party/sfntly/cpp/src/test/
H A Dbitmap_table_test.cc55 EblcTablePtr bitmap_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC));
56 EbdtTablePtr bitmap_table = down_cast<EbdtTable*>(font->GetTable(Tag::EBDT));
103 EblcTablePtr bitmap_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC));
113 down_cast<IndexSubTableFormat3*>(strike4->GetIndexSubTable(0));
140 down_cast<EblcTable::Builder*>(font_builder->GetTableBuilder(Tag::EBLC));
166 down_cast<EblcTable*>(new_font->GetTable(Tag::EBLC));
169 down_cast<IndexSubTableFormat4*>(strike4->GetIndexSubTable(0));
178 EblcTablePtr original_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC));
183 down_cast<IndexSubTableFormat3*>(strike4->GetIndexSubTable(0));
H A Dcmap_editing_test.cc59 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap));
76 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap));
94 down_cast<CMapTable*>(font->GetTable(Tag::cmap));
H A Dverify_glyf.cc34 GlyphTablePtr glyf_table = down_cast<GlyphTable*>(table);
H A Dverify_hhea.cc36 HorizontalHeaderTablePtr hhea = down_cast<HorizontalHeaderTable*>(table);
H A Dverify_loca.cc41 LocaTablePtr loca = down_cast<LocaTable*>(table);
H A Dotf_basic_editing_test.cc57 down_cast<FontHeaderTable::Builder*>(
76 down_cast<FontHeaderTable*>(font->GetTable(Tag::head));
/external/sfntly/cpp/src/test/
H A Dbitmap_table_test.cc55 EblcTablePtr bitmap_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC));
56 EbdtTablePtr bitmap_table = down_cast<EbdtTable*>(font->GetTable(Tag::EBDT));
103 EblcTablePtr bitmap_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC));
113 down_cast<IndexSubTableFormat3*>(strike4->GetIndexSubTable(0));
140 down_cast<EblcTable::Builder*>(font_builder->GetTableBuilder(Tag::EBLC));
166 down_cast<EblcTable*>(new_font->GetTable(Tag::EBLC));
169 down_cast<IndexSubTableFormat4*>(strike4->GetIndexSubTable(0));
178 EblcTablePtr original_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC));
183 down_cast<IndexSubTableFormat3*>(strike4->GetIndexSubTable(0));
H A Dcmap_editing_test.cc59 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap));
76 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap));
94 down_cast<CMapTable*>(font->GetTable(Tag::cmap));
H A Dverify_glyf.cc34 GlyphTablePtr glyf_table = down_cast<GlyphTable*>(table);
H A Dverify_hhea.cc36 HorizontalHeaderTablePtr hhea = down_cast<HorizontalHeaderTable*>(table);
H A Dverify_loca.cc41 LocaTablePtr loca = down_cast<LocaTable*>(table);
/external/chromium_org/third_party/cld/base/
H A Dcasts.h8 #include <assert.h> // for use with down_cast<>
55 template<typename To, typename From> // use like this: down_cast<T*>(foo);
56 inline To down_cast(From* f) { // so we only accept pointers function
69 // Overload of down_cast for references. Use like this: down_cast<T&>(foo).
75 // or the reference form. If you call down_cast with a const T&, the
78 inline To down_cast(From& f) { function
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
H A Dfont_assembler.cc78 down_cast<CMapTable::Builder*>
83 down_cast<CMapTable::CMapFormat4::Builder*>
145 down_cast<LocaTable::Builder*>
148 down_cast<GlyphTable::Builder*>
159 down_cast<LocaTable*>(font_info_->GetTable(it->first, Tag::loca));
171 down_cast<LocaTable*>
188 down_cast<LocaTable*>
195 down_cast<GlyphTable*>
/external/sfntly/cpp/src/sample/subtly/
H A Dfont_assembler.cc78 down_cast<CMapTable::Builder*>
83 down_cast<CMapTable::CMapFormat4::Builder*>
145 down_cast<LocaTable::Builder*>
148 down_cast<GlyphTable::Builder*>
159 down_cast<LocaTable*>(font_info_->GetTable(it->first, Tag::loca));
171 down_cast<LocaTable*>
188 down_cast<LocaTable*>
195 down_cast<GlyphTable*>
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
H A Dindex_sub_table_format2.cc34 slice.Attach(down_cast<ReadableFontData*>(
114 data.Attach(down_cast<WritableFontData*>(InternalWriteData()->Slice(
140 new_data.Attach(down_cast<ReadableFontData*>(
163 new_data.Attach(down_cast<WritableFontData*>(
197 source.Attach(down_cast<ReadableFontData*>(
199 target.Attach(down_cast<WritableFontData*>(new_data->Slice(size)));
205 slice.Attach(down_cast<WritableFontData*>(new_data->Slice(size)));
/external/sfntly/cpp/src/sfntly/table/bitmap/
H A Dindex_sub_table_format2.cc34 slice.Attach(down_cast<ReadableFontData*>(
114 data.Attach(down_cast<WritableFontData*>(InternalWriteData()->Slice(
140 new_data.Attach(down_cast<ReadableFontData*>(
163 new_data.Attach(down_cast<WritableFontData*>(
197 source.Attach(down_cast<ReadableFontData*>(
199 target.Attach(down_cast<WritableFontData*>(new_data->Slice(size)));
205 slice.Attach(down_cast<WritableFontData*>(new_data->Slice(size)));
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/
H A Dtable_based_table_builder.cc64 table_.Attach(down_cast<Table*>(SubBuildTable(InternalReadData())));
/external/sfntly/cpp/src/sfntly/table/
H A Dtable_based_table_builder.cc64 table_.Attach(down_cast<Table*>(SubBuildTable(InternalReadData())));

Completed in 326 milliseconds

12345