Lines Matching full:stored
157 template <typename Stored, typename Subclass>
158 Stored * call_create () const { return Subclass::create (get_data ()); } in call_create()
165 template <typename Stored, typename Funcs>
166 Stored * call_create () const { return Funcs::create (); } in call_create()
176 typename Stored = Returned>
180 hb_lazy_loader_t<Returned,Subclass,Data,WheresData,Stored>
193 Stored *p = instance.get_acquire (); in free_instance()
199 static void do_destroy (Stored *p) in do_destroy()
201 if (p && p != const_cast<Stored *> (Funcs::get_null ())) in do_destroy()
212 Stored * get_stored () const in get_stored()
215 Stored *p = this->instance.get_acquire (); in get_stored()
219 return const_cast<Stored *> (Funcs::get_null ()); in get_stored()
221 p = this->template call_create<Stored, Funcs> (); in get_stored()
223 p = const_cast<Stored *> (Funcs::get_null ()); in get_stored()
233 Stored * get_stored_relaxed () const in get_stored_relaxed()
238 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 *) hb_calloc (1, sizeof (Stored)); in create()
258 p = new (p) Stored (data); in create()
261 static Stored *create () in create()
263 Stored *p = (Stored *) hb_calloc (1, sizeof (Stored)); in create()
265 p = new (p) Stored (); in create()
268 static void destroy (Stored *p) in destroy()
270 p->~Stored (); in destroy()
276 hb_atomic_ptr_t<Stored *> instance;