Searched refs:ref_count (Results 1 - 25 of 180) sorted by relevance

12345678

/external/pcre/dist/
H A Dpcre_refcount.c86 re->ref_count = (-adjust > re->ref_count)? 0 :
87 (adjust + re->ref_count > 65535)? 65535 :
88 re->ref_count + adjust;
89 return re->ref_count;
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-object-private.hh54 hb_atomic_int_t ref_count; member in struct:hb_reference_count_t
56 inline void init (int v) { ref_count = v; }
57 inline int inc (void) { return hb_atomic_int_add (const_cast<hb_atomic_int_t &> (ref_count), 1); }
58 inline int dec (void) { return hb_atomic_int_add (const_cast<hb_atomic_int_t &> (ref_count), -1); }
59 inline void finish (void) { ref_count = HB_REFERENCE_COUNT_INVALID_VALUE; }
61 inline bool is_invalid (void) const { return ref_count == HB_REFERENCE_COUNT_INVALID_VALUE; }
102 hb_reference_count_t ref_count; member in struct:hb_object_header_t
120 obj ? obj->header.ref_count.ref_count : 0);
138 obj->header.ref_count
[all...]
/external/harfbuzz_ng/src/
H A Dhb-object-private.hh54 hb_atomic_int_t ref_count; member in struct:hb_reference_count_t
56 inline void init (int v) { ref_count = v; }
57 inline int inc (void) { return hb_atomic_int_add (const_cast<hb_atomic_int_t &> (ref_count), 1); }
58 inline int dec (void) { return hb_atomic_int_add (const_cast<hb_atomic_int_t &> (ref_count), -1); }
59 inline void finish (void) { ref_count = HB_REFERENCE_COUNT_INVALID_VALUE; }
61 inline bool is_invalid (void) const { return ref_count == HB_REFERENCE_COUNT_INVALID_VALUE; }
104 hb_reference_count_t ref_count; member in struct:hb_object_header_t
119 ref_count.init (1);
124 return unlikely (ref_count.is_invalid ());
130 ref_count
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/raster/
H A Drastpic.c45 if ( --container->ref_count )
66 ((RasterPIC*)pic_container->raster)->ref_count++;
76 container->ref_count = 1;
H A Drastpic.h36 int ref_count;
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtctexturevideoframe_unittest.cc41 int32_t ref_count() { return ref_count_; } function in class:NativeHandleImpl
74 EXPECT_EQ(0, handle.ref_count());
77 EXPECT_EQ(1, handle.ref_count());
79 EXPECT_EQ(2, handle.ref_count());
81 EXPECT_EQ(1, handle.ref_count());
83 EXPECT_EQ(0, handle.ref_count());
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Dshared_desktop_frame.cc31 int32_t ref_count; local
32 ref_count = --ref_count_;
33 if (ref_count == 0)
35 return ref_count;
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dref_count.h69 int32_t ref_count; local
70 ref_count = --ref_count_;
71 if (ref_count == 0)
73 return ref_count;
/external/webrtc/src/system_wrappers/interface/
H A Dref_count.h69 int32_t ref_count; local
70 ref_count = --ref_count_;
71 if (ref_count == 0)
73 return ref_count;
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
H A Dfake_var_manager.cc16 EXPECT_EQ(0, var_data.ref_count) << "Non-zero refcount on "
25 data.ref_count = 1;
40 EXPECT_GT(var_data->ref_count, 0)
42 var_data->ref_count++;
46 var_data->ref_count);
127 EXPECT_GT(var_data->ref_count, 0)
145 EXPECT_GT(var_data->ref_count, 0)
148 var_data->ref_count--;
152 var_data->ref_count);
154 if (var_data->ref_count
[all...]
H A Dfake_resource_manager.cc17 EXPECT_EQ(0, resource_tracker->ref_count()) << "Leaked resource "
50 EXPECT_LT(0, resource_tracker->ref_count()) << "AddRefing freed resource "
69 EXPECT_LT(0, resource_tracker->ref_count()) << "Releasing freed resource "
78 if (resource_tracker->ref_count() == 0) {
106 EXPECT_LT(0, resource_tracker->ref_count()) << "Accessing freed resource "
/external/libexif/libexif/
H A Dexif-log.c30 unsigned int ref_count; member in struct:_ExifLog
77 log->ref_count = 1;
100 log->ref_count++;
107 if (log->ref_count > 0) log->ref_count--;
108 if (!log->ref_count) exif_log_free (log);
H A Dexif-mem.c6 unsigned int ref_count; member in struct:_ExifMem
44 mem->ref_count = 1;
57 mem->ref_count++;
64 if (!--mem->ref_count)
/external/chromium_org/base/win/
H A Dscoped_variant_unittest.cc62 int ref_count() const { function in class:base::win::__anon2615::FakeComObject
189 EXPECT_EQ(0, faker.ref_count());
193 EXPECT_EQ(1, faker.ref_count());
195 EXPECT_EQ(0, faker.ref_count());
200 EXPECT_EQ(1, faker.ref_count());
202 EXPECT_EQ(0, faker.ref_count());
208 EXPECT_EQ(1, faker.ref_count());
210 EXPECT_EQ(0, faker.ref_count());
214 EXPECT_EQ(1, faker.ref_count());
216 EXPECT_EQ(2, faker.ref_count());
[all...]
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Downed_widget_gtk2.cc41 DCHECK_EQ(G_OBJECT(widget)->ref_count, 1U);
/external/chromium_org/third_party/freetype/src/raster/
H A Drastpic.h36 int ref_count;
H A Drastpic.c45 if ( --container->ref_count )
66 ((RasterPIC*)pic_container->raster)->ref_count++;
76 container->ref_count = 1;
/external/chromium_org/third_party/webrtc/common_video/
H A Dtexture_video_frame_unittest.cc26 int32_t ref_count() { return ref_count_; } function in class:webrtc::NativeHandleImpl
55 EXPECT_EQ(0, handle.ref_count());
57 EXPECT_EQ(1, handle.ref_count());
59 EXPECT_EQ(0, handle.ref_count());
/external/freetype/src/raster/
H A Drastpic.h36 int ref_count;
H A Drastpic.c45 if ( --container->ref_count )
66 ((RasterPIC*)pic_container->raster)->ref_count++;
76 container->ref_count = 1;
/external/qemu/distrib/sdl-1.2.15/src/joystick/
H A DSDL_sysjoystick.h50 int ref_count; /* Reference count for multiple opens */ member in struct:_SDL_Joystick
/external/chromium_org/third_party/freetype/src/smooth/
H A Dftspic.c45 if ( --container->ref_count )
67 ((SmoothPIC*)pic_container->smooth)->ref_count++;
77 container->ref_count = 1;
/external/freetype/src/smooth/
H A Dftspic.c45 if ( --container->ref_count )
67 ((SmoothPIC*)pic_container->smooth)->ref_count++;
77 container->ref_count = 1;
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/smooth/
H A Dftspic.c45 if ( --container->ref_count )
67 ((SmoothPIC*)pic_container->smooth)->ref_count++;
77 container->ref_count = 1;
/external/chromium_org/third_party/webrtc/voice_engine/
H A Dchannel_manager.cc24 ++channel_ref_->ref_count;
28 if (--channel_ref_->ref_count == 0)
36 if (--channel_ref_->ref_count == 0)
40 ++channel_ref_->ref_count;
46 : channel(channel), ref_count(1) {}

Completed in 597 milliseconds

12345678