Home
last modified time | relevance | path

Searched refs:CastP (Results 1 – 3 of 3) sorted by relevance

/external/harfbuzz_ng/src/
Dmain.cc68 const OpenTypeFontFile &ot = *CastP<OpenTypeFontFile> (font_data); in main()
112 const GSUBGPOS &g = *CastP<GSUBGPOS> (font_data + table.offset); in main()
178 const GDEF &gdef = *CastP<GDEF> (font_data + table.offset); in main()
Dhb-open-type-private.hh54 static inline const Type* CastP(const TObject *X) in CastP() function
57 static inline Type* CastP(TObject *X) in CastP() function
140 return *CastP<Type> (_NullPool); in Null()
148 return *CastP<Type> (_Null##Type); \
334 Type *t = CastP<Type> (const_cast<char *> (c->start)); in sanitize()
378 return unlikely (!base) ? &Null(Type) : CastP<Type> (base); in lock_instance()
Dhb-ot-layout-gpos-table.hh177 { return *CastP<OffsetTo<Device> > (value); } in get_device()
179 { return *CastP<OffsetTo<Device> > (value); } in get_device()
182 { return *CastP<SHORT> (value); } in get_short()
608 const PairValueRecord *record = CastP<PairValueRecord> (arrayZ); in collect_glyphs()
627 const PairValueRecord *record_array = CastP<PairValueRecord> (arrayZ); in apply()
672 const PairValueRecord *record = CastP<PairValueRecord> (arrayZ); in sanitize()