Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dmain.cc69 const OpenTypeFontFile &ot = *CastP<OpenTypeFontFile> (font_data); in main()
113 const GSUBGPOS &g = *CastP<GSUBGPOS> (font_data + table.offset); in main()
179 const GDEF &gdef = *CastP<GDEF> (font_data + table.offset); in main()
Dhb-open-type-private.hh55 static inline const Type* CastP(const TObject *X) in CastP() function
58 static inline Type* CastP(TObject *X) in CastP() function
143 return *CastP<Type> (_hb_NullPool); in Null()
151 return *CastP<Type> (_Null##Type); \
327 Type *t = CastP<Type> (const_cast<char *> (c->start)); in sanitize()
371 return unlikely (!base) ? &Null(Type) : CastP<Type> (base); in lock_instance()
Dhb-ot-kern-table.hh223 const typename T::SubTableWrapper *st = CastP<typename T::SubTableWrapper> (thiz()->data); in get_h_kerning()
242 const typename T::SubTableWrapper *st = CastP<typename T::SubTableWrapper> (thiz()->data); in sanitize()
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<INT16> (value); } in get_short()
609 const PairValueRecord *record = CastP<PairValueRecord> (arrayZ); in collect_glyphs()
623 const PairValueRecord *record_array = CastP<PairValueRecord> (arrayZ); in apply()
669 const PairValueRecord *record = CastP<PairValueRecord> (arrayZ); in sanitize()