HomeSort by relevance Sort by last modified time
    Searched refs:ref_count (Results 1 - 25 of 205) sorted by null

1 2 3 4 5 6 7 8 9

  /external/chromium_org/third_party/harfbuzz-ng/src/
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.inc ()
    [all...]
  /external/harfbuzz_ng/src/
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.inc ()
    [all...]
  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
fake_var_interface.cc 15 EXPECT_EQ(0, string_var.ref_count) << "Non-zero refcount on string var "
34 EXPECT_LT(0, string_var.ref_count) << "AddRefing freed string var "
37 string_var.ref_count++;
54 EXPECT_LT(0, string_var.ref_count) << "Releasing freed string var "
57 string_var.ref_count--;
65 string_var.ref_count = 1;
87 EXPECT_LT(0, string_var.ref_count) << "VarToUtf8 on freed string var "
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 "
66 EXPECT_LT(0, resource_tracker->ref_count()) << "Releasing freed resource "
75 if (resource_tracker->ref_count() == 0) {
98 EXPECT_LT(0, resource_tracker->ref_count()) << "Accessing freed resource "
fake_var_interface.h 31 int32_t ref_count; member in struct:FakeVarInterface::FakeStringVar
  /external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
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/webrtc/src/system_wrappers/interface/
ref_count.h 69 int32_t ref_count; local
70 ref_count = --ref_count_;
71 if (ref_count == 0)
73 return ref_count;
  /external/libexif/libexif/
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);
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)
exif-mnote-data.c 31 unsigned int ref_count; member in struct:_ExifMnoteDataPriv
42 d->priv->ref_count = 1;
51 if (d && d->priv) d->priv->ref_count++;
74 if (d->priv->ref_count > 0) d->priv->ref_count--;
75 if (!d->priv->ref_count)
  /external/chromium/base/win/
scoped_variant_unittest.cc 62 int ref_count() const { function in class:base::win::__anon4248::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/base/win/
scoped_variant_unittest.cc 62 int ref_count() const { function in class:base::win::__anon6502::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/chrome/browser/ui/gtk/
owned_widget_gtk.cc 39 DCHECK_EQ(G_OBJECT(widget)->ref_count, 1U);
  /external/chromium_org/chrome/browser/ui/libgtk2ui/
owned_widget_gtk2.cc 41 DCHECK_EQ(G_OBJECT(widget)->ref_count, 1U);
  /external/chromium_org/third_party/freetype/src/raster/
rastpic.h 36 int ref_count;
rastpic.c 45 if ( --container->ref_count )
66 ((RasterPIC*)pic_container->raster)->ref_count++;
76 container->ref_count = 1;
  /external/chromium_org/ui/base/gtk/
owned_widget_gtk.cc 41 DCHECK_EQ(G_OBJECT(widget)->ref_count, 1U);
  /external/freetype/src/raster/
rastpic.h 36 int ref_count;
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/
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/
ftspic.c 45 if ( --container->ref_count )
67 ((SmoothPIC*)pic_container->smooth)->ref_count++;
77 container->ref_count = 1;
ftspic.h 35 int ref_count;
  /external/freetype/src/smooth/
ftspic.c 45 if ( --container->ref_count )
67 ((SmoothPIC*)pic_container->smooth)->ref_count++;
77 container->ref_count = 1;
ftspic.h 35 int ref_count;
  /external/chromium_org/content/renderer/media/
audio_renderer_mixer_manager.cc 51 it->second.ref_count++;
100 it->second.ref_count--;
101 if (it->second.ref_count == 0) {

Completed in 510 milliseconds

1 2 3 4 5 6 7 8 9