/dports/www/firefox/firefox-99.0/gfx/cairo/cairo/src/ |
H A D | cairo-font-face.c | 99 CAIRO_REFERENCE_COUNT_INIT (&font_face->ref_count, 1); in _cairo_font_face_init() 125 CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_reference() 132 _cairo_reference_count_inc (&font_face->ref_count); in cairo_font_face_reference() 174 CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_destroy() 183 if (__put (&font_face->ref_count)) in cairo_font_face_destroy() 209 if (CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_get_type() 230 CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_get_reference_count() 301 if (CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_set_user_data() 313 CAIRO_REFERENCE_COUNT_INIT (&unscaled_font->ref_count, 1); in _cairo_unscaled_font_init() 325 _cairo_reference_count_inc (&unscaled_font->ref_count); in _cairo_unscaled_font_reference() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/cairo/cairo/src/ |
H A D | cairo-font-face.c | 99 CAIRO_REFERENCE_COUNT_INIT (&font_face->ref_count, 1); in _cairo_font_face_init() 125 CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_reference() 132 _cairo_reference_count_inc (&font_face->ref_count); in cairo_font_face_reference() 174 CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_destroy() 183 if (__put (&font_face->ref_count)) in cairo_font_face_destroy() 209 if (CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_get_type() 230 CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_get_reference_count() 301 if (CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_set_user_data() 313 CAIRO_REFERENCE_COUNT_INIT (&unscaled_font->ref_count, 1); in _cairo_unscaled_font_init() 325 _cairo_reference_count_inc (&unscaled_font->ref_count); in _cairo_unscaled_font_reference() [all …]
|
/dports/devel/template-glib/template-glib-3.34.0/src/ |
H A D | tmpl-expr-private.h | 33 volatile gint ref_count; member 41 volatile gint ref_count; member 58 volatile gint ref_count; member 66 volatile gint ref_count; member 75 volatile gint ref_count; member 82 volatile gint ref_count; member 89 volatile gint ref_count; member 96 volatile gint ref_count; member 103 volatile gint ref_count; member 111 volatile gint ref_count; member [all …]
|
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/cl/api/ |
H A D | retain_release-event.c | 53 int ref_count = 0; in piglit_cl_test() local 95 for(ref_count = 1; ref_count < max_ref_count; ref_count++) { in piglit_cl_test() 122 if(*ref_count_ptr < (ref_count+1)) { in piglit_cl_test() 125 "Expects >=%d got %d\n", ref_count, (ref_count+1), *ref_count_ptr); in piglit_cl_test() 133 for(ref_count = max_ref_count; ref_count > 0; ref_count--) { in piglit_cl_test() 143 if(ref_count > 1) { in piglit_cl_test() 147 if(*ref_count_ptr < (ref_count-1)) { in piglit_cl_test() 150 "Expects >=%d got %d\n", ref_count, (ref_count-1), *ref_count_ptr); in piglit_cl_test()
|
/dports/devel/glibmm/glibmm-2.64.2/tests/glibmm_refptr/ |
H A D | main.cc | 33 int ref_count() { return ref_count_; } in ref_count() function in Something 92 g_assert_cmpint(refSomething->ref_count(), ==, 1); in test_initial_refcount() 105 g_assert_cmpint(refSomething->ref_count(), ==, 1); in test_refptr_copy_constructor() 110 g_assert_cmpint(refSomething->ref_count(), ==, 2); in test_refptr_copy_constructor() 117 g_assert_cmpint(refSomething->ref_count(), ==, 1); in test_refptr_copy_constructor() 125 g_assert_cmpint(refSomething->ref_count(), ==, 1); in test_refptr_assignment_operator() 130 g_assert_cmpint(refSomething->ref_count(), ==, 2); in test_refptr_assignment_operator() 137 g_assert_cmpint(refSomething->ref_count(), ==, 1); in test_refptr_assignment_operator() 190 g_assert_cmpint(refSomething2->ref_count(), ==, 1); in test_refptr_move_constructor() 211 g_assert_cmpint(refSomething->ref_count(), ==, 1); in test_refptr_universal_reference_move_constructor() [all …]
|
/dports/multimedia/mlt6-qt5/mlt-6.26.1/src/tests/test_frame/ |
H A D | test_frame.cpp | 36 QCOMPARE(f.ref_count(), 2); in FrameConstructorAddsReference() 45 QCOMPARE(f1.ref_count(), 2); in CopyConstructorAddsReference() 47 QCOMPARE(f1.ref_count(), 3); in CopyConstructorAddsReference() 56 QCOMPARE(f1.ref_count(), 2); in ConstCopyConstructorAddsReference() 59 QCOMPARE(f1.ref_count(), 3); in ConstCopyConstructorAddsReference() 60 QCOMPARE(f2.ref_count(), 3); in ConstCopyConstructorAddsReference() 68 QCOMPARE(f1.ref_count(), 0); in DefaultConstructorIsNotValid() 76 QCOMPARE(f1.ref_count(), 2); in OperatorEqualsAddsReference() 79 QCOMPARE(f1.ref_count(), 3); in OperatorEqualsAddsReference() 80 QCOMPARE(f2.ref_count(), 3); in OperatorEqualsAddsReference() [all …]
|
/dports/multimedia/mlt7/mlt-7.0.1/src/tests/test_frame/ |
H A D | test_frame.cpp | 36 QCOMPARE(f.ref_count(), 2); in FrameConstructorAddsReference() 45 QCOMPARE(f1.ref_count(), 2); in CopyConstructorAddsReference() 47 QCOMPARE(f1.ref_count(), 3); in CopyConstructorAddsReference() 56 QCOMPARE(f1.ref_count(), 2); in ConstCopyConstructorAddsReference() 59 QCOMPARE(f1.ref_count(), 3); in ConstCopyConstructorAddsReference() 60 QCOMPARE(f2.ref_count(), 3); in ConstCopyConstructorAddsReference() 68 QCOMPARE(f1.ref_count(), 0); in DefaultConstructorIsNotValid() 76 QCOMPARE(f1.ref_count(), 2); in OperatorEqualsAddsReference() 79 QCOMPARE(f1.ref_count(), 3); in OperatorEqualsAddsReference() 80 QCOMPARE(f2.ref_count(), 3); in OperatorEqualsAddsReference() [all …]
|
/dports/multimedia/py-mlt6/mlt-6.26.1/src/tests/test_frame/ |
H A D | test_frame.cpp | 36 QCOMPARE(f.ref_count(), 2); in FrameConstructorAddsReference() 45 QCOMPARE(f1.ref_count(), 2); in CopyConstructorAddsReference() 47 QCOMPARE(f1.ref_count(), 3); in CopyConstructorAddsReference() 56 QCOMPARE(f1.ref_count(), 2); in ConstCopyConstructorAddsReference() 59 QCOMPARE(f1.ref_count(), 3); in ConstCopyConstructorAddsReference() 60 QCOMPARE(f2.ref_count(), 3); in ConstCopyConstructorAddsReference() 68 QCOMPARE(f1.ref_count(), 0); in DefaultConstructorIsNotValid() 76 QCOMPARE(f1.ref_count(), 2); in OperatorEqualsAddsReference() 79 QCOMPARE(f1.ref_count(), 3); in OperatorEqualsAddsReference() 80 QCOMPARE(f2.ref_count(), 3); in OperatorEqualsAddsReference() [all …]
|
/dports/multimedia/mlt7-qt5/mlt-7.0.1/src/tests/test_frame/ |
H A D | test_frame.cpp | 36 QCOMPARE(f.ref_count(), 2); in FrameConstructorAddsReference() 45 QCOMPARE(f1.ref_count(), 2); in CopyConstructorAddsReference() 47 QCOMPARE(f1.ref_count(), 3); in CopyConstructorAddsReference() 56 QCOMPARE(f1.ref_count(), 2); in ConstCopyConstructorAddsReference() 59 QCOMPARE(f1.ref_count(), 3); in ConstCopyConstructorAddsReference() 60 QCOMPARE(f2.ref_count(), 3); in ConstCopyConstructorAddsReference() 68 QCOMPARE(f1.ref_count(), 0); in DefaultConstructorIsNotValid() 76 QCOMPARE(f1.ref_count(), 2); in OperatorEqualsAddsReference() 79 QCOMPARE(f1.ref_count(), 3); in OperatorEqualsAddsReference() 80 QCOMPARE(f2.ref_count(), 3); in OperatorEqualsAddsReference() [all …]
|
/dports/multimedia/mlt6/mlt-6.26.1/src/tests/test_frame/ |
H A D | test_frame.cpp | 36 QCOMPARE(f.ref_count(), 2); in FrameConstructorAddsReference() 45 QCOMPARE(f1.ref_count(), 2); in CopyConstructorAddsReference() 47 QCOMPARE(f1.ref_count(), 3); in CopyConstructorAddsReference() 56 QCOMPARE(f1.ref_count(), 2); in ConstCopyConstructorAddsReference() 59 QCOMPARE(f1.ref_count(), 3); in ConstCopyConstructorAddsReference() 60 QCOMPARE(f2.ref_count(), 3); in ConstCopyConstructorAddsReference() 68 QCOMPARE(f1.ref_count(), 0); in DefaultConstructorIsNotValid() 76 QCOMPARE(f1.ref_count(), 2); in OperatorEqualsAddsReference() 79 QCOMPARE(f1.ref_count(), 3); in OperatorEqualsAddsReference() 80 QCOMPARE(f2.ref_count(), 3); in OperatorEqualsAddsReference() [all …]
|
/dports/multimedia/gstreamer1-plugins-theora/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | gstvideoutils.c | 116 GST_TRACE ("%p ref %d->%d", frame, frame->ref_count, frame->ref_count + 1); in gst_video_codec_frame_ref() 118 g_atomic_int_inc (&frame->ref_count); in gst_video_codec_frame_ref() 134 g_return_if_fail (frame->ref_count > 0); in gst_video_codec_frame_unref() 136 GST_TRACE ("%p unref %d->%d", frame, frame->ref_count, frame->ref_count - 1); in gst_video_codec_frame_unref() 138 if (g_atomic_int_dec_and_test (&frame->ref_count)) { in gst_video_codec_frame_unref() 157 GST_TRACE ("%p ref %d->%d", state, state->ref_count, state->ref_count + 1); in gst_video_codec_state_ref() 159 g_atomic_int_inc (&state->ref_count); in gst_video_codec_state_ref() 189 g_return_if_fail (state->ref_count > 0); in gst_video_codec_state_unref() 191 GST_TRACE ("%p unref %d->%d", state, state->ref_count, state->ref_count - 1); in gst_video_codec_state_unref() 193 if (g_atomic_int_dec_and_test (&state->ref_count)) { in gst_video_codec_state_unref()
|
/dports/multimedia/gstreamer1-plugins/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | gstvideoutils.c | 116 GST_TRACE ("%p ref %d->%d", frame, frame->ref_count, frame->ref_count + 1); in gst_video_codec_frame_ref() 118 g_atomic_int_inc (&frame->ref_count); in gst_video_codec_frame_ref() 134 g_return_if_fail (frame->ref_count > 0); in gst_video_codec_frame_unref() 136 GST_TRACE ("%p unref %d->%d", frame, frame->ref_count, frame->ref_count - 1); in gst_video_codec_frame_unref() 138 if (g_atomic_int_dec_and_test (&frame->ref_count)) { in gst_video_codec_frame_unref() 157 GST_TRACE ("%p ref %d->%d", state, state->ref_count, state->ref_count + 1); in gst_video_codec_state_ref() 159 g_atomic_int_inc (&state->ref_count); in gst_video_codec_state_ref() 189 g_return_if_fail (state->ref_count > 0); in gst_video_codec_state_unref() 191 GST_TRACE ("%p unref %d->%d", state, state->ref_count, state->ref_count - 1); in gst_video_codec_state_unref() 193 if (g_atomic_int_dec_and_test (&state->ref_count)) { in gst_video_codec_state_unref()
|
/dports/audio/gstreamer1-plugins-vorbis/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | gstvideoutils.c | 116 GST_TRACE ("%p ref %d->%d", frame, frame->ref_count, frame->ref_count + 1); in gst_video_codec_frame_ref() 118 g_atomic_int_inc (&frame->ref_count); in gst_video_codec_frame_ref() 134 g_return_if_fail (frame->ref_count > 0); in gst_video_codec_frame_unref() 136 GST_TRACE ("%p unref %d->%d", frame, frame->ref_count, frame->ref_count - 1); in gst_video_codec_frame_unref() 138 if (g_atomic_int_dec_and_test (&frame->ref_count)) { in gst_video_codec_frame_unref() 157 GST_TRACE ("%p ref %d->%d", state, state->ref_count, state->ref_count + 1); in gst_video_codec_state_ref() 159 g_atomic_int_inc (&state->ref_count); in gst_video_codec_state_ref() 189 g_return_if_fail (state->ref_count > 0); in gst_video_codec_state_unref() 191 GST_TRACE ("%p unref %d->%d", state, state->ref_count, state->ref_count - 1); in gst_video_codec_state_unref() 193 if (g_atomic_int_dec_and_test (&state->ref_count)) { in gst_video_codec_state_unref()
|
/dports/audio/gstreamer1-plugins-opus/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | gstvideoutils.c | 116 GST_TRACE ("%p ref %d->%d", frame, frame->ref_count, frame->ref_count + 1); in gst_video_codec_frame_ref() 118 g_atomic_int_inc (&frame->ref_count); in gst_video_codec_frame_ref() 134 g_return_if_fail (frame->ref_count > 0); in gst_video_codec_frame_unref() 136 GST_TRACE ("%p unref %d->%d", frame, frame->ref_count, frame->ref_count - 1); in gst_video_codec_frame_unref() 138 if (g_atomic_int_dec_and_test (&frame->ref_count)) { in gst_video_codec_frame_unref() 157 GST_TRACE ("%p ref %d->%d", state, state->ref_count, state->ref_count + 1); in gst_video_codec_state_ref() 159 g_atomic_int_inc (&state->ref_count); in gst_video_codec_state_ref() 189 g_return_if_fail (state->ref_count > 0); in gst_video_codec_state_unref() 191 GST_TRACE ("%p unref %d->%d", state, state->ref_count, state->ref_count - 1); in gst_video_codec_state_unref() 193 if (g_atomic_int_dec_and_test (&state->ref_count)) { in gst_video_codec_state_unref()
|
/dports/audio/gstreamer1-plugins-ogg/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | gstvideoutils.c | 116 GST_TRACE ("%p ref %d->%d", frame, frame->ref_count, frame->ref_count + 1); in gst_video_codec_frame_ref() 118 g_atomic_int_inc (&frame->ref_count); in gst_video_codec_frame_ref() 134 g_return_if_fail (frame->ref_count > 0); in gst_video_codec_frame_unref() 136 GST_TRACE ("%p unref %d->%d", frame, frame->ref_count, frame->ref_count - 1); in gst_video_codec_frame_unref() 138 if (g_atomic_int_dec_and_test (&frame->ref_count)) { in gst_video_codec_frame_unref() 157 GST_TRACE ("%p ref %d->%d", state, state->ref_count, state->ref_count + 1); in gst_video_codec_state_ref() 159 g_atomic_int_inc (&state->ref_count); in gst_video_codec_state_ref() 189 g_return_if_fail (state->ref_count > 0); in gst_video_codec_state_unref() 191 GST_TRACE ("%p unref %d->%d", state, state->ref_count, state->ref_count - 1); in gst_video_codec_state_unref() 193 if (g_atomic_int_dec_and_test (&state->ref_count)) { in gst_video_codec_state_unref()
|
/dports/audio/gstreamer1-plugins-cdparanoia/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | gstvideoutils.c | 116 GST_TRACE ("%p ref %d->%d", frame, frame->ref_count, frame->ref_count + 1); in gst_video_codec_frame_ref() 118 g_atomic_int_inc (&frame->ref_count); in gst_video_codec_frame_ref() 134 g_return_if_fail (frame->ref_count > 0); in gst_video_codec_frame_unref() 136 GST_TRACE ("%p unref %d->%d", frame, frame->ref_count, frame->ref_count - 1); in gst_video_codec_frame_unref() 138 if (g_atomic_int_dec_and_test (&frame->ref_count)) { in gst_video_codec_frame_unref() 157 GST_TRACE ("%p ref %d->%d", state, state->ref_count, state->ref_count + 1); in gst_video_codec_state_ref() 159 g_atomic_int_inc (&state->ref_count); in gst_video_codec_state_ref() 189 g_return_if_fail (state->ref_count > 0); in gst_video_codec_state_unref() 191 GST_TRACE ("%p unref %d->%d", state, state->ref_count, state->ref_count - 1); in gst_video_codec_state_unref() 193 if (g_atomic_int_dec_and_test (&state->ref_count)) { in gst_video_codec_state_unref()
|
/dports/x11-toolkits/gstreamer1-plugins-pango/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | gstvideoutils.c | 116 GST_TRACE ("%p ref %d->%d", frame, frame->ref_count, frame->ref_count + 1); in gst_video_codec_frame_ref() 118 g_atomic_int_inc (&frame->ref_count); in gst_video_codec_frame_ref() 134 g_return_if_fail (frame->ref_count > 0); in gst_video_codec_frame_unref() 136 GST_TRACE ("%p unref %d->%d", frame, frame->ref_count, frame->ref_count - 1); in gst_video_codec_frame_unref() 138 if (g_atomic_int_dec_and_test (&frame->ref_count)) { in gst_video_codec_frame_unref() 157 GST_TRACE ("%p ref %d->%d", state, state->ref_count, state->ref_count + 1); in gst_video_codec_state_ref() 159 g_atomic_int_inc (&state->ref_count); in gst_video_codec_state_ref() 189 g_return_if_fail (state->ref_count > 0); in gst_video_codec_state_unref() 191 GST_TRACE ("%p unref %d->%d", state, state->ref_count, state->ref_count - 1); in gst_video_codec_state_unref() 193 if (g_atomic_int_dec_and_test (&state->ref_count)) { in gst_video_codec_state_unref()
|
/dports/graphics/gstreamer1-plugins-libvisual/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | gstvideoutils.c | 116 GST_TRACE ("%p ref %d->%d", frame, frame->ref_count, frame->ref_count + 1); in gst_video_codec_frame_ref() 118 g_atomic_int_inc (&frame->ref_count); in gst_video_codec_frame_ref() 134 g_return_if_fail (frame->ref_count > 0); in gst_video_codec_frame_unref() 136 GST_TRACE ("%p unref %d->%d", frame, frame->ref_count, frame->ref_count - 1); in gst_video_codec_frame_unref() 138 if (g_atomic_int_dec_and_test (&frame->ref_count)) { in gst_video_codec_frame_unref() 157 GST_TRACE ("%p ref %d->%d", state, state->ref_count, state->ref_count + 1); in gst_video_codec_state_ref() 159 g_atomic_int_inc (&state->ref_count); in gst_video_codec_state_ref() 189 g_return_if_fail (state->ref_count > 0); in gst_video_codec_state_unref() 191 GST_TRACE ("%p unref %d->%d", state, state->ref_count, state->ref_count - 1); in gst_video_codec_state_unref() 193 if (g_atomic_int_dec_and_test (&state->ref_count)) { in gst_video_codec_state_unref()
|
/dports/graphics/gstreamer1-plugins-gl/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | gstvideoutils.c | 116 GST_TRACE ("%p ref %d->%d", frame, frame->ref_count, frame->ref_count + 1); in gst_video_codec_frame_ref() 118 g_atomic_int_inc (&frame->ref_count); in gst_video_codec_frame_ref() 134 g_return_if_fail (frame->ref_count > 0); in gst_video_codec_frame_unref() 136 GST_TRACE ("%p unref %d->%d", frame, frame->ref_count, frame->ref_count - 1); in gst_video_codec_frame_unref() 138 if (g_atomic_int_dec_and_test (&frame->ref_count)) { in gst_video_codec_frame_unref() 157 GST_TRACE ("%p ref %d->%d", state, state->ref_count, state->ref_count + 1); in gst_video_codec_state_ref() 159 g_atomic_int_inc (&state->ref_count); in gst_video_codec_state_ref() 189 g_return_if_fail (state->ref_count > 0); in gst_video_codec_state_unref() 191 GST_TRACE ("%p unref %d->%d", state, state->ref_count, state->ref_count - 1); in gst_video_codec_state_unref() 193 if (g_atomic_int_dec_and_test (&state->ref_count)) { in gst_video_codec_state_unref()
|
/dports/x11/gstreamer1-plugins-x/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | gstvideoutils.c | 116 GST_TRACE ("%p ref %d->%d", frame, frame->ref_count, frame->ref_count + 1); in gst_video_codec_frame_ref() 118 g_atomic_int_inc (&frame->ref_count); in gst_video_codec_frame_ref() 134 g_return_if_fail (frame->ref_count > 0); in gst_video_codec_frame_unref() 136 GST_TRACE ("%p unref %d->%d", frame, frame->ref_count, frame->ref_count - 1); in gst_video_codec_frame_unref() 138 if (g_atomic_int_dec_and_test (&frame->ref_count)) { in gst_video_codec_frame_unref() 157 GST_TRACE ("%p ref %d->%d", state, state->ref_count, state->ref_count + 1); in gst_video_codec_state_ref() 159 g_atomic_int_inc (&state->ref_count); in gst_video_codec_state_ref() 189 g_return_if_fail (state->ref_count > 0); in gst_video_codec_state_unref() 191 GST_TRACE ("%p unref %d->%d", state, state->ref_count, state->ref_count - 1); in gst_video_codec_state_unref() 193 if (g_atomic_int_dec_and_test (&state->ref_count)) { in gst_video_codec_state_unref()
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/cairo/cairo/src/ |
H A D | cairo-font-face.c | 92 CAIRO_REFERENCE_COUNT_INIT (&font_face->ref_count, 1); in _cairo_font_face_init() 116 CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_reference() 123 _cairo_reference_count_inc (&font_face->ref_count); in cairo_font_face_reference() 141 CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_destroy() 156 if (CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&font_face->ref_count)) in cairo_font_face_destroy() 185 if (CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_get_type() 206 CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_get_reference_count() 209 return CAIRO_REFERENCE_COUNT_GET_VALUE (&font_face->ref_count); in cairo_font_face_get_reference_count() 277 if (CAIRO_REFERENCE_COUNT_IS_INVALID (&font_face->ref_count)) in cairo_font_face_set_user_data() 295 CAIRO_REFERENCE_COUNT_INIT (&unscaled_font->ref_count, 1); in _cairo_unscaled_font_init() [all …]
|
/dports/devel/glib20/glib-2.70.4/gobject/tests/ |
H A D | reference.c | 120 g_assert_cmpint (tmp->ref_count, ==, 1); in test_clear() 124 g_assert_cmpint (tmp->ref_count, ==, 2); in test_clear() 126 g_assert_cmpint (tmp->ref_count, ==, 1); in test_clear() 142 g_assert_cmpint (tmp->ref_count, ==, 1); in test_clear_function() 146 g_assert_cmpint (tmp->ref_count, ==, 2); in test_clear_function() 148 g_assert_cmpint (tmp->ref_count, ==, 1); in test_clear_function() 167 g_assert_cmpint (tmp->ref_count, ==, 1); in test_set() 171 g_assert_cmpint (tmp->ref_count, ==, 2); in test_set() 174 g_assert_cmpint (tmp->ref_count, ==, 1); in test_set() 179 g_assert_cmpint (tmp->ref_count, ==, 1); in test_set() [all …]
|
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/3rdparty/harfbuzz-ng/src/ |
H A D | hb-object-private.hh | 50 hb_atomic_int_t ref_count; member 52 inline void init (int v) { ref_count.set_unsafe (v); } in init() 54 inline int inc (void) { return ref_count.inc (); } in inc() 55 inline int dec (void) { return ref_count.dec (); } in dec() 99 hb_reference_count_t ref_count; member 117 obj ? obj->header.ref_count.get_unsafe () : 0); in hb_object_trace() 135 obj->header.ref_count.init (1); in hb_object_init() 141 return unlikely (obj->header.ref_count.is_inert ()); in hb_object_is_inert() 146 return likely (obj->header.ref_count.is_valid ()); in hb_object_is_valid() 155 obj->header.ref_count.inc (); in hb_object_reference() [all …]
|
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/3rdparty/harfbuzz-ng/src/ |
H A D | hb-object-private.hh | 50 hb_atomic_int_t ref_count; member 52 inline void init (int v) { ref_count.set_unsafe (v); } in init() 54 inline int inc (void) { return ref_count.inc (); } in inc() 55 inline int dec (void) { return ref_count.dec (); } in dec() 99 hb_reference_count_t ref_count; member 117 obj ? obj->header.ref_count.get_unsafe () : 0); in hb_object_trace() 135 obj->header.ref_count.init (1); in hb_object_init() 141 return unlikely (obj->header.ref_count.is_inert ()); in hb_object_is_inert() 146 return likely (obj->header.ref_count.is_valid ()); in hb_object_is_valid() 155 obj->header.ref_count.inc (); in hb_object_reference() [all …]
|
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/3rdparty/harfbuzz-ng/src/ |
H A D | hb-object-private.hh | 50 hb_atomic_int_t ref_count; member 52 inline void init (int v) { ref_count.set_unsafe (v); } in init() 54 inline int inc (void) { return ref_count.inc (); } in inc() 55 inline int dec (void) { return ref_count.dec (); } in dec() 99 hb_reference_count_t ref_count; member 117 obj ? obj->header.ref_count.get_unsafe () : 0); in hb_object_trace() 135 obj->header.ref_count.init (1); in hb_object_init() 141 return unlikely (obj->header.ref_count.is_inert ()); in hb_object_is_inert() 146 return likely (obj->header.ref_count.is_valid ()); in hb_object_is_valid() 155 obj->header.ref_count.inc (); in hb_object_reference() [all …]
|