/external/tensorflow/tensorflow/core/lib/random/ |
D | philox_random.h | 128 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/ |
D | Ltest-cxx-exceptions.cxx | 38 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/ |
D | sample4.cc | 38 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()
|
D | sample4.h | 37 int counter_; 41 Counter() : counter_(0) {} in Counter()
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
D | TestVADDTX.cc | 41 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()
|
D | opus_test.cc | 32 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/ |
D | block_builder.cc | 51 : 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/ |
D | fake_agc.h | 21 : counter_(0), in FakeAgc() 28 if (counter_ % kUpdateIntervalFrames == 0) { in Process() 31 counter_++; in Process() 40 int counter_;
|
/external/libchrome/base/ |
D | thread_annotations_unittest.nc | 33 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_;
|
D | thread_annotations_unittest.cc | 35 int counter_ GUARDED_BY(lock_); 40 ++counter_; in ExplicitIncrement() 46 counter_++; in ImplicitIncrement()
|
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/ |
D | uninitialized_fill_n.pass.cpp | 42 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/ |
D | uninitialized_fill.pass.cpp | 43 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/ |
D | statistics_calculator.cc | 69 ++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/ |
D | thread_collision_warner.cc | 42 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/ |
D | uninitialized_copy.pass.cpp | 43 Nasty() : i_ ( counter_++ ) {} in Nasty() 46 static int counter_; member 49 int Nasty::counter_ = 0; member in Nasty
|
D | uninitialized_copy_n.pass.cpp | 43 Nasty() : i_ ( counter_++ ) {} in Nasty() 46 static int counter_; member 49 int Nasty::counter_ = 0; member in Nasty
|
/external/v8/src/ |
D | counters-inl.h | 16 counter_ = counter; in Start() 43 counter_->Increment(); in Stop() 54 counter_->Add(elapsed_); in CommitTimeToCounter()
|
/external/webrtc/webrtc/modules/video_coding/ |
D | jitter_estimator_tests.cc | 49 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/ |
D | periodic_function_test.cc | 157 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/ |
D | sample4.cc | 40 return counter_++; in Increment() 45 printf("%d", counter_); in Print()
|
D | sample4.h | 40 int counter_; 44 Counter() : counter_(0) {} in Counter()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | conditional_accumulator_base.cc | 28 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/ |
D | partitioning_utils.h | 76 : flib_def_(flib_def), name_(name), counter_(0) {} in FunctionNameGenerator() 85 uint32 counter_; variable
|
/external/libchrome/base/task/sequence_manager/ |
D | enqueue_order.h | 47 &counter_, uint64_t(1), std::memory_order_relaxed)); in GenerateNext() 51 std::atomic<uint64_t> counter_;
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | bindings_perftest.cc | 231 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
|