Searched refs:CastP (Results 1 – 3 of 3) sorted by relevance
68 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()
53 static inline const Type* CastP(const TObject *X) in CastP() function56 static inline Type* CastP(TObject *X) in CastP() function138 return *CastP<Type> (_NullPool); in Null()146 return *CastP<Type> (_Null##Type); \332 Type *t = CastP<Type> (const_cast<char *> (c->start)); in sanitize()376 return unlikely (!base) ? &Null(Type) : CastP<Type> (base); in lock_instance()
176 { return *CastP<OffsetTo<Device> > (value); } in get_device()178 { return *CastP<OffsetTo<Device> > (value); } in get_device()181 { return *CastP<SHORT> (value); } in get_short()605 const PairValueRecord *record = CastP<PairValueRecord> (arrayZ); in collect_glyphs()624 const PairValueRecord *record_array = CastP<PairValueRecord> (arrayZ); in apply()671 const PairValueRecord *record = CastP<PairValueRecord> (arrayZ); in sanitize()