Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/core/lib/random/
Dphilox_random.h128 counter_[2] = static_cast<uint32>(seed_hi); in PhiloxRandom()
129 counter_[3] = static_cast<uint32>(seed_hi >> 32); in PhiloxRandom()
133 PhiloxRandom(ResultType counter, Key key) : counter_(counter), key_(key) {} in PhiloxRandom()
136 ResultType const& counter() const { return counter_; } in counter()
147 counter_[0] += count_lo; in Skip()
148 if (counter_[0] < count_lo) { in Skip()
152 counter_[1] += count_hi; in Skip()
153 if (counter_[1] < count_hi) { in Skip()
154 if (++counter_[2] == 0) { in Skip()
155 ++counter_[3]; in Skip()
[all …]
/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/googletest/googletest/samples/
Dsample4.cc38 return counter_++; in Increment()
44 if (counter_ == 0) { in Decrement()
45 return counter_; in Decrement()
47 return counter_--; in Decrement()
53 printf("%d", counter_); in Print()
Dsample4.h37 int counter_;
41 Counter() : counter_(0) {} in Counter()
/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/tensorflow/tensorflow/core/lib/io/
Dblock_builder.cc51 : options_(options), restarts_(), counter_(0), finished_(false) { in BlockBuilder()
60 counter_ = 0; in Reset()
86 assert(counter_ <= options_->block_restart_interval); in Add()
90 if (counter_ < options_->block_restart_interval) { in Add()
100 counter_ = 0; in Add()
121 counter_++; in Add()
/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/libchrome/base/
Dthread_annotations_unittest.nc33 int counter_ GUARDED_BY(lock_);
40 ++counter_;
44 #elif defined(NCTEST_ACCESS_WITHOUT_LOCK) // [r"fatal error: writing variable 'counter_' requires …
48 ++counter_;
51 #elif defined(NCTEST_ACCESS_WITHOUT_SCOPED_LOCK) // [r"fatal error: writing variable 'counter_' re…
58 ++counter_;
Dthread_annotations_unittest.cc35 int counter_ GUARDED_BY(lock_);
40 ++counter_; in ExplicitIncrement()
46 counter_++; in ImplicitIncrement()
/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/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/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/libchrome/base/threading/
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()
/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/v8/src/
Dcounters-inl.h16 counter_ = counter; in Start()
43 counter_->Increment(); in Stop()
54 counter_->Add(elapsed_); in CommitTimeToCounter()
/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/tensorflow/tensorflow/core/kernels/batching_util/
Dperiodic_function_test.cc157 counter_(0), in PeriodicFunctionWithFakeClockEnvTest()
161 ++counter_; in PeriodicFunctionWithFakeClockEnvTest()
189 return counter_ == expected_counter; in AwaitCount()
195 int counter_; member in tensorflow::serving::__anon9b8eb7430111::PeriodicFunctionWithFakeClockEnvTest
/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/tensorflow/tensorflow/core/kernels/
Dconditional_accumulator_base.cc28 counter_ = 0; in ConditionalAccumulatorBase()
83 if (counter_ >= attempt->elements_requested) { in TryTakeGrad()
206 if (successful_set_output) counter_ = 0; in TakeGradLockedHelper()
/external/tensorflow/tensorflow/core/common_runtime/
Dpartitioning_utils.h76 : flib_def_(flib_def), name_(name), counter_(0) {} in FunctionNameGenerator()
85 uint32 counter_; variable
/external/libchrome/base/task/sequence_manager/
Denqueue_order.h47 &counter_, uint64_t(1), std::memory_order_relaxed)); in GenerateNext()
51 std::atomic<uint64_t> counter_;
/external/libchrome/mojo/public/cpp/bindings/tests/
Dbindings_perftest.cc231 counter_++; in Accept()
242 uint32_t counter() const { return counter_; } in counter()
244 void Reset() { counter_ = 0; } in Reset()
247 uint32_t counter_ = 0; member in mojo::__anon25a194a60111::CounterReceiver

123