Lines Matching defs:module_spec
72 ModuleSpec &module_spec) override {
73 module_spec = GetTestModuleSpec();
145 ModuleSpec module_spec(GetRemotePath(), ArchSpec(k_arch));
146 module_spec.GetUUID().SetFromStringRef(k_module_uuid);
147 module_spec.SetObjectSize(k_module_size);
148 return module_spec;
247 void CheckCallbackArgs(const ModuleSpec &module_spec,
251 EXPECT_TRUE(expected_module_spec.Matches(module_spec,
259 void CheckCallbackArgsWithUUID(const ModuleSpec &module_spec,
263 CheckCallbackArgs(module_spec, module_file_spec, symbol_file_spec,
265 EXPECT_TRUE(module_spec.GetUUID().IsValid());
268 void CheckCallbackArgsWithoutUUID(const ModuleSpec &module_spec,
272 CheckCallbackArgs(module_spec, module_file_spec, symbol_file_spec,
274 EXPECT_FALSE(module_spec.GetUUID().IsValid());
356 [this, &callback_call_count](const ModuleSpec &module_spec,
359 CheckCallbackArgsWithUUID(module_spec, module_file_spec,
377 [this, &callback_call_count](const ModuleSpec &module_spec,
380 CheckCallbackArgsWithUUID(module_spec, module_file_spec,
401 [this, &callback_call_count](const ModuleSpec &module_spec,
404 CheckCallbackArgsWithUUID(module_spec, module_file_spec,
428 [this, &callback_call_count](const ModuleSpec &module_spec,
431 CheckCallbackArgsWithUUID(module_spec, module_file_spec,
454 [this, &callback_call_count](const ModuleSpec &module_spec,
457 CheckCallbackArgsWithUUID(module_spec, module_file_spec,
480 m_platform_sp->SetLocateModuleCallback([this](const ModuleSpec &module_spec,
483 CheckCallbackArgsWithUUID(module_spec, module_file_spec, symbol_file_spec,
506 m_platform_sp->SetLocateModuleCallback([this](const ModuleSpec &module_spec,
509 CheckCallbackArgsWithUUID(module_spec, module_file_spec, symbol_file_spec,
532 m_platform_sp->SetLocateModuleCallback([this](const ModuleSpec &module_spec,
535 CheckCallbackArgsWithUUID(module_spec, module_file_spec, symbol_file_spec,
559 m_platform_sp->SetLocateModuleCallback([this](const ModuleSpec &module_spec,
562 CheckCallbackArgsWithUUID(module_spec, module_file_spec, symbol_file_spec,
586 m_platform_sp->SetLocateModuleCallback([this](const ModuleSpec &module_spec,
589 CheckCallbackArgsWithUUID(module_spec, module_file_spec, symbol_file_spec,
615 [this, &callback_call_count](const ModuleSpec &module_spec,
618 CheckCallbackArgsWithUUID(module_spec, module_file_spec,
643 [this, &callback_call_count](const ModuleSpec &module_spec,
646 CheckCallbackArgsWithUUID(module_spec, module_file_spec,
674 [this, &callback_call_count](const ModuleSpec &module_spec,
677 CheckCallbackArgsWithUUID(module_spec, module_file_spec,
702 [this, &callback_call_count](const ModuleSpec &module_spec,
705 CheckCallbackArgsWithUUID(module_spec, module_file_spec,
724 [this, &callback_call_count](const ModuleSpec &module_spec,
727 CheckCallbackArgsWithUUID(module_spec, module_file_spec,
741 // The locate module callback first call fails because module_spec does not
743 // platform resolved the module_spec UUID from the target process.
750 [this, &callback_call_count](const ModuleSpec &module_spec,
755 // The module_spec does not have UUID on the first call.
756 CheckCallbackArgsWithoutUUID(module_spec, module_file_spec,
760 // The module_spec has UUID on the second call.
761 CheckCallbackArgsWithUUID(module_spec, module_file_spec,
788 [this, &callback_call_count](const ModuleSpec &module_spec,
793 // The module_spec does not have UUID on the first call.
794 CheckCallbackArgsWithoutUUID(module_spec, module_file_spec,
798 // The module_spec has UUID on the second call.
799 CheckCallbackArgsWithUUID(module_spec, module_file_spec,
828 [this, &callback_call_count](const ModuleSpec &module_spec,
833 // The module_spec does not have UUID on the first call.
834 CheckCallbackArgsWithoutUUID(module_spec, module_file_spec,
838 // The module_spec has UUID on the second call.
839 CheckCallbackArgsWithUUID(module_spec, module_file_spec,
862 // The locate module callback first call fails because module_spec does not
871 [this, &callback_call_count](const ModuleSpec &module_spec,
876 // The module_spec does not have UUID on the first call.
877 CheckCallbackArgsWithoutUUID(module_spec, module_file_spec,
881 // The module_spec has UUID on the second call.
882 CheckCallbackArgsWithUUID(module_spec, module_file_spec,