Lines Matching defs:oldvalue
2082 gpointer oldvalue;
2085 oldvalue = g_atomic_pointer_get (&object->qdata);
2086 while (!g_atomic_pointer_compare_and_exchange ((void**) &object->qdata, oldvalue,
2087 (gpointer) ((gsize) oldvalue | OBJECT_FLOATING_FLAG)));
2088 return (gsize) oldvalue & OBJECT_FLOATING_FLAG;
2091 oldvalue = g_atomic_pointer_get (&object->qdata);
2092 while (!g_atomic_pointer_compare_and_exchange ((void**) &object->qdata, oldvalue,
2093 (gpointer) ((gsize) oldvalue & ~(gsize) OBJECT_FLOATING_FLAG)));
2094 return (gsize) oldvalue & OBJECT_FLOATING_FLAG;