/third_party/glib/glib/tests/ |
D | atomic.c | 86 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 …]
|
D | slice.c | 122 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()
|
D | cxx.cpp | 43 g_atomic_pointer_compare_and_exchange (&obj5, nullptr, obj4); in test_typeof()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstatomicqueue.c | 120 } 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()
|
D | gstdeviceproviderfactory.c | 295 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()
|
D | gstminiobject.c | 746 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()
|
D | gstelementfactory.c | 506 if (!g_atomic_pointer_compare_and_exchange (&oclass->elementfactory, in gst_element_factory_create_with_properties()
|
D | gstobject.c | 360 while (G_UNLIKELY (!g_atomic_pointer_compare_and_exchange ((gpointer *) in gst_object_replace()
|
D | gstbufferpool.c | 1377 if (!g_atomic_pointer_compare_and_exchange (&buffer->pool, pool, NULL)) in gst_buffer_pool_release_buffer()
|
D | gstcaps.c | 922 if (!g_atomic_pointer_compare_and_exchange (storage, in gst_caps_get_features()
|
D | gststructure.c | 608 } while (G_UNLIKELY (!g_atomic_pointer_compare_and_exchange ((gpointer *) in gst_structure_take()
|
/third_party/glib/glib/ |
D | gatomic.h | 68 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)))
|
D | gatomic.c | 398 (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
|
D | gthread-posix.c | 144 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()
|
D | gthread-win32.c | 340 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()
|
D | gdataset.c | 149 } while (!g_atomic_pointer_compare_and_exchange ((void**) datalist, _oldv, _newv)); \
|
D | gtestutils.c | 4250 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/ |
D | my-memory.c | 70 if (g_atomic_pointer_compare_and_exchange (&mem->data, NULL, res)) in _my_mem_map()
|
D | my-vidmem.c | 65 if (g_atomic_pointer_compare_and_exchange (&mem->data, NULL, res)) in _my_vidmem_map()
|
/third_party/glib/gio/ |
D | gresource.c | 1369 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/ |
D | gstautoconvert.c | 228 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/ |
D | gobject.c | 3122 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/ |
D | gstvaallocator.c | 273 !g_atomic_pointer_compare_and_exchange (old, NULL, surface_copy)) { in _ensure_surface_copy()
|
/third_party/glib/docs/reference/glib/ |
D | glib-sections.txt | 1214 g_atomic_pointer_compare_and_exchange
|
/third_party/glib/ |
D | NEWS | 272 - !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
|