Lines Matching defs:thread

29     JSThread *thread, JSHandle<SourceTextModule> module, JSTaggedValue resolvedBinding, int32_t index)
31 JSHandle<ResolvedRecordIndexBinding> binding(thread, resolvedBinding);
33 ModuleManagerHelper::GetResolvedRecordIndexBindingModule(thread, module, binding);
35 thread->GetCurrentEcmaContext()->GetModuleLogger();
37 return ModuleManagerHelper::GetModuleValue(thread, resolvedModule, binding->GetIndex());
42 JSThread *thread, JSHandle<SourceTextModule> module, JSTaggedValue resolvedBinding, int32_t index)
44 JSHandle<ResolvedRecordBinding> binding(thread, resolvedBinding);
46 ModuleManagerHelper::GetResolvedRecordBindingModule(thread, module, binding);
48 thread->GetCurrentEcmaContext()->GetModuleLogger();
50 return ModuleManagerHelper::GetModuleValue(thread, resolvedModule, binding->GetBindingName());
54 JSTaggedValue ModuleTools::ProcessModuleLoadInfo(JSThread *thread, JSHandle<SourceTextModule> currentModule,
57 ModuleLogger *moduleLogger = thread->GetCurrentEcmaContext()->GetModuleLogger();
58 JSMutableHandle<JSTaggedValue> res(thread, thread->GlobalConstants()->GetUndefined());
62 JSHandle<SourceTextModule> module(thread, resolvedModule);
67 EcmaContext *context = thread->GetCurrentEcmaContext();
73 JSHandle<SourceTextModule> moduleOfHotReload(thread, resolvedModule);
75 return ModuleManagerHelper::GetModuleValue(thread, moduleOfHotReload, binding->GetIndex());
79 return ModuleManagerHelper::GetModuleValue(thread, module, binding->GetIndex());
84 JSHandle<SourceTextModule> module(thread, resolvedModule);
88 thread, currentModule, module, index, binding->GetBindingName());
93 thread, currentModule, module, index, binding->GetBindingName());
97 return GetModuleValueFromIndexBindingForLog(thread, currentModule, resolvedBinding, index);
100 return GetModuleValueFromRecordBindingForLog(thread, currentModule, resolvedBinding, index);
107 JSThread *thread, JSHandle<SourceTextModule> currentModule, JSHandle<SourceTextModule> requiredModule)
110 ModuleLogger *moduleLogger = thread->GetCurrentEcmaContext()->GetModuleLogger();
114 return SourceTextModule::Cast(requiredModule.GetTaggedValue())->GetModuleValue(thread, 0, false);
120 JSHandle<JSTaggedValue> moduleNameHandle(thread->GetEcmaVM()->GetFactory()->NewFromUtf8(cjsModuleName));
121 return CjsModule::SearchFromModuleCache(thread, moduleNameHandle).GetTaggedValue();
125 JSHandle<JSTaggedValue> moduleNamespace = SourceTextModule::GetModuleNamespace(thread, requiredModule);