Searched defs:hb_atomic_ptr_t (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-atomic.hh | 160 struct hb_atomic_ptr_t struct 164 hb_atomic_ptr_t () = default; argument 165 constexpr hb_atomic_ptr_t (T* v) : v (v) {} in hb_atomic_ptr_t() function 167 void init (T* v_ = nullptr) { set_relaxed (v_); } in init() 168 void set_relaxed (T* v_) { hb_atomic_ptr_impl_set_relaxed (&v, v_); } in set_relaxed() 169 T *get_relaxed () const { return (T *) hb_atomic_ptr_impl_get_relaxed (&v); } in get_relaxed() 170 T *get () const { return (T *) hb_atomic_ptr_impl_get ((void **) &v); } in get() 171 …, T *new_) const { return hb_atomic_ptr_impl_cmpexch ((void **) &v, (void *) old, (void *) new_); } in cmpexch() 173 T * operator -> () const { return get (); } in operator ->() 174 template <typename C> operator C * () const { return get (); } in operator C*() [all …]
|
/third_party/harfbuzz/src/ |
D | hb-atomic.hh | 168 struct hb_atomic_ptr_t struct 172 hb_atomic_ptr_t () = default; argument 173 constexpr hb_atomic_ptr_t (T* v) : v (v) {} in hb_atomic_ptr_t() function 175 void init (T* v_ = nullptr) { set_relaxed (v_); } in init() 176 void set_relaxed (T* v_) { hb_atomic_ptr_impl_set_relaxed (&v, v_); } in set_relaxed() 177 T *get_relaxed () const { return (T *) hb_atomic_ptr_impl_get_relaxed (&v); } in get_relaxed() 178 T *get () const { return (T *) hb_atomic_ptr_impl_get ((void **) &v); } in get() 179 …, T *new_) const { return hb_atomic_ptr_impl_cmpexch ((void **) &v, (void *) old, (void *) new_); } in cmpexch() 181 T * operator -> () const { return get (); } in operator ->() 182 template <typename C> operator C * () const { return get (); } in operator C*() [all …]
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-atomic.hh | 284 struct hb_atomic_ptr_t struct 286 typedef hb_remove_pointer<P> T; 288 void init (T* v_ = nullptr) { set_relaxed (v_); } in init() 289 void set_relaxed (T* v_) { hb_atomic_ptr_impl_set_relaxed (&v, v_); } in set_relaxed() 290 T *get_relaxed () const { return (T *) hb_atomic_ptr_impl_get_relaxed (&v); } in get_relaxed() 291 T *get () const { return (T *) hb_atomic_ptr_impl_get ((void **) &v); } in get() 292 …, T *new_) const { return hb_atomic_ptr_impl_cmpexch ((void **) &v, (void *) old, (void *) new_); } in cmpexch() 294 T * operator -> () const { return get (); } in operator ->() 295 template <typename C> operator C * () const { return get (); } in operator C*() 297 T *v;
|