Home
last modified time | relevance | path

Searched refs:g_atomic_pointer_compare_and_exchange (Results 1 – 25 of 27) sorted by relevance

12

/third_party/glib/glib/tests/
Datomic.c86 res = g_atomic_pointer_compare_and_exchange (&vp, &s, &s); in test_types()
89 res = g_atomic_pointer_compare_and_exchange (&vp, NULL, NULL); in test_types()
94 res = g_atomic_pointer_compare_and_exchange (&vp_str, NULL, str); in test_types()
101 res = g_atomic_pointer_compare_and_exchange (&vp_str_vol, NULL, str); in test_types()
107 res = g_atomic_pointer_compare_and_exchange (&ip, NULL, NULL); in test_types()
115 res = g_atomic_pointer_compare_and_exchange (&gs, NULL, NULL); in test_types()
146 #undef g_atomic_pointer_compare_and_exchange in test_types()
205 res = g_atomic_pointer_compare_and_exchange (&vp, &s, &s); in test_types()
208 res = g_atomic_pointer_compare_and_exchange (&vp, NULL, NULL); in test_types()
213 res = g_atomic_pointer_compare_and_exchange (&vp_str, NULL, (char *) str); in test_types()
[all …]
Dslice.c122 if (!g_atomic_pointer_compare_and_exchange (loc, NULL, p)) in thread_allocate()
127 if (g_atomic_pointer_compare_and_exchange (loc, p, NULL)) in thread_allocate()
Dcxx.cpp43 g_atomic_pointer_compare_and_exchange (&obj5, nullptr, obj4); in test_typeof()
/third_party/gstreamer/gstreamer/gst/
Dgstatomicqueue.c120 } while (!g_atomic_pointer_compare_and_exchange (&queue->free_list, in add_to_free_list()
134 } while (!g_atomic_pointer_compare_and_exchange (&queue->free_list, free_list, in clear_free_list()
248 if (!g_atomic_pointer_compare_and_exchange (&queue->head_mem, head_mem, in gst_atomic_queue_peek()
306 (!g_atomic_pointer_compare_and_exchange (&queue->head_mem, head_mem, in gst_atomic_queue_pop()
364 (!g_atomic_pointer_compare_and_exchange (&queue->tail_mem, tail_mem, in gst_atomic_queue_push()
Dgstdeviceproviderfactory.c295 if (!g_atomic_pointer_compare_and_exchange (&oclass->factory, in gst_device_provider_factory_get()
306 if (!g_atomic_pointer_compare_and_exchange (&newfactory->provider, in gst_device_provider_factory_get()
Dgstminiobject.c746 while (G_UNLIKELY (!g_atomic_pointer_compare_and_exchange ((gpointer *) in gst_mini_object_replace()
783 } while (G_UNLIKELY (!g_atomic_pointer_compare_and_exchange ((gpointer *) in gst_mini_object_steal()
819 } while (G_UNLIKELY (!g_atomic_pointer_compare_and_exchange ((gpointer *) in gst_mini_object_take()
Dgstelementfactory.c506 if (!g_atomic_pointer_compare_and_exchange (&oclass->elementfactory, in gst_element_factory_create_with_properties()
Dgstobject.c360 while (G_UNLIKELY (!g_atomic_pointer_compare_and_exchange ((gpointer *) in gst_object_replace()
Dgstbufferpool.c1377 if (!g_atomic_pointer_compare_and_exchange (&buffer->pool, pool, NULL)) in gst_buffer_pool_release_buffer()
Dgstcaps.c922 if (!g_atomic_pointer_compare_and_exchange (storage, in gst_caps_get_features()
Dgststructure.c608 } while (G_UNLIKELY (!g_atomic_pointer_compare_and_exchange ((gpointer *) in gst_structure_take()
/third_party/glib/glib/
Dgatomic.h68 gboolean g_atomic_pointer_compare_and_exchange (volatile void *atomic,
206 #define g_atomic_pointer_compare_and_exchange(atomic, oldval, newval) \ macro
215 #define g_atomic_pointer_compare_and_exchange(atomic, oldval, newval) \
379 #define g_atomic_pointer_compare_and_exchange(atomic, oldval, newval) \
455 #define g_atomic_pointer_compare_and_exchange(atomic, oldval, newval) \
456 (g_atomic_pointer_compare_and_exchange ((atomic), (gpointer) (oldval), (gpointer) (newval)))
Dgatomic.c398 (g_atomic_pointer_compare_and_exchange) (volatile void *atomic, in gboolean() argument
402 return g_atomic_pointer_compare_and_exchange ((gpointer *) atomic, in gboolean()
659 (g_atomic_pointer_compare_and_exchange) (volatile void *atomic, in gboolean() argument
870 (g_atomic_pointer_compare_and_exchange) (volatile void *atomic, in gboolean() argument
Dgthread-posix.c144 if (!g_atomic_pointer_compare_and_exchange (&mutex->p, NULL, impl)) in g_mutex_get_impl()
317 if (!g_atomic_pointer_compare_and_exchange (&rec_mutex->p, NULL, impl)) in g_rec_mutex_get_impl()
477 if (!g_atomic_pointer_compare_and_exchange (&lock->p, NULL, impl)) in g_rw_lock_get_impl()
720 if (!g_atomic_pointer_compare_and_exchange (&cond->p, NULL, impl)) in g_cond_get_impl()
1062 if (!g_atomic_pointer_compare_and_exchange (&key->p, NULL, impl)) in g_private_get_impl()
Dgthread-win32.c340 if (!g_atomic_pointer_compare_and_exchange (&g_private_destructors, in g_private_get_impl()
347 if (!g_atomic_pointer_compare_and_exchange (&key->p, NULL, impl)) in g_private_get_impl()
Dgdataset.c149 } while (!g_atomic_pointer_compare_and_exchange ((void**) datalist, _oldv, _newv)); \
Dgtestutils.c4250 while (!g_atomic_pointer_compare_and_exchange (test_filename_free_list, node->next, node)); in g_test_get_filename()
/third_party/gstreamer/gstreamer/tests/examples/memory/
Dmy-memory.c70 if (g_atomic_pointer_compare_and_exchange (&mem->data, NULL, res)) in _my_mem_map()
Dmy-vidmem.c65 if (g_atomic_pointer_compare_and_exchange (&mem->data, NULL, res)) in _my_vidmem_map()
/third_party/glib/gio/
Dgresource.c1369 while (!g_atomic_pointer_compare_and_exchange (&lazy_register_resources, list, NULL)); in register_lazy_static_resources_unlocked()
1420 while (!g_atomic_pointer_compare_and_exchange (&lazy_register_resources, next, static_resource)); in g_static_resource_init()
/third_party/gstreamer/gstplugins_bad/gst/autoconvert/
Dgstautoconvert.c228 if (g_atomic_pointer_compare_and_exchange (&autoconvert->factories, in gst_auto_convert_dispose()
252 if (g_atomic_pointer_compare_and_exchange (&autoconvert->factories, in gst_auto_convert_set_property()
900 if (!g_atomic_pointer_compare_and_exchange (&autoconvert->factories, in gst_auto_convert_load_factories()
/third_party/glib/gobject/
Dgobject.c3122 while (!g_atomic_pointer_compare_and_exchange ((void**) &object->qdata, oldvalue, in object_floating_flag_handler()
3128 while (!g_atomic_pointer_compare_and_exchange ((void**) &object->qdata, oldvalue, in object_floating_flag_handler()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvaallocator.c273 !g_atomic_pointer_compare_and_exchange (old, NULL, surface_copy)) { in _ensure_surface_copy()
/third_party/glib/docs/reference/glib/
Dglib-sections.txt1214 g_atomic_pointer_compare_and_exchange
/third_party/glib/
DNEWS272 - !1919 atomic: Fix type check of g_atomic_pointer_compare_and_exchange()
1220 - !1287 atomic/tests: test g_atomic_pointer_compare_and_exchange() with const pointers
12475 * Fix g_atomic_pointer_compare_and_exchange

12