Home
last modified time | relevance | path

Searched refs:generator_ (Results 1 – 25 of 43) sorted by relevance

12

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dproducer_fec_unittest.cc46 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 …]
Dfec_receiver_unittest.cc37 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/
Dguarded_philox_random.cc42 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()
Dguarded_philox_random.h74 random::PhiloxRandom generator_ GUARDED_BY(mu_);
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Drandom_dataset_op.cc84 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_
Dsampling_dataset_op.cc102 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/
Dlog_quantized_test.cc52 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/
Dtest_utils.h42 : 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/
Drandom_seed_ops.cc41 *seed1 = generator_(); in GenerateRandomSeeds()
43 *seed2 = generator_(); in GenerateRandomSeeds()
60 generator_ = in Reset()
62 generator_.Skip(num_random_samples_); in Reset()
Drandom_seed_ops.h35 generator_(&parent_generator_) {} in RandomSeedGenerator()
50 random::SingleSampleAdapter<random::PhiloxRandom> generator_ GUARDED_BY(mu_);
/external/tensorflow/tensorflow/core/kernels/
Drandom_op.cc71 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
Drandom_crop_op.cc31 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
Drandom_shuffle_op.cc66 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
Dmultinomial_op.cc225 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
Drandom_poisson_op.cc286 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
Dcandidate_sampler_ops.cc39 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
Dsample_distorted_bounding_box_op.cc208 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/
Ddebug-scopes.cc71 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/
Dshape_partition_test.cc152 : 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/
Dvideo_sender_unittest.cc184 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/
Dcsharp_bootstrap_unittest.cc115 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/
Drandom_distributions.cc24 generator_->Skip(num_skips); in SkipFromGenerator()
Drandom_distributions.h318 : 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/
Dunion_definition.tmpl44 {{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/
Dbytecode-generator.cc40 : 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 …]

12