Home
last modified time | relevance | path

Searched refs:reference_count (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/glx/apple/
Dapple_glx_drawable.c122 d->reference_count++; in reference_drawable()
130 d->reference_count--; in release_drawable()
143 if (d->reference_count > 0) { in destroy_drawable()
206 (void *) d, d->reference_count); in destroy_drawable_callback()
208 d->reference_count--; in destroy_drawable_callback()
210 if (d->reference_count > 0) { in destroy_drawable_callback()
245 d->reference_count = 0; in common_init()
385 if (d->reference_count > 0) { in apple_glx_garbage_collect_drawables()
513 __func__, d->reference_count); in apple_glx_drawable_destroy_by_type()
Dapple_glx_drawable.h102 int reference_count; member
/external/chromium_org/third_party/mesa/src/src/glx/apple/
Dapple_glx_drawable.c122 d->reference_count++; in reference_drawable()
130 d->reference_count--; in release_drawable()
143 if (d->reference_count > 0) { in destroy_drawable()
206 (void *) d, d->reference_count); in destroy_drawable_callback()
208 d->reference_count--; in destroy_drawable_callback()
210 if (d->reference_count > 0) { in destroy_drawable_callback()
245 d->reference_count = 0; in common_init()
385 if (d->reference_count > 0) { in apple_glx_garbage_collect_drawables()
513 __func__, d->reference_count); in apple_glx_drawable_destroy_by_type()
Dapple_glx_drawable.h102 int reference_count; member
/external/chromium_org/gpu/command_buffer/service/
Dsafe_shared_memory_pool.cc69 tracker.reference_count = 1; in AcquireSafeSharedMemory()
84 DCHECK(it->second.reference_count); in AcquireSafeSharedMemory()
87 it->second.reference_count++; in AcquireSafeSharedMemory()
101 CHECK(it->second.reference_count); in ReleaseSafeSharedMemory()
103 if (--it->second.reference_count == 0) { in ReleaseSafeSharedMemory()
Dsafe_shared_memory_pool.h60 int reference_count; member
/external/chromium/chrome/browser/net/
Dpassive_log_collector_unittest.cc242 EXPECT_EQ(0, info.reference_count); in TEST()
249 EXPECT_EQ(0, info.reference_count); in TEST()
266 EXPECT_EQ(0, info.reference_count); in TEST()
274 EXPECT_EQ(1, info.reference_count); in TEST()
300 EXPECT_EQ(0, info.reference_count); in TEST()
309 EXPECT_EQ(1, info.reference_count); in TEST()
330 EXPECT_EQ(1, info.reference_count); in TEST()
399 EXPECT_EQ(0, info.reference_count); in TEST()
407 EXPECT_EQ(1, info.reference_count); in TEST()
Dpassive_log_collector.cc42 reference_count(0), in SourceInfo()
211 if (info.reference_count == 0) { in OnAddEntry()
270 DCHECK_GE(sources_.find(source_id)->second.reference_count, 0); in AddToDeletionQueue()
309 DCHECK_GE(info.reference_count, 0); in AdjustReferenceCountForSource()
310 info.reference_count += offset; in AdjustReferenceCountForSource()
312 bool released_unmatched_reference = info.reference_count < 0; in AdjustReferenceCountForSource()
317 info.reference_count = 0; in AdjustReferenceCountForSource()
321 if (info.reference_count == 1 && offset == 1) { in AdjustReferenceCountForSource()
325 } else if (info.reference_count == 0) { in AdjustReferenceCountForSource()
Dpassive_log_collector.h64 int reference_count; member
/external/chromium_org/chrome_frame/test/
Dmock_ie_event_sink_test.h47 int reference_count = event_sink_->reference_count(); in ~MockIEEventSink() local
48 LOG_IF(ERROR, reference_count != 1) in ~MockIEEventSink()
50 << reference_count; in ~MockIEEventSink()
Die_event_sink.h156 bool reference_count() { return m_dwRef; } in reference_count() function
/external/clang/test/Analysis/
DNewDelete-checker-test.cpp211 namespace reference_count { namespace