/external/chromium_org/third_party/tcmalloc/chromium/src/ |
heap-checker-bcad.cc | 62 if (count_ == 0) { 76 ++count_; 79 if (count_ <= 0) tcmalloc::Abort(); 80 --count_; 81 if (count_ == 0) HeapLeakChecker_AfterDestructors(); 86 static int count_; member in class:HeapLeakCheckerGlobalPrePost 89 int HeapLeakCheckerGlobalPrePost::count_ = 0; member in class:HeapLeakCheckerGlobalPrePost
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
heap-checker-bcad.cc | 62 if (count_ == 0) { 76 ++count_; 79 if (count_ <= 0) abort(); 80 --count_; 81 if (count_ == 0) HeapLeakChecker_AfterDestructors(); 86 static int count_; member in class:HeapLeakCheckerGlobalPrePost 89 int HeapLeakCheckerGlobalPrePost::count_ = 0; member in class:HeapLeakCheckerGlobalPrePost
|
/external/chromium_org/third_party/webrtc/test/ |
statistics.cc | 17 Statistics::Statistics() : sum_(0.0), sum_squared_(0.0), count_(0) {} 22 ++count_; 26 if (count_ == 0) 28 return sum_ / count_; 32 if (count_ == 0) 34 return sum_squared_ / count_ - Mean() * Mean();
|
statistics.h | 31 uint64_t count_; member in class:webrtc::test::Statistics
|
/external/chromium_org/third_party/webrtc/video_engine/ |
vie_ref_count.cc | 18 : count_(0), 27 count_++; 33 count_--; 39 count_ = 0; 43 return count_;
|
vie_ref_count.h | 34 volatile int count_; member in class:webrtc::ViERefCount
|
/art/runtime/ |
dex_instruction_visitor_test.cc | 34 int count_; member in class:art::CountVisitor 36 CountVisitor() : count_(0) {} 39 ++count_; 47 EXPECT_EQ(0, v0.count_); 52 EXPECT_EQ(1, v1.count_); 57 EXPECT_EQ(2, v2.count_); 62 EXPECT_EQ(3, v3.count_); 67 EXPECT_EQ(4, v4.count_);
|
barrier.cc | 25 : count_(count), 32 SetCountLocked(self, count_ - 1); 46 SetCountLocked(self, count_ + delta); 55 while (count_ != 0) { 62 SetCountLocked(self, count_ + delta); 63 if (count_ != 0) { 68 if (count_ == 0) return; 80 count_ = count; 81 if (count_ == 0) { 87 CHECK(!count_) << "Attempted to destroy barrier with non zero count" [all...] |
thread_pool_test.cc | 29 explicit CountTask(AtomicInteger* count) : count_(count), verbose_(false) {} 38 ++*count_; 49 AtomicInteger* const count_; member in class:art::CountTask 109 count_(count), 114 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); 115 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); 118 ++*count_; 127 AtomicInteger* const count_; member in class:art::TreeTask
|
/external/openfst/src/include/fst/ |
lock.h | 78 RefCounter() : count_(1) {} 80 int count() const { return count_; } 81 int Incr() const { return ++count_; } 82 int Decr() const { return --count_; } 85 mutable int count_; member in class:fst::RefCounter
|
/external/chromium_org/third_party/webrtc/base/ |
rollingaccumulator.h | 39 return count_; 43 count_ = 0U; 54 if (count_ == max_count()) { 67 ++count_; 73 if (count_ == 1 || sample >= max_) { 77 if (count_ == 1 || sample <= min_) { 90 if (count_ == 0) { 93 return sum_ / count_; 98 ASSERT(count_ > 0 && 99 "It shouldn't be possible for max_stale_ && count_ == 0") 157 size_t count_; member in class:rtc::RollingAccumulator [all...] |
/external/chromium_org/ui/views/examples/ |
example_combobox_model.cc | 13 : strings_(strings), count_(count) { 20 return count_;
|
checkbox_example.cc | 16 CheckboxExample::CheckboxExample() : ExampleBase("Checkbox"), count_(0) { 30 PrintStatus("Pressed! count: %d", ++count_);
|
checkbox_example.h | 34 int count_; member in class:views::examples::CheckboxExample
|
/external/chromium_org/base/debug/ |
stack_trace.cc | 21 count_ = count; 28 *count = count_; 29 if (count_)
|
/external/libcxx/test/utilities/memory/specialized.algorithms/uninitialized.copy/ |
uninitialized_copy.pass.cpp | 22 static int count_; member in struct:B 25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} 29 int B::count_ = 0; member in class:B 47 B::count_ = 0; member in class:B
|
uninitialized_copy_n.pass.cpp | 22 static int count_; member in struct:B 25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} 29 int B::count_ = 0; member in class:B 47 B::count_ = 0; member in class:B
|
/external/libcxx/test/utilities/memory/specialized.algorithms/uninitialized.fill/ |
uninitialized_fill.pass.cpp | 22 static int count_; member in struct:B 25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} 29 int B::count_ = 0; member in class:B 46 B::count_ = 0; member in class:B
|
/external/libcxx/test/utilities/memory/specialized.algorithms/uninitialized.fill.n/ |
uninitialized_fill_n.pass.cpp | 21 static int count_; member in struct:B 24 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} 28 int B::count_ = 0; member in class:B 45 B::count_ = 0; member in class:B
|
/external/chromium_org/base/win/ |
enum_variant.cc | 16 count_(count), 24 DCHECK(index < count_); 49 unsigned long count = std::min(requested_count, count_ - current_index_); 60 if (current_index_ + count > count_) 61 count = count_ - current_index_; 73 EnumVariant* other = new EnumVariant(count_); 74 if (count_ > 0) 75 memcpy(other->ItemAt(0), &items_[0], count_ * sizeof(VARIANT));
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
crazy_linker_util.h | 149 Vector() : items_(0), count_(0), capacity_(0) {} 154 bool IsEmpty() const { return count_ == 0; } 156 void PushBack(T item) { InsertAt(static_cast<int>(count_), item); } 165 T result = items_[count_ - 1]; 166 Resize(count_ - 1); 184 size_t GetCount() const { return count_; } 192 size_t count_; member in class:crazy::Vector 198 for (size_t n = 0; n < count_; ++n) { 207 if (count_ >= capacity_) 213 if (n > count_) [all...] |
/external/chromium_org/third_party/cld/encodings/compact_lang_det/ |
subsetsequence.cc | 83 count_[0] = 0; 87 // Want largest <= kMaxSeq_ that allows reserve and makes count_[k_] = 0 mod 3 97 //DumpUint8s("count[k]", count_, k_ + 1); 101 CHECK((count_[k_] % 3) == 0); 102 int k_size = count_[k_]; 111 count_[k_] = 0; 114 count_[k_] = new_size; 120 // Want largest <= kMaxSeq_ that allows reserve and makes count_[k_] = 0 mod 3 125 //DumpUint8s("after: count[k]", count_, k_ + 1); 130 CHECK(count_[k_] > 3); // We depend on count_[k_] being > 3 to stop whil [all...] |
/external/chromium_org/content/browser/download/ |
download_item_impl_delegate.cc | 15 : count_(0) {} 18 DCHECK_EQ(0, count_); 22 ++count_; 26 DCHECK_LT(0, count_); 27 --count_;
|
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
entropy_encode.h | 68 int count_; member in struct:brotli::EntropyCode 81 code->count_ = 0; 85 if (code->count_ < 4) code->symbols_[code->count_] = i; 86 ++code->count_; 89 if (alphabet_size >= 50 && code->count_ >= 16) {
|
/art/runtime/mirror/ |
string-inl.h | 41 int32_t result = GetField32(OFFSET_OF_OBJECT_MEMBER(String, count_)); 60 DCHECK_GE(count_, 0); // ensures the unsigned comparison is safe. 61 if (UNLIKELY(static_cast<uint32_t>(index) >= static_cast<uint32_t>(count_))) { 65 "length=%i; index=%i", count_, index);
|