Home
last modified time | relevance | path

Searched refs:count_ (Results 1 – 25 of 109) sorted by relevance

12345

/external/webrtc/webrtc/base/
Drollingaccumulator.h40 return count_; in count()
44 count_ = 0U; in Reset()
55 if (count_ == max_count()) { in AddSample()
68 ++count_; in AddSample()
74 if (count_ == 1 || sample >= max_) { in AddSample()
78 if (count_ == 1 || sample <= min_) { in AddSample()
91 if (count_ == 0) { in ComputeMean()
94 return sum_ / count_; in ComputeMean()
99 ASSERT(count_ > 0 && in ComputeMax()
102 for (size_t i = 1u; i < count_; i++) { in ComputeMax()
[all …]
Dcallback_unittest.cc33 RefCountedBindTester() : count_(0) {} in RefCountedBindTester()
35 return ++count_; in AddRef()
38 return --count_; in Release()
40 int RefCount() const { return count_; } in RefCount()
43 mutable int count_; member in rtc::__anone08b7f130111::RefCountedBindTester
/external/libcxx/test/support/
Dcounting_predicates.hpp17 unary_counting_predicate(Predicate p) : p_(p), count_(0) {} in unary_counting_predicate()
20 bool operator () (const Arg &a) const { ++count_; return p_(a); } in operator ()()
21 size_t count() const { return count_; } in count()
22 void reset() { count_ = 0; } in reset()
26 mutable size_t count_; member
34 binary_counting_predicate ( Predicate p ) : p_(p), count_(0) {} in binary_counting_predicate()
37 bool operator () (const Arg1 &a1, const Arg2 &a2) const { ++count_; return p_(a1, a2); } in operator ()()
38 size_t count() const { return count_; } in count()
39 void reset() { count_ = 0; } in reset()
43 mutable size_t count_; member
/external/webrtc/webrtc/test/
Dstatistics.cc17 Statistics::Statistics() : sum_(0.0), sum_squared_(0.0), count_(0) {} in Statistics()
22 ++count_; in AddSample()
26 if (count_ == 0) in Mean()
28 return sum_ / count_; in Mean()
32 if (count_ == 0) in Variance()
34 return sum_squared_ / count_ - Mean() * Mean(); in Variance()
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_utils.cc68 count_(0), in VarianceArray()
106 ++count_; in InfiniteStep()
112 if (count_ == 1) { in InfiniteStep()
119 old_mean + (sample - old_mean) / static_cast<float>(count_); in InfiniteStep()
124 conj_sum_[i] / (count_ - 1); in InfiniteStep()
134 ++count_; in DecayStep()
139 if (count_ == 1) { in DecayStep()
160 size_t num = min(count_ + 1, window_size_); in WindowedStep()
185 ++count_; in WindowedStep()
196 AddToMean(data[i], count_ + 1, &sub_running_mean_[i]); in BlockedStep()
[all …]
/external/libchrome/base/strings/
Dsafe_sprintf.cc115 count_(0) { in Buffer()
142 return count_ == static_cast<size_t>(kSSizeMax - 1); in OutOfAddressableSpace()
150 DEBUG_CHECK(count_ < kSSizeMax); in GetCount()
151 return static_cast<ssize_t>(count_); in GetCount()
161 if (size_ >= 1 && count_ < size_) { in Out()
162 buffer_[count_] = ch; in Out()
236 if (count_ > kSSizeMax - 1 - inc) { in IncrementCount()
237 count_ = kSSizeMax - 1; in IncrementCount()
240 count_ += inc; in IncrementCount()
255 size_t idx = count_; in GetInsertionPoint()
[all …]
/external/autotest/client/deps/glbench/src/
Dtrianglesetuptest.cc70 count_ = CreateMesh(&indices, &index_buffer_size, width, height, 0); in Run()
74 RunTest(this, "triangle_setup", count_ / 3, g_width, g_height, true); in Run()
76 RunTest(this, "triangle_setup_all_culled", count_ / 3, g_width, g_height, true); in Run()
87 count_ = CreateMesh(&indices, &index_buffer_size, width, height, in Run()
93 RunTest(this, "triangle_setup_half_culled", count_ / 3, g_width, g_height, true); in Run()
Dattributefetchtest.cc109 count_ = CreateMesh(&indices, &index_buffer_size, width, height, 0); in Run()
120 RunTest(this, "attribute_fetch_shader", count_, g_width, g_height, true); in Run()
125 "attribute_fetch_shader_2_attr", count_, g_width, g_height, true); in Run()
130 "attribute_fetch_shader_4_attr", count_, g_width, g_height, true); in Run()
135 "attribute_fetch_shader_8_attr", count_, g_width, g_height, true); in Run()
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/
Duninitialized_fill.pass.cpp22 static int count_; member
25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B()
29 int B::count_ = 0; member in B
57 B::count_ = 0; in main()
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/
Duninitialized_copy_n.pass.cpp22 static int count_; member
25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B()
29 int B::count_ = 0; member in B
58 B::count_ = 0; in main()
Duninitialized_copy.pass.cpp22 static int count_; member
25 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B()
29 int B::count_ = 0; member in B
58 B::count_ = 0; in main()
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/
Duninitialized_fill_n.pass.cpp21 static int count_; member
24 B(const B& b) {if (++count_ == 3) throw 1; data_ = b.data_;} in B()
28 int B::count_ = 0; member in B
56 B::count_ = 0; in main()
/external/google-benchmark/test/
Dfilter_test.cc22 ++count_; in ReportRuns()
26 TestReporter() : count_(0) {} in TestReporter()
31 return count_; in GetCount()
35 mutable size_t count_; member in __anon106b4d690111::TestReporter
/external/v8/src/crankshaft/
Dhydrogen-gvn.cc18 count_(0), in HInstructionMap()
40 bool IsEmpty() const { return count_ == 0; } in IsEmpty()
62 int count_; // The number of values stored in the HInstructionMap. member in v8::internal::HInstructionMap
84 bool IsEmpty() const { return count_ == 0; } in IsEmpty()
94 int count_; member in v8::internal::BASE_EMBEDDED
138 count_(other->count_), in HInstructionMap()
166 count_--; in Kill()
182 count_--; in Kill()
216 DCHECK(new_size > count_); in Resize()
232 int old_count = count_; in Resize()
[all …]
/external/webrtc/webrtc/system_wrappers/source/
Dcritical_section_unittest.cc34 count_(0) { in ProtectedCount()
39 ++count_; in Increment()
44 return count_; in Count()
49 int count_; member in webrtc::__anon5bb826620111::ProtectedCount
Devent_timer_posix.cc39 count_(0) { in EventTimerPosix()
188 count_ = 0; in Process()
192 unsigned long long time = time_ * ++count_; in Process()
206 if (periodic_ || count_ == 1) in Process()
225 count_ = 0; in StopTimer()
/external/libchrome/base/debug/
Dstack_trace.cc21 count_ = count; in StackTrace()
28 *count = count_; in Addresses()
29 if (count_) in Addresses()
/external/webrtc/webrtc/p2p/base/
Dstunrequest.cc142 : count_(0), timeout_(false), manager_(0), in StunRequest()
149 : count_(0), timeout_(false), manager_(0), in StunRequest()
215 count_ += 1; in OnSent()
216 if (count_ == MAX_SENDS) in OnSent()
221 if (count_ == 0) { in resend_delay()
224 return DELAY_UNIT * std::min(1 << (count_-1), DELAY_MAX_FACTOR); in resend_delay()
/external/google-breakpad/src/processor/
Daddress_map_unittest.cc60 explicit CountedObject(int id) : id_(id) { ++count_; } in CountedObject()
61 ~CountedObject() { --count_; } in ~CountedObject()
63 static int count() { return count_; } in count()
67 static int count_; member in __anon93b8996c0111::CountedObject
71 int CountedObject::count_; member in __anon93b8996c0111::CountedObject
/external/gemmlowp/internal/
Dmulti_thread_gemm.h156 count_(0), in BlockingCounter()
163 assert(count_ == 0); in Reset()
165 count_ = initial_count_; in Reset()
175 assert(count_ > 0); in DecrementCount()
176 count_--; in DecrementCount()
177 if (count_ == 0) { in DecrementCount()
180 bool retval = count_ == 0; in DecrementCount()
189 while (count_) { in Wait()
191 const std::size_t count_value = count_; in Wait()
193 WaitForVariableChange(&count_, count_value, &cond_, &mutex_); in Wait()
[all …]
/external/svox/pico/lib/
Dpicodsp.h89 int count_ = (aCount); \
90 int times_ = (count_ + 7) >> 3; \
91 switch (count_ & 7){ \
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_libignore.cc26 if (count_ >= kMaxLibs) { in AddIgnoredLibrary()
31 Lib *lib = &libs_[count_++]; in AddIgnoredLibrary()
44 for (uptr i = 0; i < count_; i++) { in OnLibraryLoaded()
55 for (uptr i = 0; i < count_; i++) { in OnLibraryLoaded()
/external/llvm/test/CodeGen/X86/
D2009-10-16-Scope.ll8 %count_ = alloca i32, align 4 ; <i32*> [#uses=2]
12 …call void @llvm.dbg.declare(metadata i32* %count_, metadata !4, metadata !DIExpression()), !dbg !D…
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/ARM/
D2009-10-16-Scope.ll8 %count_ = alloca i32, align 4 ; <i32*> [#uses=2]
12 …call void @llvm.dbg.declare(metadata i32* %count_, metadata !4, metadata !DIExpression()), !dbg !D…
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/parameter-framework/asio-1.10.6/include/asio/detail/
Dbuffer_sequence_adapter.hpp67 : count_(0), total_buffer_size_(0) in buffer_sequence_adapter()
71 for (; iter != end && count_ < max_buffers; ++iter, ++count_) in buffer_sequence_adapter()
74 init_native_buffer(buffers_[count_], buffer); in buffer_sequence_adapter()
86 return count_; in count()
131 std::size_t count_; member in asio::detail::buffer_sequence_adapter

12345