Home
last modified time | relevance | path

Searched refs:counter_ (Results 1 – 25 of 46) sorted by relevance

12

/external/libunwind/tests/
DLtest-cxx-exceptions.cxx38 Test() { ++counter_; } in Test()
39 ~Test() { -- counter_; } in ~Test()
40 Test(const Test&) { ++counter_; } in Test()
43 static int counter_; member
46 int Test::counter_ = 0; member in Test
72 if (Test::counter_ != 0) in main()
74 return Test::counter_; in main()
/external/webrtc/webrtc/modules/audio_coding/test/
DTestVADDTX.cc41 counter_[frame_type]++; in InFrameType()
47 printf("kEmptyFrame %u\n", counter_[kEmptyFrame]); in PrintStatistics()
48 printf("kAudioFrameSpeech %u\n", counter_[kAudioFrameSpeech]); in PrintStatistics()
49 printf("kAudioFrameCN %u\n", counter_[kAudioFrameCN]); in PrintStatistics()
50 printf("kVideoFrameKey %u\n", counter_[kVideoFrameKey]); in PrintStatistics()
51 printf("kVideoFrameDelta %u\n", counter_[kVideoFrameDelta]); in PrintStatistics()
56 memset(counter_, 0, sizeof(counter_)); in ResetStatistics()
60 memcpy(counter, counter_, sizeof(counter_)); in GetStatistics()
Dopus_test.cc32 counter_(0), in OpusTest()
223 counter_ = 0; in Run()
289 if (counter_ == floor((100 / percent_loss) + 0.5)) { in Run()
290 counter_ = 0; in Run()
297 counter_++; in Run()
/external/libchrome/base/threading/
Dworker_pool_posix_unittest.cc96 counter_(0), in PosixDynamicThreadPoolTest()
127 return base::Bind(&IncrementingTask, &counter_lock_, &counter_, in CreateNewIncrementingTaskCallback()
133 &counter_lock_, &counter_, &unique_threads_lock_, &unique_threads_, in CreateNewBlockingIncrementingTaskCallback()
143 int counter_; member in base::__anon9fc2d57b0111::PosixDynamicThreadPoolTest
166 EXPECT_EQ(1, counter_); in TEST_F()
185 EXPECT_EQ(3, counter_); in TEST_F()
193 EXPECT_EQ(0, counter_) << "Blocking tasks should not have started yet."; in TEST_F()
201 EXPECT_EQ(2, counter_); in TEST_F()
219 EXPECT_EQ(3, counter_); in TEST_F()
253 EXPECT_EQ(4, counter_); in TEST_F()
Dthread_collision_warner.cc42 subtle::NoBarrier_AtomicIncrement(&counter_, 1); in EnterSelf()
55 subtle::NoBarrier_AtomicIncrement(&counter_, 1); in Enter()
59 if (subtle::Barrier_AtomicIncrement(&counter_, -1) == 0) { in Leave()
Dthread_collision_warner.h150 counter_(0),
234 volatile subtle::Atomic32 counter_; variable
/external/webrtc/webrtc/tools/agc/
Dfake_agc.h21 : counter_(0), in FakeAgc()
28 if (counter_ % kUpdateIntervalFrames == 0) { in Process()
31 counter_++; in Process()
40 int counter_;
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/
Duninitialized_fill.pass.cpp43 Nasty() : i_ ( counter_++ ) {} in Nasty()
46 static int counter_; member
49 int Nasty::counter_ = 0; member in Nasty
80 Nasty::counter_ = 23; in main()
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/
Duninitialized_fill_n.pass.cpp42 Nasty() : i_ ( counter_++ ) {} in Nasty()
45 static int counter_; member
48 int Nasty::counter_ = 0; member in Nasty
81 Nasty::counter_ = 23; in main()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dstatistics_calculator.cc69 ++counter_; in RegisterSample()
73 return counter_; in Metric()
77 counter_ = 0; in Reset()
94 ++counter_; in RegisterSample()
98 return static_cast<int>(sum_ / counter_); in Metric()
103 counter_ = 0; in Reset()
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/
Duninitialized_copy.pass.cpp43 Nasty() : i_ ( counter_++ ) {} in Nasty()
46 static int counter_; member
49 int Nasty::counter_ = 0; member in Nasty
Duninitialized_copy_n.pass.cpp43 Nasty() : i_ ( counter_++ ) {} in Nasty()
46 static int counter_; member
49 int Nasty::counter_ = 0; member in Nasty
/external/webrtc/webrtc/modules/video_coding/
Djitter_estimator_tests.cc49 ValueGenerator(int32_t amplitude) : amplitude_(amplitude), counter_(0) {} in ValueGenerator()
52 int64_t Delay() { return ((counter_ % 11) - 5) * amplitude_; } in Delay()
56 void Advance() { ++counter_; } in Advance()
60 int64_t counter_; member in webrtc::ValueGenerator
/external/google-breakpad/src/testing/gtest/samples/
Dsample4.cc40 return counter_++; in Increment()
45 printf("%d", counter_); in Print()
Dsample4.h40 int counter_;
44 Counter() : counter_(0) {} in Counter()
/external/v8/testing/gtest/samples/
Dsample4.cc40 return counter_++; in Increment()
45 printf("%d", counter_); in Print()
Dsample4.h40 int counter_;
44 Counter() : counter_(0) {} in Counter()
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/
Dsample4.cc40 return counter_++; in Increment()
45 printf("%d", counter_); in Print()
Dsample4.h40 int counter_;
44 Counter() : counter_(0) {} in Counter()
/external/protobuf/gtest/samples/
Dsample4.cc40 return counter_++; in Increment()
45 printf("%d", counter_); in Print()
Dsample4.h40 int counter_;
44 Counter() : counter_(0) {} in Counter()
/external/googletest/googletest/samples/
Dsample4.cc40 return counter_++; in Increment()
45 printf("%d", counter_); in Print()
Dsample4.h40 int counter_;
44 Counter() : counter_(0) {} in Counter()
/external/v8/src/
Dcounters-inl.h16 counter_ = counter; in Start()
43 counter_->Increment(); in Stop()
54 counter_->Add(elapsed_); in CommitTimeToCounter()
/external/libchrome/base/
Dbind_unittest.cc198 : counter_(copies, assigns, nullptr, nullptr) {} in CopyCounter()
199 CopyCounter(const CopyCounter& other) : counter_(other.counter_) {} in CopyCounter()
201 counter_ = other.counter_; in operator =()
205 explicit CopyCounter(const DerivedCopyMoveCounter& other) : counter_(other) {} in CopyCounter()
207 int copies() const { return counter_.copies(); } in copies()
210 CopyMoveCounter counter_; member in base::__anon771cbf6e0111::CopyCounter
218 : counter_(nullptr, nullptr, move_constructs, move_assigns) {} in MoveCounter()
219 MoveCounter(MoveCounter&& other) : counter_(std::move(other.counter_)) {} in MoveCounter()
221 counter_ = std::move(other.counter_); in operator =()
226 : counter_(std::move(other)) {} in MoveCounter()
[all …]

12