/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | producer_fec_unittest.cc | 46 generator_ = new FrameGenerator; in SetUp() 52 delete generator_; in TearDown() 56 FrameGenerator* generator_; member in webrtc::ProducerFecTest 116 generator_->NewFrame(kNumPackets); in TEST_F() 120 RtpPacket* rtp_packet = generator_->NextPacket(i, 10); in TEST_F() 128 uint16_t seq_num = generator_->NextSeqNum(); in TEST_F() 160 generator_->NewFrame(kNumPackets); in TEST_F() 162 RtpPacket* rtp_packet = generator_->NextPacket(i * kNumPackets + j, 10); in TEST_F() 171 uint16_t seq_num = generator_->NextSeqNum(); in TEST_F() 188 generator_->NewFrame(1); in TEST_F() [all …]
|
D | fec_receiver_unittest.cc | 37 generator_.reset(new FrameGenerator()); in SetUp() 52 generator_->NewFrame(num_media_packets); in GenerateFrame() 55 generator_->NextPacket(frame_offset + i, kRtpHeaderSize + 10)); in GenerateFrame() 71 RtpPacket* red_packet = generator_->BuildMediaRedPacket(packet); in BuildAndAddRedMediaPacket() 79 RtpPacket* red_packet = generator_->BuildFecRedPacket(packet); in BuildAndAddRedFecPacket() 94 rtc::scoped_ptr<FrameGenerator> generator_; member in webrtc::ReceiverFecTest
|
/external/tensorflow/tensorflow/core/util/ |
D | guarded_philox_random.cc | 42 generator_ = random::PhiloxRandom(seed, seed2); in Init() 50 generator_ = random::PhiloxRandom(counter, key); in Init() 57 auto local = generator_; in ReserveSamples128() 58 generator_.Skip(samples); in ReserveSamples128()
|
D | guarded_philox_random.h | 74 random::PhiloxRandom generator_ GUARDED_BY(mu_);
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | random_dataset_op.cc | 84 generator_(&parent_generator_) {} in Iterator() 117 generator_ = in RestoreInternal() 119 generator_.Skip(num_random_samples_); in RestoreInternal() 127 auto out = generator_(); in Random() 132 random::SingleSampleAdapter<random::PhiloxRandom> generator_
|
D | sampling_dataset_op.cc | 102 generator_(&parent_generator_) {} in Iterator() 144 generator_ = in ResetRngs() 146 generator_.Skip(num_random_samples_); in ResetRngs() 194 uint32 random_uint = generator_(); in Random() 203 random::SingleSampleAdapter<random::PhiloxRandom> generator_
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | log_quantized_test.cc | 52 NumberGenerator generator_; member in tflite::LogQuantizedTest 279 generator_.RandomIntVector(kVariations, 0, 24); in TEST_F() 281 generator_.RandomIntVector(kVariations, 1, 10); in TEST_F() 290 "VariedIntegerBits", tolerance, &generator_); in TEST_F() 293 tolerance, &generator_); in TEST_F() 304 kIntegerTolerance, &generator_); in TEST_F() 307 &generator_); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | test_utils.h | 42 : min_(min_value), max_(max_value), generator_(seed) {} in PseudorandomGenerator() 48 (max_ - min_) * distribution(generator_)); in get() 54 std::mt19937 generator_; variable
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | random_seed_ops.cc | 41 *seed1 = generator_(); in GenerateRandomSeeds() 43 *seed2 = generator_(); in GenerateRandomSeeds() 60 generator_ = in Reset() 62 generator_.Skip(num_random_samples_); in Reset()
|
D | random_seed_ops.h | 35 generator_(&parent_generator_) {} in RandomSeedGenerator() 50 random::SingleSampleAdapter<random::PhiloxRandom> generator_ GUARDED_BY(mu_);
|
/external/tensorflow/tensorflow/core/kernels/ |
D | random_op.cc | 71 OP_REQUIRES_OK(ctx, generator_.Init(ctx)); in PhiloxRandomOp() 83 generator_.ReserveRandomOutputs(output_flat.size(), 256), in Compute() 88 GuardedPhiloxRandom generator_; member in tensorflow::__anon348174ee0111::PhiloxRandomOp 95 OP_REQUIRES_OK(ctx, generator_.Init(ctx)); in RandomUniformIntOp() 132 generator_.ReserveRandomOutputs(output_flat.size(), 256), in Compute() 137 GuardedPhiloxRandom generator_; member in tensorflow::__anon348174ee0111::RandomUniformIntOp 146 OP_REQUIRES_OK(context, generator_.Init(context)); in RandomGammaOp() 201 PhiloxRandom rng = generator_.ReserveRandomOutputs( in Compute() 324 GuardedPhiloxRandom generator_; member in tensorflow::__anon348174ee0111::RandomGammaOp
|
D | random_crop_op.cc | 31 OP_REQUIRES_OK(context, generator_.Init(context)); in RandomCropOp() 83 auto local_gen = generator_.ReserveSamples32(2); in Compute() 109 GuardedPhiloxRandom generator_; member in tensorflow::RandomCropOp
|
D | random_shuffle_op.cc | 66 OP_REQUIRES_OK(context, generator_.Init(context)); in RandomShuffleOp() 79 auto local_gen = generator_.ReserveSamples32(samples); in Compute() 105 GuardedPhiloxRandom generator_; member in tensorflow::RandomShuffleOp
|
D | multinomial_op.cc | 225 OP_REQUIRES_OK(ctx, generator_.Init(ctx)); in StatefulMultinomialOp() 231 this->DoCompute(ctx, logits_t, num_samples_t, &generator_); in Compute() 235 GuardedPhiloxRandom generator_; member in tensorflow::__anona9c407380211::StatefulMultinomialOp 304 GuardedPhiloxRandom generator_; member in tensorflow::__anona9c407380211::StatelessMultinomialOp
|
D | random_poisson_op.cc | 286 OP_REQUIRES_OK(context, generator_.Init(context)); in RandomPoissonOp() 306 random::PhiloxRandom rng = generator_.ReserveRandomOutputs( in Compute() 315 GuardedPhiloxRandom generator_; member in tensorflow::__anona1626e980311::RandomPoissonOp
|
D | candidate_sampler_ops.cc | 39 OP_REQUIRES_OK(context, generator_.Init(context)); in BaseCandidateSamplerOp() 90 auto local_gen = generator_.ReserveSamples32(samples32); in Compute() 109 GuardedPhiloxRandom generator_; member in tensorflow::BaseCandidateSamplerOp
|
D | sample_distorted_bounding_box_op.cc | 208 OP_REQUIRES_OK(context, generator_.Init(context)); in SampleDistortedBoundingBoxV2Op() 345 auto local_gen = generator_.ReserveSamples32(4 * max_attempts_); in Compute() 424 GuardedPhiloxRandom generator_; member in tensorflow::SampleDistortedBoundingBoxV2Op
|
/external/v8/src/debug/ |
D | debug-scopes.cc | 71 generator_(generator), in ScopeIterator() 712 DCHECK(!generator_.is_null()); in GetSourcePosition() 714 isolate_, handle(generator_->function().shared(), isolate_)); in GetSourcePosition() 715 return generator_->source_position(); in GetSourcePosition() 790 ? handle(generator_->receiver(), isolate_) in VisitLocals() 830 DCHECK(!generator_.is_null()); in VisitLocals() 832 generator_->parameters_and_registers(); in VisitLocals() 848 DCHECK(!generator_.is_null()); in VisitLocals() 850 generator_->parameters_and_registers(); in VisitLocals() 983 DCHECK(!generator_.is_null()); in SetLocalVariableValue() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | shape_partition_test.cc | 152 : generator_(rd_()), distribution_(1, 10) {} in RandomShapePartitionIteratorTest() 156 int64 Rand() { return distribution_(generator_); } in Rand() 159 std::mt19937 generator_; member in xla::cpu::__anone85949320111::RandomShapePartitionIteratorTest
|
/external/webrtc/webrtc/modules/video_coding/ |
D | video_sender_unittest.cc | 184 assert(generator_.get()); in AddFrame() 185 sender_->AddVideoFrame(*generator_->NextFrame(), NULL, NULL); in AddFrame() 194 rtc::scoped_ptr<FrameGenerator> generator_; member in webrtc::vcm::__anona48275f30111::TestVideoSender 217 generator_.reset( in SetUp() 365 generator_.reset(FrameGenerator::CreateFromYuvFile( in SetUp()
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_bootstrap_unittest.cc | 115 ASSERT_TRUE(generator_.Generate(proto_file, parameter_, in Run() 124 Generator generator_; member in google::protobuf::compiler::csharp::__anona537c40a0111::GenerateAndTest
|
/external/tensorflow/tensorflow/core/lib/random/ |
D | random_distributions.cc | 24 generator_->Skip(num_skips); in SkipFromGenerator()
|
D | random_distributions.h | 318 : generator_(gen), used_result_index_(Generator::kResultElementCount) {} in SingleSampleAdapter() 323 unused_results_ = (*generator_)(); in operator() 345 unused_results_ = (*generator_)(); in Skip() 357 (*generator_)(); in SkipFromGenerator() 361 Generator* generator_; variable
|
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/ |
D | union_definition.tmpl | 44 {{union.name}}.generate = function(generator_) { 51 …generator: function() { return {{generate_or_mutate('generator_', 'generate', field.kind)|indent(6… 56 var result = generator_.generateUnionField(generators);
|
/external/v8/src/interpreter/ |
D | bytecode-generator.cc | 40 : generator_(generator), in ContextScope() 42 outer_(generator_->execution_context()), in ContextScope() 51 generator_->register_allocator()->NewRegister(); in ContextScope() 53 generator_->builder()->PushContext(outer_context_reg); in ContextScope() 55 generator_->set_execution_context(this); in ContextScope() 61 generator_->builder()->PopContext(outer_->reg()); in ~ContextScope() 64 generator_->set_execution_context(outer_); in ~ContextScope() 89 const BytecodeArrayBuilder* builder() const { return generator_->builder(); } in builder() 93 BytecodeGenerator* generator_; member in v8::internal::interpreter::BytecodeGenerator::ContextScope 105 : generator_(generator), in ControlScope() [all …]
|