Home
last modified time | relevance | path

Searched refs:old_ref (Results 1 – 2 of 2) sorted by relevance

/third_party/glib/gobject/
Dgobject.c3419 gint old_ref; in g_object_unref() local
3425 old_ref = g_atomic_int_get (&object->ref_count); in g_object_unref()
3426 if (old_ref > 1) in g_object_unref()
3431 if (!g_atomic_int_compare_and_exchange ((int *)&object->ref_count, old_ref, old_ref - 1)) in g_object_unref()
3434 TRACE (GOBJECT_OBJECT_UNREF(object,G_TYPE_FROM_INSTANCE(object),old_ref)); in g_object_unref()
3437 …if (old_ref == 2 && has_toggle_ref) /* The last ref being held in this case is owned by the toggle… in g_object_unref()
3463 old_ref = g_atomic_int_get (&object->ref_count); in g_object_unref()
3464 if (old_ref != 1) in g_object_unref()
3491 old_ref = g_atomic_int_get ((int *)&object->ref_count); in g_object_unref()
3492 if (old_ref > 1) in g_object_unref()
[all …]
/third_party/ffmpeg/libavcodec/
Dh264_direct.c88 int j, old_ref, rfield; in fill_colmap() local
97 for (old_ref = 0; old_ref < ref1->ref_count[colfield][list]; old_ref++) { in fill_colmap()
98 int poc = ref1->ref_poc[colfield][list][old_ref]; in fill_colmap()
111 map[list][2 * old_ref + (rfield ^ field) + 16] = cur_ref; in fill_colmap()
113 map[list][old_ref] = cur_ref; in fill_colmap()