Lines Matching refs:Stored
162 template <typename Stored, typename Subclass>
163 Stored * call_create () const { return Subclass::create (get_data ()); } in call_create()
170 template <typename Stored, typename Funcs>
171 Stored * call_create () const { return Funcs::create (); } in call_create()
181 typename Stored = Returned>
185 hb_lazy_loader_t<Returned,Subclass,Data,WheresData,Stored>
195 Stored *p = instance.get (); in free_instance()
201 static void do_destroy (Stored *p) in do_destroy()
203 if (p && p != const_cast<Stored *> (Funcs::get_null ())) in do_destroy()
213 Stored * get_stored () const in get_stored()
216 Stored *p = this->instance.get (); in get_stored()
220 return const_cast<Stored *> (Funcs::get_null ()); in get_stored()
222 p = this->template call_create<Stored, Funcs> (); in get_stored()
224 p = const_cast<Stored *> (Funcs::get_null ()); in get_stored()
234 Stored * get_stored_relaxed () const in get_stored_relaxed()
239 bool cmpexch (Stored *current, Stored *value) const in cmpexch()
250 static Returned* convert (Stored *p) { return p; } in convert()
253 static const Stored* get_null () { return &Null(Stored); } in get_null()
254 static Stored *create (Data *data) in create()
256 Stored *p = (Stored *) calloc (1, sizeof (Stored)); in create()
261 static Stored *create () in create()
263 Stored *p = (Stored *) calloc (1, sizeof (Stored)); in create()
268 static void destroy (Stored *p) in destroy()
276 hb_atomic_ptr_t<Stored *> instance;