/art/runtime/ |
dex_instruction_visitor_test.cc | 33 int count_; member in class:art::CountVisitor 35 CountVisitor() : count_(0) {} 38 ++count_; 46 EXPECT_EQ(0, v0.count_); 51 EXPECT_EQ(1, v1.count_); 56 EXPECT_EQ(2, v2.count_); 61 EXPECT_EQ(3, v3.count_); 66 EXPECT_EQ(4, v4.count_);
|
barrier.cc | 27 : count_(count), 34 SetCountLocked(self, count_ - 1); 48 SetCountLocked(self, count_ + delta); 57 while (count_ != 0) { 64 SetCountLocked(self, count_ + delta); 66 if (count_ != 0) { 71 if (timed_out || count_ == 0) return timed_out; 84 count_ = count; 93 CHECK_EQ(count_, 0) << "Attempted to destroy barrier with non zero count"; 95 if (count_ != 0) [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 105 count_(count), 110 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); 111 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); 114 ++*count_; 123 AtomicInteger* const count_; member in class:art::TreeTask
|
indenter.h | 35 count_(count) {} function in class:art::Indenter 72 size_t remaining = count_; 105 size_t count_; member in class:art::Indenter 124 indenter_.count_ += adjustment; 128 DCHECK_GE(indenter_.count_, adjustment); 129 indenter_.count_ -= adjustment;
|
/external/libcxx/test/support/ |
counting_predicates.hpp | 17 unary_counting_predicate(Predicate p) : p_(p), count_(0) {} 20 bool operator () (const Arg &a) const { ++count_; return p_(a); } 21 size_t count() const { return count_; } 22 void reset() { count_ = 0; } 26 mutable size_t count_; member in struct:unary_counting_predicate 34 binary_counting_predicate ( Predicate p ) : p_(p), count_(0) {} 37 bool operator () (const Arg1 &a1, const Arg2 &a2) const { ++count_; return p_(a1, a2); } 38 size_t count() const { return count_; } 39 void reset() { count_ = 0; } 43 mutable size_t count_; member in struct:binary_counting_predicate [all...] |
/external/webrtc/webrtc/base/ |
rollingaccumulator.h | 40 return count_; 44 count_ = 0U; 55 if (count_ == max_count()) { 68 ++count_; 74 if (count_ == 1 || sample >= max_) { 78 if (count_ == 1 || sample <= min_) { 91 if (count_ == 0) { 94 return sum_ / count_; 99 ASSERT(count_ > 0 && 100 "It shouldn't be possible for max_stale_ && count_ == 0") 158 size_t count_; member in class:rtc::RollingAccumulator [all...] |
/external/webrtc/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();
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
biginteger.h | 32 BigInteger(const BigInteger& rhs) : count_(rhs.count_) { 33 std::memcpy(digits_, rhs.digits_, count_ * sizeof(Type)); 36 explicit BigInteger(uint64_t u) : count_(1) { 40 BigInteger(const char* decimals, size_t length) : count_(1) { 58 count_ = rhs.count_; 59 std::memcpy(digits_, rhs.digits_, count_ * sizeof(Type)); 66 count_ = 1; 73 for (size_t i = 0; i < count_ - 1; i++) [all...] |
/system/core/libmemunreachable/ |
Semaphore.h | 27 Semaphore(int count = 0) : count_(count) {} 33 if (count_ > 0) { 34 count_--; 43 count_++; 50 int count_; member in class:Semaphore
|
/external/libchrome/base/debug/ |
stack_trace.cc | 21 count_ = count; 28 *count = count_; 29 if (count_)
|
/external/google-benchmark/test/ |
filter_test.cc | 22 ++count_; 26 TestReporter() : count_(0) {} 31 return count_; 35 mutable size_t count_; member in class:__anon12172::TestReporter
|
/external/v8/src/ |
context-measure.h | 20 int Count() { return count_; } 39 int count_; member in class:v8::internal::ContextMeasure
|
/art/runtime/mirror/ |
string-inl.h | 43 explicit SetStringCountVisitor(int32_t count) : count_(count) { 50 string->SetCount(count_); 54 const int32_t count_; member in class:art::mirror::SetStringCountVisitor 62 : count_(count), src_array_(src_array), offset_(offset), high_byte_(high_byte) { 69 string->SetCount(count_); 72 for (int i = 0; i < count_; i++) { 78 const int32_t count_; member in class:art::mirror::SetStringCountAndBytesVisitor 89 count_(count), src_array_(src_array), offset_(offset) { 96 string->SetCount(count_); 98 memcpy(string->GetValue(), src, count_ * sizeof(uint16_t)) 102 const int32_t count_; member in class:art::mirror::SetStringCountAndValueVisitorFromCharArray 125 const int32_t count_; member in class:art::mirror::SetStringCountAndValueVisitorFromString [all...] |
/external/llvm/test/CodeGen/ARM/ |
2009-10-16-Scope.ll | 8 %count_ = alloca i32, align 4 ; <i32*> [#uses=2] 12 call void @llvm.dbg.declare(metadata i32* %count_, metadata !4, metadata !DIExpression()), !dbg !DILocation(scope: !5) 13 %conv = ptrtoint i32* %count_ to i32, !dbg !0 ; <i32> [#uses=1] 29 !4 = !DILocalVariable(name: "count_", line: 5, scope: !5, file: !3, type: !6)
|
/external/llvm/test/CodeGen/X86/ |
2009-10-16-Scope.ll | 8 %count_ = alloca i32, align 4 ; <i32*> [#uses=2] 12 call void @llvm.dbg.declare(metadata i32* %count_, metadata !4, metadata !DIExpression()), !dbg !DILocation(scope: !5) 13 %conv = ptrtoint i32* %count_ to i32, !dbg !0 ; <i32> [#uses=1] 29 !4 = !DILocalVariable(name: "count_", line: 5, scope: !5, file: !3, type: !6)
|
/ndk/sources/cxx-stl/llvm-libc++/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
|
/ndk/sources/cxx-stl/llvm-libc++/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/autotest/client/deps/glbench/src/ |
trianglesetuptest.cc | 70 count_ = CreateMesh(&indices, &index_buffer_size, width, height, 0); 74 RunTest(this, "triangle_setup", count_ / 3, g_width, g_height, true); 76 RunTest(this, "triangle_setup_all_culled", count_ / 3, g_width, g_height, true); 87 count_ = CreateMesh(&indices, &index_buffer_size, width, height, 93 RunTest(this, "triangle_setup_half_culled", count_ / 3, g_width, g_height, true);
|
/external/webrtc/webrtc/modules/audio_processing/intelligibility/ |
intelligibility_utils.cc | 68 count_(0), 106 ++count_; 112 if (count_ == 1) { 119 old_mean + (sample - old_mean) / static_cast<float>(count_); 124 conj_sum_[i] / (count_ - 1); 134 ++count_; 139 if (count_ == 1) { 160 size_t num = min(count_ + 1, window_size_); 185 ++count_; 196 AddToMean(data[i], count_ + 1, &sub_running_mean_[i]) 197 AddToMean(data[i] * std::conj(data[i]), count_ + 1, local [all...] |
/external/libcxx/test/std/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 58 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 58 B::count_ = 0; member in class:B
|
/external/libcxx/test/std/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 57 B::count_ = 0; member in class:B
|
/external/libcxx/test/std/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 56 B::count_ = 0; member in class:B
|
/ndk/sources/cxx-stl/llvm-libc++/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
|