Home
last modified time | relevance | path

Searched refs:counter_ (Results 1 – 25 of 47) 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()
DTestStereo.cc117 counter_(0) in TestStereo()
749 if (counter_ == floor((100 / percent_loss) + 0.5)) { in Run()
750 counter_ = 0; in Run()
755 counter_++; in Run()
789 if ((counter_ > 10) && (time_stamp_diff != pack_size_samp_)) { in Run()
/external/libchrome/base/threading/
Dworker_pool_posix_unittest.cc96 counter_(0), in PosixDynamicThreadPoolTest()
126 return base::Bind(&IncrementingTask, &counter_lock_, &counter_, in CreateNewIncrementingTaskCallback()
132 &counter_lock_, &counter_, &unique_threads_lock_, &unique_threads_, in CreateNewBlockingIncrementingTaskCallback()
142 int counter_; member in base::__anon0ac3a4bd0111::PosixDynamicThreadPoolTest
165 EXPECT_EQ(1, counter_); in TEST_F()
184 EXPECT_EQ(3, counter_); in TEST_F()
192 EXPECT_EQ(0, counter_) << "Blocking tasks should not have started yet."; in TEST_F()
200 EXPECT_EQ(2, counter_); in TEST_F()
218 EXPECT_EQ(3, counter_); in TEST_F()
252 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.n/
Duninitialized_fill_n.pass.cpp32 Nasty() : i_ ( counter_++ ) {} in Nasty()
35 static int counter_; member
38 int Nasty::counter_ = 0; member in Nasty
68 Nasty::counter_ = 23; in main()
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/
Duninitialized_fill.pass.cpp33 Nasty() : i_ ( counter_++ ) {} in Nasty()
36 static int counter_; member
39 int Nasty::counter_ = 0; member in Nasty
67 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()
Dstatistics_calculator.h127 int counter_ = 0;
144 int counter_ = 0; variable
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/
Duninitialized_copy_n.pass.cpp33 Nasty() : i_ ( counter_++ ) {} in Nasty()
36 static int counter_; member
39 int Nasty::counter_ = 0; member in Nasty
Duninitialized_copy.pass.cpp33 Nasty() : i_ ( counter_++ ) {} in Nasty()
36 static int counter_; member
39 int Nasty::counter_ = 0; member in Nasty
/external/v8/test/unittests/base/platform/
Dcondition-variable-unittest.cc225 counter_(counter), in LoopIncrementThread()
238 int count = *counter_; in Run()
241 count = *counter_; in Run()
244 EXPECT_EQ(*counter_, count); in Run()
249 *counter_ = count; in Run()
257 int* counter_; member in v8::base::__anon2c3d16790311::LoopIncrementThread
/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/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/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/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/webrtc/webrtc/system_wrappers/source/
Ddata_log.cc321 : counter_(1), in DataLogImpl()
346 ++instance_->counter_; in CreateLog()
363 if (instance_ && instance_->counter_ > 1) { in ReturnLog()
364 --instance_->counter_; in ReturnLog()
/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc125 : array_stream_(data, size, block_size), counter_(0) {} in TestInputStream()
132 if (counter_ % 3 == 0 || counter_ % 5 == 0) { in Next()
135 ++counter_; in Next()
138 ++counter_; in Next()
149 int counter_; member in google::protobuf::io::__anonfb5a914a0111::TestInputStream
/external/libchrome/base/
Did_map_unittest.cc18 explicit DestructorCounter(int* counter) : counter_(counter) {} in DestructorCounter()
19 ~DestructorCounter() { ++(*counter_); } in ~DestructorCounter()
22 int* counter_; member in __anon1355eb1d0111::DestructorCounter

12