Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/
Dprobability_context.h39 bool RandomBool() { return generator_->GetBool(); } in RandomBool()
46 return generator_->GetWeightedBool(percentage); in ChoosePercentage()
55 return static_cast<size_t>(generator_->GetUInt64(arr.size())); in GetRandomIndex()
68 RandomGenerator* generator_; variable
Dprobability_context.cc29 : generator_(generator), in ProbabilityContext()
38 return generator_->GetUInt32( in RandomFromRange()
/third_party/skia/third_party/externals/tint/fuzzers/
Ddata_builder.h36 explicit DataBuilder(uint64_t seed) : generator_(seed) {} in DataBuilder()
42 : generator_(RandomGenerator::CalculateSeed(data, size)) { in DataBuilder()
92 return static_cast<T>(generator_.Get4Bytes() % count); in enum_class()
96 RandomGenerator generator_;
109 generator_.GetNBytes(reinterpret_cast<uint8_t*>(out), n); in build()
157 static bool impl(DataBuilder* b) { return b->generator_.GetBool(); }
/third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/
Dspirv_reduce_mutator.h68 if (enable_all_reductions_ || generator_.GetBool()) { in MaybeAddFinder()
76 auto index = generator_.GetUInt32(static_cast<uint32_t>(arr->size())); in GetRandomElement()
83 auto index = generator_.GetUInt32(static_cast<uint32_t>(arr->size())); in GetRandomElement()
98 RandomGenerator generator_; variable
Dspirv_opt_mutator.cc69 generator_(seed) {
109 generator_.GetUInt32(static_cast<uint32_t>(opt_passes_.size())); in Mutate()
Dspirv_opt_mutator.h89 RandomGenerator generator_; variable
Dspirv_reduce_mutator.cc47 generator_(seed), in SpirvReduceMutator()
/third_party/node/deps/v8/src/profiler/
Dheap-snapshot-generator.cc50 : generator_(generator), in HeapEntryVerifier()
58 generator_->set_verifier(nullptr); in ~HeapEntryVerifier()
162 ReferenceSummary::SummarizeReferencesFrom(generator_->heap(), obj); in GetIndirectStrongReferences()
173 HeapSnapshotGenerator* generator_;
754 generator_(nullptr), in V8HeapExplorer()
979 generator_(generator), in IndexedReferencesExtractor()
1017 generator_->SetWeakReference(parent_, next_index_++, object, {}); in VisitEmbeddedPointer()
1028 if (generator_->visited_fields_[field_index]) { in VisitSlotImpl()
1029 generator_->visited_fields_[field_index] = false; in VisitSlotImpl()
1036 generator_->SetWeakReference(parent_, next_index_++, heap_object, {}); in VisitSlotImpl()
[all …]
Dheap-snapshot-generator.h506 HeapSnapshotGenerator* generator_ = nullptr; variable
544 HeapSnapshotGenerator* generator_ = nullptr; variable
/third_party/node/deps/v8/src/debug/
Ddebug-scopes.cc73 generator_(generator), in ScopeIterator()
728 DCHECK(!generator_.is_null()); in GetSourcePosition()
730 isolate_, handle(generator_->function().shared(), isolate_)); in GetSourcePosition()
731 return generator_->source_position(); in GetSourcePosition()
805 ? handle(generator_->receiver(), isolate_) in VisitLocals()
843 DCHECK(!generator_.is_null()); in VisitLocals()
845 generator_->parameters_and_registers(); in VisitLocals()
861 DCHECK(!generator_.is_null()); in VisitLocals()
863 generator_->parameters_and_registers(); in VisitLocals()
997 DCHECK(!generator_.is_null()); in SetLocalVariableValue()
[all …]
Ddebug-scopes.h115 Handle<JSGeneratorObject> generator_; variable
/third_party/googletest/googletest/include/gtest/internal/
Dgtest-param-util.h960 : generator_(std::move(gen)) {} in ParamGeneratorConverter()
963 return new Iterator(this, generator_.begin(), generator_.end()); in Begin()
966 return new Iterator(this, generator_.end(), generator_.end()); in End()
1010 ParamGenerator<From> generator_; variable
1017 : generator_(std::move(g)) {} in ParamConverterGenerator()
1021 return ParamGenerator<T>(new ParamGeneratorConverter<Gen, T>(generator_));
1025 ParamGenerator<Gen> generator_;
/third_party/node/deps/googletest/include/gtest/internal/
Dgtest-param-util.h957 : generator_(std::move(gen)) {} in ParamGeneratorConverter()
960 return new Iterator(this, generator_.begin(), generator_.end()); in Begin()
963 return new Iterator(this, generator_.end(), generator_.end()); in End()
1007 ParamGenerator<From> generator_; variable
1014 : generator_(std::move(g)) {} in ParamConverterGenerator()
1018 return ParamGenerator<T>(new ParamGeneratorConverter<Gen, T>(generator_));
1022 ParamGenerator<Gen> generator_;
/third_party/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::__anon773c09fd0111::GenerateAndTest
/third_party/node/deps/v8/src/interpreter/
Dbytecode-generator.cc51 : generator_(generator), in ContextScope()
53 outer_(generator_->execution_context()), in ContextScope()
62 outer_context_reg = generator_->register_allocator()->NewRegister(); in ContextScope()
65 generator_->builder()->PushContext(outer_context_reg); in ContextScope()
67 generator_->set_execution_context(this); in ContextScope()
73 generator_->builder()->PopContext(outer_->reg()); in ~ContextScope()
76 generator_->set_execution_context(outer_); in ~ContextScope()
104 const BytecodeArrayBuilder* builder() const { return generator_->builder(); } in builder()
108 BytecodeGenerator* generator_; member in v8::internal::interpreter::BytecodeGenerator::ContextScope
120 : generator_(generator), in ControlScope()
[all …]
Dinterpreter.cc54 BytecodeGenerator* generator() { return &generator_; } in generator()
66 BytecodeGenerator generator_; member in v8::internal::interpreter::InterpreterCompilationJob
184 generator_(local_isolate, &zone_, &compilation_info_, in InterpreterCompilationJob()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidation_state.h124 void setGenerator(uint32_t gen) { generator_ = gen; } in setGenerator()
127 uint32_t generator() const { return generator_; } in generator()
753 uint32_t generator_ = 0; variable
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidation_state.h124 void setGenerator(uint32_t gen) { generator_ = gen; } in setGenerator()
127 uint32_t generator() const { return generator_; } in generator()
753 uint32_t generator_ = 0; variable
/third_party/spirv-tools/source/val/
Dvalidation_state.h123 void setGenerator(uint32_t gen) { generator_ = gen; } in setGenerator()
126 uint32_t generator() const { return generator_; } in generator()
798 uint32_t generator_ = 0; variable
/third_party/node/deps/v8/src/objects/
Djs-display-names.cc341 generator_.reset( in DateTimeFieldNames()
360 return Just(generator_->getFieldDisplayName(field, width_)); in of()
366 std::unique_ptr<icu::DateTimePatternGenerator> generator_; member in v8::internal::__anon274f85010211::DateTimeFieldNames
/third_party/node/deps/v8/src/heap/
Dscavenger.cc200 generator_(memory_chunks_.size()), in JobTask()
249 base::Optional<size_t> index = generator_.GetNext(); in ConcurrentScavengePages()
Dscavenger.h289 IndexGenerator generator_; variable
Dmark-compact.cc3804 generator_(evacuation_items_.size()), in PageEvacuationJob()
3821 base::Optional<size_t> index = generator_.GetNext(); in ProcessItems()
3850 IndexGenerator generator_; member in v8::internal::PageEvacuationJob
4200 generator_(updating_items_.size()), in PointersUpdatingJob()
4217 base::Optional<size_t> index = generator_.GetNext(); in UpdatePointers()
4243 IndexGenerator generator_; member in v8::internal::PointersUpdatingJob
5656 generator_(marking_items_.size()) {} in YoungGenerationMarkingJob()
5703 base::Optional<size_t> index = generator_.GetNext(); in ProcessMarkingItems()
5723 IndexGenerator generator_; member in v8::internal::YoungGenerationMarkingJob
/third_party/vk-gl-cts/external/vulkan-docs/src/
Dregistry.txt2770 The `vulkan.h` header is written using an _output generator_ object in the
Dregistry.adoc2985 The `vulkan.h` header is written using an _output generator_ object in the