Lines Matching defs:hb_lazy_loader_t
780 struct hb_lazy_loader_t : hb_data_wrapper_t<Data, WheresData> struct
784 >::value Funcs;
786 void init0 () {} /* Init, when memory is already set to 0. No-op for us. */ in init0()
787 void init () { instance.set_relaxed (nullptr); } in init()
788 void fini () { do_destroy (instance.get ()); } in fini()
790 void free_instance () in free_instance()
799 static void do_destroy (Stored *p) in do_destroy()
805 const Returned * operator -> () const { return get (); } in operator ->()
806 const Returned & operator * () const { return *get (); } in operator *()
809 template <typename C> operator const C * () const { return get (); } in operator const C*()
811 Stored * get_stored () const in get_stored()
832 Stored * get_stored_relaxed () const in get_stored_relaxed()
837 bool cmpexch (Stored *current, Stored *value) const in cmpexch()
843 const Returned * get () const { return Funcs::convert (get_stored ()); } in get()
844 const Returned * get_relaxed () const { return Funcs::convert (get_stored_relaxed ()); } in get_relaxed()
845 …Returned * get_unconst () const { return const_cast<Returned *> (Funcs::convert (get_stored ())); } in get_unconst()
848 static Returned* convert (Stored *p) { return p; } in convert()
851 static const Stored* get_null () { return &Null(Stored); } in get_null()
852 static Stored *create (Data *data) in create()
880 struct hb_face_lazy_loader_t : hb_lazy_loader_t<T, argument