Searched refs:hb_atomic_ptr_cmpexch (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-atomic-private.hh62 #define hb_atomic_ptr_cmpexch(P,O,N) (InterlockedCompareExchangePointer ((void **) (P), (void *) (N), (void *) (O)) == (void *) (O)) macro
79 #define hb_atomic_ptr_cmpexch(P,O,N) OSAtomicCompareAndSwapPtrBarrier ((void *) (O), (void *) (N), (void **) (P)) macro
82 #define hb_atomic_ptr_cmpexch(P,O,N) OSAtomicCompareAndSwap64Barrier ((int64_t) (O), (int64_t) (N), (int64_t*) (P)) macro
84 #define hb_atomic_ptr_cmpexch(P,O,N) OSAtomicCompareAndSwap32Barrier ((int32_t) (O), (int32_t) (N), (int32_t*) (P)) macro
95 #define hb_atomic_ptr_cmpexch(P,O,N) __sync_bool_compare_and_swap ((P), (O), (N)) macro
107 #define hb_atomic_ptr_cmpexch(P,O,N) ( ({__machine_rw_barrier ();}), atomic_cas_ptr ((void **) (P), (void *) (O), (void *) (N)) == (void *) (O) ? true : false) macro
117 #define hb_atomic_ptr_cmpexch(P,O,N) (* (void * volatile *) (P) == (void *) (O) ? (* (void * volatile *) (P) = (void *) (N), true) : false) macro
126 #define hb_atomic_ptr_cmpexch(P,O,N) (* (void **) (P) == (void *) (O) ? (* (void **) (P) = (void *) (N), true) : false) macro
H A Dhb-shaper.cc60 (void) hb_atomic_ptr_cmpexch (&static_shapers, NULL, &all_shapers[0]);
67 (void) hb_atomic_ptr_cmpexch (&static_shapers, NULL, &all_shapers[0]);
98 if (!hb_atomic_ptr_cmpexch (&static_shapers, NULL, shapers)) {
H A Dhb-shaper-private.hh97 if (!hb_atomic_ptr_cmpexch (&HB_SHAPER_DATA (shaper, object), NULL, data)) { \
H A Dhb-common.cc226 if (!hb_atomic_ptr_cmpexch (&langs, first_lang, lang)) {
273 hb_atomic_ptr_cmpexch (&default_language, HB_LANGUAGE_INVALID, language);
H A Dhb-icu.cc366 hb_atomic_ptr_cmpexch (&normalizer, NULL, unorm2_getNFCInstance (&icu_err));
H A Dhb-shape-plan.cc298 if (!hb_atomic_ptr_cmpexch (&face->shape_plans, cached_plan_nodes, node)) {
H A Dhb-shape.cc233 if (!hb_atomic_ptr_cmpexch (&static_shaper_list, NULL, shaper_list)) {
H A Dhb-ot-shape-complex-arabic.cc333 if (unlikely (!hb_atomic_ptr_cmpexch (&(const_cast<arabic_shape_plan_t *> (arabic_plan))->fallback_plan, NULL, fallback_plan))) {
H A Dhb-ft.cc417 if (!hb_atomic_ptr_cmpexch (&ft_library, NULL, library)) {
/external/harfbuzz_ng/src/
H A Dhb-atomic-private.hh54 #define hb_atomic_ptr_cmpexch(P,O,N) (InterlockedCompareExchangePointer ((void **) (P), (void *) (N), (void *) (O)) == (void *) (O)) macro
71 #define hb_atomic_ptr_cmpexch(P,O,N) OSAtomicCompareAndSwapPtrBarrier ((void *) (O), (void *) (N), (void **) (P)) macro
74 #define hb_atomic_ptr_cmpexch(P,O,N) OSAtomicCompareAndSwap64Barrier ((int64_t) (O), (int64_t) (N), (int64_t*) (P)) macro
76 #define hb_atomic_ptr_cmpexch(P,O,N) OSAtomicCompareAndSwap32Barrier ((int32_t) (O), (int32_t) (N), (int32_t*) (P)) macro
87 #define hb_atomic_ptr_cmpexch(P,O,N) __sync_bool_compare_and_swap ((P), (O), (N)) macro
99 #define hb_atomic_ptr_cmpexch(P,O,N) ( ({__machine_rw_barrier ();}), atomic_cas_ptr ((void **) (P), (void *) (O), (void *) (N)) == (void *) (O) ? true : false) macro
109 #define hb_atomic_ptr_cmpexch(P,O,N) (* (void * volatile *) (P) == (void *) (O) ? (* (void * volatile *) (P) = (void *) (N), true) : false) macro
118 #define hb_atomic_ptr_cmpexch(P,O,N) (* (void **) (P) == (void *) (O) ? (* (void **) (P) = (void *) (N), true) : false) macro
H A Dhb-shaper.cc60 (void) hb_atomic_ptr_cmpexch (&static_shapers, NULL, &all_shapers[0]);
67 (void) hb_atomic_ptr_cmpexch (&static_shapers, NULL, &all_shapers[0]);
98 if (!hb_atomic_ptr_cmpexch (&static_shapers, NULL, shapers)) {
H A Dhb-shaper-private.hh97 if (!hb_atomic_ptr_cmpexch (&HB_SHAPER_DATA (shaper, object), NULL, data)) { \
H A Dhb-common.cc226 if (!hb_atomic_ptr_cmpexch (&langs, first_lang, lang)) {
273 hb_atomic_ptr_cmpexch (&default_language, HB_LANGUAGE_INVALID, language);
H A Dhb-icu.cc366 hb_atomic_ptr_cmpexch (&normalizer, NULL, unorm2_getNFCInstance (&icu_err));
H A Dhb-shape-plan.cc298 if (!hb_atomic_ptr_cmpexch (&face->shape_plans, cached_plan_nodes, node)) {
H A Dhb-shape.cc233 if (!hb_atomic_ptr_cmpexch (&static_shaper_list, NULL, shaper_list)) {
H A Dhb-ot-shape-complex-arabic.cc333 if (unlikely (!hb_atomic_ptr_cmpexch (&(const_cast<arabic_shape_plan_t *> (arabic_plan))->fallback_plan, NULL, fallback_plan))) {
H A Dhb-ft.cc417 if (!hb_atomic_ptr_cmpexch (&ft_library, NULL, library)) {

Completed in 65 milliseconds