Searched refs:CastP (Results 1 – 4 of 4) sorted by relevance
69 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()
55 static inline const Type* CastP(const TObject *X) in CastP() function58 static inline Type* CastP(TObject *X) in CastP() function143 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()
223 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()
177 { 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()