Searched refs:count_ (Results 1 - 25 of 154) sorted by relevance

1234567

/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dheap-checker-bcad.cc62 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/
H A Dheap-checker-bcad.cc62 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/chrome/browser/resources/local_ntp/
H A Dlocal_ntp_util.js22 this.count_ = 0;
33 ++this.count_;
41 if (this.count_ === 0) // Guards against underflow.
43 --this.count_;
44 if (!this.isCancelled_ && this.count_ === 0)
/external/chromium_org/third_party/webrtc/test/
H A Dstatistics.cc17 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();
H A Dstatistics.h31 uint64_t count_; member in class:webrtc::test::Statistics
/external/chromium_org/third_party/webrtc/video_engine/
H A Dvie_ref_count.cc18 : count_(0),
27 count_++;
33 count_--;
39 count_ = 0;
43 return count_;
H A Dvie_ref_count.h34 volatile int count_; member in class:webrtc::ViERefCount
/external/chromium_org/third_party/webrtc/base/
H A Drollingaccumulator.h39 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_
157 size_t count_; member in class:rtc::RollingAccumulator
[all...]
/external/libcxx/test/utilities/memory/specialized.algorithms/uninitialized.copy/
H A Duninitialized_copy_n.pass.cpp22 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
H A Duninitialized_copy.pass.cpp22 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/
H A Duninitialized_fill.pass.cpp22 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/chromium_org/ui/views/examples/
H A Dexample_combobox_model.cc13 : strings_(strings), count_(count) {
20 return count_;
H A Dcheckbox_example.cc16 CheckboxExample::CheckboxExample() : ExampleBase("Checkbox"), count_(0) {
30 PrintStatus("Pressed! count: %d", ++count_);
H A Dexample_combobox_model.h25 int count_; member in class:views::examples::ExampleComboboxModel
/external/openfst/src/include/fst/
H A Dlock.h78 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
H A Dcompat.h80 CheckSummer() : count_(0) {
85 count_ = 0;
93 check_sum_[(count_++) % kCheckSumLength] ^= p[i];
98 check_sum_[(count_++) % kCheckSumLength] ^= data[i];
107 int count_; member in class:fst::CheckSummer
/external/chromium_org/base/debug/
H A Dstack_trace.cc21 count_ = count;
28 *count = count_;
29 if (count_)
/external/libcxx/test/utilities/memory/specialized.algorithms/uninitialized.fill.n/
H A Duninitialized_fill_n.pass.cpp21 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/
H A Denum_variant.cc16 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/
H A Dcrazy_linker_util.h149 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/
H A Dsubsetsequence.cc83 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
[all...]
/external/chromium_org/content/browser/download/
H A Ddownload_item_impl_delegate.cc15 : count_(0) {}
18 DCHECK_EQ(0, count_);
22 ++count_;
26 DCHECK_LT(0, count_);
27 --count_;
/external/svox/pico/lib/
H A Dpicodsp.h89 int count_ = (aCount); \
90 int times_ = (count_ + 7) >> 3; \
91 switch (count_ & 7){ \
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dentropy_encode.h68 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) {
/external/chromium_org/mojo/system/
H A Dmemory.h319 : user_pointer_(user_pointer), count_(count) {
320 if (count_ > 0) {
321 buffer_.reset(new Type[count_]);
322 memset(buffer_.get(), 0, count_ * sizeof(Type));
330 user_pointer_.pointer_, count_);
331 memcpy(user_pointer_.pointer_, buffer_.get(), count_ * sizeof(Type));
336 size_t count_; member in class:mojo::system::UserPointerWriter
348 : user_pointer_(user_pointer), count_(count) {
349 if (count_ > 0) {
351 user_pointer_.pointer_, count_);
368 size_t count_; member in class:mojo::system::UserPointerReaderWriter
[all...]

Completed in 490 milliseconds

1234567