Searched refs:ref_count_ (Results 1 - 20 of 20) sorted by relevance

/external/chromium/base/memory/
H A Dref_counted.cc15 : ref_count_(0)
35 ++ref_count_;
45 if (--ref_count_ == 0) {
56 &const_cast<RefCountedThreadSafeBase*>(this)->ref_count_);
59 RefCountedThreadSafeBase::RefCountedThreadSafeBase() : ref_count_(0) {
76 AtomicRefCountInc(&ref_count_);
82 DCHECK(!AtomicRefCountIsZero(&ref_count_));
84 if (!AtomicRefCountDec(&ref_count_)) {
H A Dref_counted.h21 bool HasOneRef() const { return ref_count_ == 1; }
33 mutable int ref_count_; member in class:base::subtle::RefCountedBase
59 mutable AtomicRefCount ref_count_; member in class:base::subtle::RefCountedThreadSafeBase
/external/webrtc/src/system_wrappers/interface/
H A Dref_count.h46 RefCountImpl() : ref_count_(0) {}
49 explicit RefCountImpl(P p) : T(p), ref_count_(0) {}
52 RefCountImpl(P1 p1, P2 p2) : T(p1, p2), ref_count_(0) {}
55 RefCountImpl(P1 p1, P2 p2, P3 p3) : T(p1, p2, p3), ref_count_(0) {}
58 RefCountImpl(P1 p1, P2 p2, P3 p3, P4 p4) : T(p1, p2, p3, p4), ref_count_(0) {}
62 : T(p1, p2, p3, p4, p5), ref_count_(0) {}
65 return ++ref_count_;
70 ref_count = --ref_count_;
77 Atomic32Wrapper ref_count_; member in class:webrtc::RefCountImpl
/external/chromium/chrome/browser/accessibility/
H A Dbrowser_accessibility.cc26 ref_count_(1),
157 ref_count_++;
161 DCHECK_GT(ref_count_, 0);
163 if (recursive || ref_count_ == 1) {
171 ref_count_--;
172 if (ref_count_ == 0) {
H A Dbrowser_accessibility.h155 int32 ref_count() const { return ref_count_; }
201 int32 ref_count_; member in class:BrowserAccessibility
/external/openfst/src/include/fst/
H A Dadd-on.h53 int RefCount() const { return ref_count_.count(); }
54 int IncrRefCount() { return ref_count_.Incr(); }
55 int DecrRefCount() { return ref_count_.Decr(); }
58 RefCounter ref_count_; member in class:fst::NullAddOn
120 int RefCount() const { return ref_count_.count(); }
123 return ref_count_.Incr();
127 return ref_count_.Decr();
133 RefCounter ref_count_; member in class:fst::AddOnPair
H A Dsymbol-table.h142 return ref_count_.Incr();
145 return ref_count_.Decr();
148 return ref_count_.count();
189 mutable RefCounter ref_count_; member in class:fst::SymbolTableImpl
H A Daccumulator.h138 int RefCount() const { return ref_count_.count(); }
139 int IncrRefCount() { return ref_count_.Incr(); }
140 int DecrRefCount() { return ref_count_.Decr(); }
151 RefCounter ref_count_; // Reference count. member in class:fst::FastLogAccumulatorData
379 int RefCount() const { return ref_count_.count(); }
380 int IncrRefCount() { return ref_count_.Incr(); }
381 int DecrRefCount() { return ref_count_.Decr(); }
418 RefCounter ref_count_; member in class:fst::CacheLogAccumulatorData
637 int RefCount() const { return ref_count_.count(); }
638 int IncrRefCount() { return ref_count_
645 RefCounter ref_count_; member in class:fst::ReplaceAccumulatorData
[all...]
H A Dencode.h175 int RefCount() const { return ref_count_.count(); }
176 int IncrRefCount() { return ref_count_.Incr(); }
177 int DecrRefCount() { return ref_count_.Decr(); }
210 RefCounter ref_count_; member in class:fst::EncodeTable
H A Dlabel-reachable.h95 int RefCount() const { return ref_count_.count(); }
96 int IncrRefCount() { return ref_count_.Incr(); }
97 int DecrRefCount() { return ref_count_.Decr(); }
106 RefCounter ref_count_; // Reference count. member in class:fst::LabelReachableData
H A Dedit-fst.h108 int RefCount() const { return ref_count_.count(); }
109 int IncrRefCount() { return ref_count_.Incr(); }
110 int DecrRefCount() { return ref_count_.Decr(); }
326 RefCounter ref_count_; member in class:fst::EditFstData
H A Dfst.h659 return ref_count_.count();
663 return ref_count_.Incr();
667 return ref_count_.Decr();
767 RefCounter ref_count_; // Reference count member in class:fst::FstImpl
H A Dcompact-fst.h172 int RefCount() const { return ref_count_.count(); }
173 int IncrRefCount() { return ref_count_.Incr(); }
174 int DecrRefCount() { return ref_count_.Decr(); }
188 RefCounter ref_count_; member in class:fst::CompactFstData
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dencode.h210 : ref_count_(1), flags_(flags), type_(type),
214 : ref_count_(mapper.ref_count_ + 1),
221 : ref_count_(mapper.ref_count_ + 1),
227 if (--ref_count_ == 0) delete table_;
307 uint32 ref_count_; member in class:fst::EncodeMapper
313 : ref_count_(1), flags_(flags), type_(type), table_(table) {}
H A Dsymbol-table.h41 : name_(name), available_key_(0), ref_count_(1),
103 return ++ref_count_;
106 return --ref_count_;
132 mutable int ref_count_; member in class:fst::SymbolTableImpl
H A Dfst.h403 ref_count_(1) {}
409 ref_count_(1) {}
449 int RefCount() const { return ref_count_; }
451 int IncrRefCount() { return ++ref_count_; }
453 int DecrRefCount() { return --ref_count_; }
526 int ref_count_; // Reference count member in class:fst::FstImpl
/external/chromium/net/disk_cache/
H A Dmem_entry_impl.cc51 ref_count_ = 0;
81 if (!ref_count_) {
109 ref_count_++;
110 DCHECK(ref_count_ >= 0);
116 return ref_count_ > 0;
143 ref_count_--;
144 DCHECK(ref_count_ >= 0);
145 if (!ref_count_ && doomed_)
H A Dmem_entry_impl.h168 int ref_count_; member in class:disk_cache::MemEntryImpl
/external/chromium/third_party/libjingle/source/talk/base/
H A Dstream.h669 : stream_(stream), ref_count_(1) {
673 ++ref_count_;
679 ref_count = --ref_count_;
688 int ref_count_; member in class:talk_base::StreamReference::StreamRefCount
/external/valgrind/tsan/
H A Dthread_sanitizer.cc1160 CHECK_GT(vts->ref_count_, 0);
1161 if (AtomicDecrementRefcount(&vts->ref_count_) == 0) {
1184 AtomicIncrementRefcount(&ref_count_);
1189 CHECK(vts->ref_count_);
1204 CHECK(vts_a->ref_count_);
1205 CHECK(vts_b->ref_count_);
1279 CHECK(vts_a->ref_count_);
1280 CHECK(vts_b->ref_count_);
1314 DCHECK(ref_count_);
1319 DCHECK(ref_count_);
1437 int32_t ref_count_; member in class:VTS
[all...]

Completed in 467 milliseconds