/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()
|
/external/v8/src/profiler/ |
D | cpu-profiler.cc | 52 generator_(generator), in ProfilerEventsProcessor() 112 record.clss##_.UpdateCodeMap(generator_->code_map()); \ in ProcessCodeEvent() 133 generator_->RecordTickSample(record.sample); in ProcessOneSample() 145 generator_->RecordTickSample(record->sample); in ProcessOneSample() 301 generator_(test_generator), in CpuProfiler() 322 generator_.reset(); in ResetProfiles() 327 CodeMap* code_map = generator_->code_map(); in CreateEntriesForRuntimeCallStats() 373 if (!generator_) { in StartProcessorIfNotStarted() 374 generator_.reset(new ProfileGenerator(profiles_.get())); in StartProcessorIfNotStarted() 378 processor_.reset(new ProfilerEventsProcessor(isolate_, generator_.get(), in StartProcessorIfNotStarted()
|
D | cpu-profiler.h | 175 ProfileGenerator* generator_; variable 220 ProfileGenerator* generator() const { return generator_.get(); } in generator() 239 std::unique_ptr<ProfileGenerator> generator_; variable
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | log_quantized_test.cc | 52 NumberGenerator generator_; member in tflite::LogQuantizedTest 278 generator_.RandomIntVector(kVariations, 0, 24); in TEST_F() 280 generator_.RandomIntVector(kVariations, 1, 10); in TEST_F() 289 "VariedIntegerBits", tolerance, &generator_); in TEST_F() 292 tolerance, &generator_); in TEST_F() 303 kIntegerTolerance, &generator_); in TEST_F() 306 &generator_); in TEST_F()
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | random_dataset_op.cc | 99 generator_(&parent_generator_) {} in Iterator() 132 generator_ = random::SingleSampleAdapter<random::PhiloxRandom>( in RestoreInternal() 134 generator_.Skip(num_random_samples_); in RestoreInternal() 142 auto out = generator_(); in Random() 147 random::SingleSampleAdapter<random::PhiloxRandom> generator_
|
/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/epid-sdk/epid/common-testhelper/ |
D | prng-testhelper.h | 56 generator_.seed(seed_); in set_seed() 78 static_cast<unsigned char>(myprng->generator_() & 0x000000ff); in Generate() 86 std::mt19937 generator_; variable
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | shuffle_dataset_op.cc | 81 generator_(&parent_generator_) { in Iterator() 191 generator_ = random::SingleSampleAdapter<random::PhiloxRandom>( in ResetRngs() 193 generator_.Skip(num_random_samples_); in ResetRngs() 324 auto out = generator_(); in Random() 334 random::SingleSampleAdapter<random::PhiloxRandom> generator_ 415 generator_(&parent_generator_) {} in RandomSeedGenerator() 424 *seed1 = generator_(); in GenerateRandomSeeds() 426 *seed2 = generator_(); in GenerateRandomSeeds() 443 generator_ = random::SingleSampleAdapter<random::PhiloxRandom>( in Reset() 445 generator_.Skip(num_random_samples_); in Reset() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
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 | 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_op.cc | 196 OP_REQUIRES_OK(ctx, generator_.Init(ctx)); in PhiloxRandomOp() 208 generator_.ReserveRandomOutputs(output_flat.size(), 256), in Compute() 213 GuardedPhiloxRandom generator_; member in tensorflow::__anonc6b1f5ac0211::PhiloxRandomOp 220 OP_REQUIRES_OK(ctx, generator_.Init(ctx)); in RandomUniformIntOp() 257 generator_.ReserveRandomOutputs(output_flat.size(), 256), in Compute() 262 GuardedPhiloxRandom generator_; member in tensorflow::__anonc6b1f5ac0211::RandomUniformIntOp 271 OP_REQUIRES_OK(context, generator_.Init(context)); in RandomGammaOp() 326 PhiloxRandom rng = generator_.ReserveRandomOutputs( in Compute() 449 GuardedPhiloxRandom generator_; member in tensorflow::__anonc6b1f5ac0211::RandomGammaOp
|
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::__anon6978aeb60211::StatefulMultinomialOp 304 GuardedPhiloxRandom generator_; member in tensorflow::__anon6978aeb60211::StatelessMultinomialOp
|
D | random_poisson_op.cc | 285 OP_REQUIRES_OK(context, generator_.Init(context)); in RandomPoissonOp() 305 random::PhiloxRandom rng = generator_.ReserveRandomOutputs( in Compute() 314 GuardedPhiloxRandom generator_; member in tensorflow::__anon106ecd560311::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
|
/external/v8/src/debug/ |
D | debug-scopes.cc | 70 generator_(generator), in ScopeIterator() 508 DCHECK(!generator_.is_null()); in GetSourcePosition() 509 return generator_->source_position(); in GetSourcePosition() 624 DCHECK(!generator_.is_null()); in VisitLocals() 626 value = handle(generator_->receiver(), isolate_); in VisitLocals() 629 generator_->parameters_and_registers(); in VisitLocals() 649 DCHECK(!generator_.is_null()); in VisitLocals() 651 generator_->parameters_and_registers(); in VisitLocals() 789 DCHECK(!generator_.is_null()); in SetLocalVariableValue() 791 generator_->parameters_and_registers(), isolate_); in SetLocalVariableValue() [all …]
|
/external/tensorflow/tensorflow/contrib/text/kernels/ |
D | skip_gram_kernels.cc | 35 OP_REQUIRES_OK(context, generator_.Init(context)); in SkipGramGenerateCandidatesOp() 77 generator_.ReserveSamples32(end - start + 1); in Compute() 122 GuardedPhiloxRandom generator_; member in tensorflow::SkipGramGenerateCandidatesOp
|
/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::__anon6bfc03b10111::TestVideoSender 217 generator_.reset( in SetUp() 365 generator_.reset(FrameGenerator::CreateFromYuvFile( in SetUp()
|
/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::__anond14004300111::RandomShapePartitionIteratorTest
|
/external/tensorflow/tensorflow/core/lib/random/ |
D | random_distributions.h | 253 : generator_(gen), used_result_index_(Generator::kResultElementCount) {} in SingleSampleAdapter() 258 unused_results_ = (*generator_)(); in operator() 280 unused_results_ = (*generator_)(); in Skip() 292 (*generator_)(); in SkipFromGenerator() 296 Generator* generator_; variable
|
D | random_distributions.cc | 24 generator_->Skip(num_skips); in SkipFromGenerator()
|
/external/v8/src/interpreter/ |
D | bytecode-generator.cc | 35 : generator_(generator), in ContextScope() 37 outer_(generator_->execution_context()), in ContextScope() 46 generator_->register_allocator()->NewRegister(); in ContextScope() 48 generator_->builder()->PushContext(outer_context_reg); in ContextScope() 50 generator_->set_execution_context(this); in ContextScope() 56 generator_->builder()->PopContext(outer_->reg()); in ~ContextScope() 59 generator_->set_execution_context(outer_); in ~ContextScope() 84 const BytecodeArrayBuilder* builder() const { return generator_->builder(); } in builder() 88 BytecodeGenerator* generator_; member in v8::internal::interpreter::BASE_EMBEDDED 100 : generator_(generator), outer_(generator->execution_control()), in ControlScope() [all …]
|
D | interpreter.cc | 41 BytecodeGenerator* generator() { return &generator_; } in generator() 45 BytecodeGenerator generator_; member in v8::internal::interpreter::InterpreterCompilationJob 172 generator_(&compilation_info_, parse_info->ast_string_constants(), in InterpreterCompilationJob()
|
/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);
|