Home
last modified time | relevance | path

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

12345

/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api.cc96 module_.reset(RtpRtcp::CreateRtpRtcp(configuration)); in SetUp()
105 rtc::scoped_ptr<RtpRtcp> module_; member in webrtc::RtpRtcpAPITest
115 module_->SetSequenceNumber(test_sequence_number_); in TEST_F()
116 EXPECT_EQ(test_sequence_number_, module_->SequenceNumber()); in TEST_F()
118 module_->SetStartTimestamp(test_timestamp_); in TEST_F()
119 EXPECT_EQ(test_timestamp_, module_->StartTimestamp()); in TEST_F()
121 EXPECT_FALSE(module_->Sending()); in TEST_F()
122 EXPECT_EQ(0, module_->SetSendingStatus(true)); in TEST_F()
123 EXPECT_TRUE(module_->Sending()); in TEST_F()
127 EXPECT_EQ(0, module_->SetMaxTransferUnit(1234)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Ddynamic_dimension_inference_test.cc42 module_ = CreateNewVerifiedModule(); in DynamicDimensionInferenceTest()
47 DynamicDimensionInference::Run(module_.get())); in RunInference()
61 return module_->AddEmbeddedComputation(embedded_builder.Build()); in GetAdd()
72 return module_->AddEmbeddedComputation(embedded_builder.Build()); in GetGe()
75 std::unique_ptr<HloModule> module_; member in xla::__anonb037e3470111::DynamicDimensionInferenceTest
89 module_->AddEntryComputation(builder.Build()); in TEST_F()
90 SCOPED_TRACE(module_->ToString()); in TEST_F()
93 TF_CHECK_OK(module_->dynamic_parameter_binding().Bind( in TEST_F()
110 module_->AddEntryComputation(builder.Build()); in TEST_F()
112 TF_CHECK_OK(module_->dynamic_parameter_binding().Bind( in TEST_F()
[all …]
Dhlo_alias_analysis_test.cc44 module_ = CreateNewVerifiedModule(); in HloAliasAnalysisTest()
50 analysis_ = HloAliasAnalysis::Run(module_.get(), in RunAnalysis()
94 DependencyHloOrdering ordering(module_.get()); in AnyValuesInSameBufferInterfere()
111 std::unique_ptr<HloModule> module_; member in xla::__anon8f906bde0111::HloAliasAnalysisTest
126 module_->AddEntryComputation(builder.Build()); in TEST_F()
127 SCOPED_TRACE(module_->ToString()); in TEST_F()
161 module_->AddEntryComputation(builder.Build()); in TEST_F()
162 SCOPED_TRACE(module_->ToString()); in TEST_F()
205 module_->AddEntryComputation(builder.Build()); in TEST_F()
206 SCOPED_TRACE(module_->ToString()); in TEST_F()
[all …]
Dhlo_dataflow_analysis_test.cc47 HloDataflowAnalysisTest() : module_(CreateNewVerifiedModule()) {} in HloDataflowAnalysisTest()
54 HloDataflowAnalysis::Run(*module_, ssa_form, bitcast_defines_value) in RunAnalysis()
92 std::unique_ptr<HloModule> module_; member in xla::__anon497c66660111::HloDataflowAnalysisTest
110 module_->AddEntryComputation(builder.Build()); in TEST_P()
111 SCOPED_TRACE(module_->ToString()); in TEST_P()
159 module_->AddEntryComputation(builder.Build()); in TEST_P()
160 SCOPED_TRACE(module_->ToString()); in TEST_P()
215 module_->AddEntryComputation(builder.Build()); in TEST_P()
216 SCOPED_TRACE(module_->ToString()); in TEST_P()
262 module_->AddEmbeddedComputation(subbuilder.Build()); in TEST_P()
[all …]
Ddynamic_padder_test.cc43 DynamicPadderTest() : HloTestBase() { module_ = CreateNewVerifiedModule(); } in DynamicPadderTest()
47 return padder.Run(module_.get()); in RunPadder()
64 return module_->AddEmbeddedComputation(embedded_builder.Build()); in GetScalarAddComputation()
67 std::unique_ptr<HloModule> module_; member in xla::__anonf3f0ee830111::DynamicPadderTest
90 module_->AddEntryComputation(builder.Build()); in TEST_F()
93 TF_CHECK_OK(module_->dynamic_parameter_binding().Bind( in TEST_F()
133 module_->AddEntryComputation(builder.Build()); in TEST_F()
136 TF_CHECK_OK(module_->dynamic_parameter_binding().Bind( in TEST_F()
176 module_->AddEntryComputation(builder.Build()); in TEST_F()
179 TF_CHECK_OK(module_->dynamic_parameter_binding().Bind( in TEST_F()
[all …]
Dcopy_insertion_test.cc406 WhileCopyInsertionTest() : module_(CreateNewUnverifiedModule()) {} in WhileCopyInsertionTest()
652 module_->AddEntryComputation(builder.Build()); in BuildWhileInstruction()
660 module_->AddEntryComputation(builder.Build()); in BuildWhileInstruction()
760 auto condition = module_->AddEmbeddedComputation( in BuildWhileInstructionWithCustomInit()
762 auto body = module_->AddEmbeddedComputation( in BuildWhileInstructionWithCustomInit()
768 module_->AddEntryComputation(builder->Build()); in BuildWhileInstructionWithCustomInit()
772 std::unique_ptr<HloModule> module_; member in xla::__anon803c92e40111::WhileCopyInsertionTest
794 auto condition = module_->AddEmbeddedComputation( in TEST_F()
797 module_->AddEmbeddedComputation(BuildIndependentBodyComputation()); in TEST_F()
800 InsertCopies(module_.get()); in TEST_F()
[all …]
Dtuple_points_to_analysis_test.cc52 module_ = CreateNewUnverifiedModule(); in BuildModule()
53 module_->AddEntryComputation(std::move(computation)); in BuildModule()
57 CHECK_NOTNULL(module_.get()); in RunAnalysis()
59 TuplePointsToAnalysis::Run(module_.get()).ConsumeValueOrDie(); in RunAnalysis()
119 std::unique_ptr<HloModule> module_; member in xla::__anon3cbe095a0111::TuplePointsToAnalysisTest
667 .Run(module_.get()) in Run()
670 auto* fusion = module_->entry_computation()->root_instruction(); in Run()
828 module_ = CreateNewUnverifiedModule(); in BuildModule()
829 computation_ = module_->AddEntryComputation(std::move(computation)); in BuildModule()
833 CHECK_NOTNULL(module_.get()); in RunAnalysis()
[all …]
Dhlo_domain_verifier.cc32 : module_(module), verifier_(verifier) {} in RunContext()
41 HloModule* module_; member in xla::HloDomainVerifier::RunContext
49 for (HloComputation* computation : module_->computations()) { in PopulateDomainKinds()
68 for (HloComputation* computation : module_->computations()) { in Run()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dir_loader.cpp28 module_(m), in IrLoader()
66 module_->AddFunction(std::move(function_)); in AddInstruction()
94 module_->AddCapability(std::move(spv_inst)); in AddInstruction()
96 module_->AddExtension(std::move(spv_inst)); in AddInstruction()
98 module_->AddExtInstImport(std::move(spv_inst)); in AddInstruction()
100 module_->SetMemoryModel(std::move(spv_inst)); in AddInstruction()
102 module_->AddEntryPoint(std::move(spv_inst)); in AddInstruction()
104 module_->AddExecutionMode(std::move(spv_inst)); in AddInstruction()
106 module_->AddDebug1Inst(std::move(spv_inst)); in AddInstruction()
108 module_->AddDebug2Inst(std::move(spv_inst)); in AddInstruction()
[all …]
Ddecoration_manager.cpp37 auto context = module_->context(); in RemoveDecorationsFrom()
113 decoration->Clone(module_->context())); in RemoveDecorationsFrom()
115 module_->AddAnnotationInst(std::move(new_inst)); in RemoveDecorationsFrom()
116 auto decoration_iter = --module_->annotation_end(); in RemoveDecorationsFrom()
257 if (!module_) return; in AnalyzeDecorations()
260 for (Instruction& inst : module_->annotations()) { in AnalyzeDecorations()
295 IRContext* ctx = module_->context(); in AddDecoration()
402 auto context = module_->context(); in CloneDecorations()
405 std::unique_ptr<Instruction> new_inst(inst->Clone(module_->context())); in CloneDecorations()
407 module_->AddAnnotationInst(std::move(new_inst)); in CloneDecorations()
[all …]
Dir_context.h94 module_(new Module()), in IRContext()
103 module_->SetContext(this); in IRContext()
110 module_(std::move(m)), in IRContext()
118 module_->SetContext(this); in IRContext()
124 Module* module() const { return module_.get(); } in module()
533 for (auto& fn : *module_) { in BuildInstrToBlockMapping()
546 for (auto& fn : *module_) { in BuildIdToFuncMapping()
655 std::unique_ptr<Module> module_; variable
767 return module_->annotations(); in annotations()
771 return ((const Module*)module_.get())->annotations(); in annotations()
[all …]
Dir_loader.h49 Module* module() const { return module_; } in module()
54 module_->SetHeader({magic, version, generator, bound, reserved}); in SetModuleHeader()
70 Module* module_; variable
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dir_loader.cpp28 module_(m), in IrLoader()
66 module_->AddFunction(std::move(function_)); in AddInstruction()
94 module_->AddCapability(std::move(spv_inst)); in AddInstruction()
96 module_->AddExtension(std::move(spv_inst)); in AddInstruction()
98 module_->AddExtInstImport(std::move(spv_inst)); in AddInstruction()
100 module_->SetMemoryModel(std::move(spv_inst)); in AddInstruction()
102 module_->AddEntryPoint(std::move(spv_inst)); in AddInstruction()
104 module_->AddExecutionMode(std::move(spv_inst)); in AddInstruction()
106 module_->AddDebug1Inst(std::move(spv_inst)); in AddInstruction()
108 module_->AddDebug2Inst(std::move(spv_inst)); in AddInstruction()
[all …]
Ddecoration_manager.cpp37 auto context = module_->context(); in RemoveDecorationsFrom()
113 decoration->Clone(module_->context())); in RemoveDecorationsFrom()
115 module_->AddAnnotationInst(std::move(new_inst)); in RemoveDecorationsFrom()
116 auto decoration_iter = --module_->annotation_end(); in RemoveDecorationsFrom()
257 if (!module_) return; in AnalyzeDecorations()
260 for (Instruction& inst : module_->annotations()) { in AnalyzeDecorations()
295 IRContext* ctx = module_->context(); in AddDecoration()
402 auto context = module_->context(); in CloneDecorations()
405 std::unique_ptr<Instruction> new_inst(inst->Clone(module_->context())); in CloneDecorations()
407 module_->AddAnnotationInst(std::move(new_inst)); in CloneDecorations()
[all …]
Dir_context.h96 module_(new Module()), in IRContext()
105 module_->SetContext(this); in IRContext()
112 module_(std::move(m)), in IRContext()
120 module_->SetContext(this); in IRContext()
126 Module* module() const { return module_.get(); } in module()
537 for (auto& fn : *module_) { in BuildInstrToBlockMapping()
550 for (auto& fn : *module_) { in BuildIdToFuncMapping()
673 std::unique_ptr<Module> module_; variable
785 return module_->annotations(); in annotations()
789 return ((const Module*)module_.get())->annotations(); in annotations()
[all …]
Dir_loader.h49 Module* module() const { return module_; } in module()
54 module_->SetHeader({magic, version, generator, bound, reserved}); in SetModuleHeader()
70 Module* module_; variable
/external/v8/src/wasm/
Dmodule-decoder.cc294 CHECK_NULL(module_); in StartDecoding()
296 module_.reset( in StartDecoding()
298 module_->initial_pages = 0; in StartDecoding()
299 module_->maximum_pages = 0; in StartDecoding()
300 module_->mem_export = false; in StartDecoding()
301 module_->origin = origin_; in StartDecoding()
427 module_->signatures.reserve(signatures_count); in DecodeTypeSection()
431 FunctionSig* s = consume_sig(module_->signature_zone.get()); in DecodeTypeSection()
432 module_->signatures.push_back(s); in DecodeTypeSection()
433 uint32_t id = s ? module_->signature_map.FindOrInsert(*s) : 0; in DecodeTypeSection()
[all …]
Dmodule-compiler.cc240 const WasmModule* const module_; member in v8::internal::wasm::__anonc090e3370111::InstanceBuilder
946 module_(module_object->module()), in InstanceBuilder()
951 sanitized_imports_.reserve(module_->import_table.size()); in InstanceBuilder()
959 if (!module_->import_table.empty() && ffi_.is_null()) { in Build()
974 isolate_->counters(), module_->origin, wasm_instantiate, module_time)); in Build()
981 uint32_t initial_pages = module_->initial_pages; in Build()
983 isolate_->counters(), module_->origin, wasm, min_mem_pages_count); in Build()
995 DCHECK_IMPLIES(use_trap_handler(), module_->origin == kAsmJsOrigin || in Build()
1010 if (module_->origin == kWasmOrigin && use_trap_handler()) { in Build()
1023 ModuleEnv env = CreateDefaultModuleEnv(module_, allow_trap_handler); in Build()
[all …]
Dwasm-code-manager.h269 DCHECK_LE(module_->num_imported_functions, index); in code()
270 return code_table_[index - module_->num_imported_functions]; in code()
322 return module_->num_declared_functions + module_->num_imported_functions; in num_functions()
325 return module_->num_imported_functions; in num_imported_functions()
334 const WasmModule* module() const { return module_.get(); } in module()
375 return {code_table_.get(), module_->num_declared_functions}; in code_table()
379 DCHECK_LE(module_->num_imported_functions, index); in set_code()
381 code_table_[index - module_->num_imported_functions] = code; in set_code()
391 std::shared_ptr<const WasmModule> module_; variable
/external/webrtc/talk/media/webrtc/
Dwebrtcvideocapturer.cc133 module_(nullptr), in WebRtcVideoCapturer()
142 module_(nullptr), in WebRtcVideoCapturer()
150 if (module_) { in ~WebRtcVideoCapturer()
151 module_->Release(); in ~WebRtcVideoCapturer()
157 if (module_) { in Init()
212 module_ = factory_->Create(0, vcm_id); in Init()
213 if (!module_) { in Init()
219 module_->AddRef(); in Init()
224 SetApplyRotation(module_->GetApplyRotation()); in Init()
231 if (module_) { in Init()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dwhile_transformer_test.cc32 : module_(CreateNewVerifiedModule()), in WhileTransformerTest()
105 module_->AddEntryComputation(builder.Build()); in BuildWhileInstruction()
119 std::unique_ptr<HloModule> module_; member in xla::__anon0be9c7f50111::WhileTransformerTest
128 module_->AddEmbeddedComputation(BuildConditionComputation(0, 10)); in TEST_F()
129 auto body = module_->AddEmbeddedComputation(BuildBodyComputation(0, 1, 1)); in TEST_F()
139 module_->AddEmbeddedComputation(BuildConditionComputation(1, 10)); in TEST_F()
140 auto body = module_->AddEmbeddedComputation(BuildBodyComputation(1, 0, 1)); in TEST_F()
150 module_->AddEmbeddedComputation(BuildConditionComputation(0, 5)); in TEST_F()
151 auto body = module_->AddEmbeddedComputation(BuildBodyComputation(0, 1, 1)); in TEST_F()
161 module_->AddEmbeddedComputation(BuildConditionComputation(0, 10)); in TEST_F()
[all …]
/external/google-breakpad/src/processor/
Dminidump.cc1707 module_(), in MinidumpModule()
1736 if (!minidump_->ReadBytes(&module_, MD_MODULE_SIZE)) { in Read()
1742 Swap(&module_.base_of_image); in Read()
1743 Swap(&module_.size_of_image); in Read()
1744 Swap(&module_.checksum); in Read()
1745 Swap(&module_.time_date_stamp); in Read()
1746 Swap(&module_.module_name_rva); in Read()
1747 Swap(&module_.version_info.signature); in Read()
1748 Swap(&module_.version_info.struct_version); in Read()
1749 Swap(&module_.version_info.file_version_hi); in Read()
[all …]
/external/v8/src/torque/
Dfile-visitor.h25 module_(global_context.GetDefaultModule()) {} in FileVisitor()
44 visitor->module_ = module; in ScopedModuleActivator()
46 ~ScopedModuleActivator() { visitor_->module_ = saved_module_; } in ~ScopedModuleActivator()
58 Module* CurrentModule() const { return module_; } in CurrentModule()
93 Module* module_; variable
/external/tensorflow/tensorflow/compiler/xla/tools/
Dhlo_extractor.cc45 module_(absl::make_unique<HloModule>("extracted", config_)), in ExtractionVisitor()
46 clone_context_(module_.get()), in ExtractionVisitor()
81 module_->AddEntryComputation(builder_.Build()); in FinishVisit()
96 HloModule* module() { return module_.get(); } in module()
98 std::unique_ptr<HloModule> ConsumeModule() { return std::move(module_); } in ConsumeModule()
103 std::unique_ptr<HloModule> module_; member in xla::__anonc6eaaf4e0111::ExtractionVisitor
/external/webrtc/webrtc/libjingle/xmpp/
Dmoduleimpl.h50 module_(module) { in ModuleStanzaHandler()
54 return module_->HandleStanza(stanza); in HandleStanza()
57 XmppModuleImpl* module_; variable

12345