/external/pcre/dist/ |
H A D | pcre_refcount.c | 86 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 D | hb-object-private.hh | 54 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 D | hb-object-private.hh | 54 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 D | rastpic.c | 45 if ( --container->ref_count ) 66 ((RasterPIC*)pic_container->raster)->ref_count++; 76 container->ref_count = 1;
|
H A D | rastpic.h | 36 int ref_count;
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
H A D | webrtctexturevideoframe_unittest.cc | 41 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 D | shared_desktop_frame.cc | 31 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 D | ref_count.h | 69 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 D | ref_count.h | 69 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 D | fake_var_manager.cc | 16 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 D | fake_resource_manager.cc | 17 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 D | exif-log.c | 30 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 D | exif-mem.c | 6 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 D | scoped_variant_unittest.cc | 62 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 D | owned_widget_gtk2.cc | 41 DCHECK_EQ(G_OBJECT(widget)->ref_count, 1U);
|
/external/chromium_org/third_party/freetype/src/raster/ |
H A D | rastpic.h | 36 int ref_count;
|
H A D | rastpic.c | 45 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 D | texture_video_frame_unittest.cc | 26 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 D | rastpic.h | 36 int ref_count;
|
H A D | rastpic.c | 45 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 D | SDL_sysjoystick.h | 50 int ref_count; /* Reference count for multiple opens */ member in struct:_SDL_Joystick
|
/external/chromium_org/third_party/freetype/src/smooth/ |
H A D | ftspic.c | 45 if ( --container->ref_count ) 67 ((SmoothPIC*)pic_container->smooth)->ref_count++; 77 container->ref_count = 1;
|
/external/freetype/src/smooth/ |
H A D | ftspic.c | 45 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 D | ftspic.c | 45 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 D | channel_manager.cc | 24 ++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) {}
|