/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();
|
statistics.h | 31 uint64_t count_; member in class:webrtc::test::Statistics
|
/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...] |
/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
|
/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/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...] |
/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...] |
/external/libchrome/base/debug/ |
stack_trace.cc | 21 count_ = count; 28 *count = count_; 29 if (count_)
|
/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
|
/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
|
/external/svox/pico/lib/ |
picodsp.h | 89 int count_ = (aCount); \ 90 int times_ = (count_ + 7) >> 3; \ 91 switch (count_ & 7){ \
|
/external/autotest/client/deps/glbench/src/ |
testbase.h | 84 DrawElementsTestFunc() : count_(0) {} 92 GLsizei count_; member in class:glbench::DrawElementsTestFunc
|
attributefetchtest.cc | 109 count_ = CreateMesh(&indices, &index_buffer_size, width, height, 0); 120 RunTest(this, "attribute_fetch_shader", count_, g_width, g_height, true); 125 "attribute_fetch_shader_2_attr", count_, g_width, g_height, true); 130 "attribute_fetch_shader_4_attr", count_, g_width, g_height, true); 135 "attribute_fetch_shader_8_attr", count_, g_width, g_height, true);
|
/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/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/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
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
filereadstream.h | 37 FileReadStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferSize_(bufferSize), bufferLast_(0), current_(buffer_), readCount_(0), count_(0), eof_(false) {
45 size_t Tell() const { return count_ + static_cast<size_t>(current_ - buffer_); }
63 count_ += readCount_;
82 size_t count_; //!< Number of characters read
member in class:FileReadStream
|