/external/chromium/base/memory/ |
H A D | ref_counted.cc | 15 : 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 D | ref_counted.h | 21 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 D | ref_count.h | 46 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 D | browser_accessibility.cc | 26 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 D | browser_accessibility.h | 155 int32 ref_count() const { return ref_count_; } 201 int32 ref_count_; member in class:BrowserAccessibility
|
/external/openfst/src/include/fst/ |
H A D | add-on.h | 53 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 D | symbol-table.h | 142 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 D | accumulator.h | 138 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 D | encode.h | 175 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 D | label-reachable.h | 95 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 D | edit-fst.h | 108 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 D | fst.h | 659 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 D | compact-fst.h | 172 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 D | encode.h | 210 : 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 D | symbol-table.h | 41 : 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 D | fst.h | 403 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 D | mem_entry_impl.cc | 51 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 D | mem_entry_impl.h | 168 int ref_count_; member in class:disk_cache::MemEntryImpl
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | stream.h | 669 : 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 D | thread_sanitizer.cc | 1160 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...] |