• Home
  • Raw
  • Download

Lines Matching refs:currentModule

56     JSTaggedValue currentModule = GetCurrentModule();  in GetModuleValueInner()  local
57 if (currentModule.IsUndefined()) { in GetModuleValueInner()
60 …return SourceTextModule::Cast(currentModule.GetTaggedObject())->GetModuleValue(vm_->GetJSThread(),… in GetModuleValueInner()
65 JSTaggedValue currentModule = JSFunction::Cast(jsFunc.GetTaggedObject())->GetModule(); in GetModuleValueInner() local
66 if (currentModule.IsUndefined()) { in GetModuleValueInner()
69 …return SourceTextModule::Cast(currentModule.GetTaggedObject())->GetModuleValue(vm_->GetJSThread(),… in GetModuleValueInner()
72 …aggedValue ModuleManager::GetModuleValueInner(int32_t index, JSHandle<JSTaggedValue> currentModule) in GetModuleValueInner() argument
74 if (currentModule->IsUndefined()) { in GetModuleValueInner()
77 …return SourceTextModule::Cast(currentModule->GetTaggedObject())->GetModuleValue(vm_->GetJSThread()… in GetModuleValueInner()
82 JSTaggedValue currentModule = GetCurrentModule(); in GetModuleValueOutter() local
83 return GetModuleValueOutterInternal(index, currentModule); in GetModuleValueOutter()
88 JSTaggedValue currentModule = JSFunction::Cast(jsFunc.GetTaggedObject())->GetModule(); in GetModuleValueOutter() local
89 return GetModuleValueOutterInternal(index, currentModule); in GetModuleValueOutter()
92 …ggedValue ModuleManager::GetModuleValueOutter(int32_t index, JSHandle<JSTaggedValue> currentModule) in GetModuleValueOutter() argument
94 return GetModuleValueOutterInternal(index, currentModule.GetTaggedValue()); in GetModuleValueOutter()
97 …TaggedValue ModuleManager::GetModuleValueOutterInternal(int32_t index, JSTaggedValue currentModule) in GetModuleValueOutterInternal() argument
100 if (currentModule.IsUndefined()) { in GetModuleValueOutterInternal()
104 …JSTaggedValue moduleEnvironment = SourceTextModule::Cast(currentModule.GetTaggedObject())->GetEnvi… in GetModuleValueOutterInternal()
129 return GetNativeModuleValue(thread, currentModule, resolvedModule, binding); in GetModuleValueOutterInternal()
132 return GetCJSModuleValue(thread, currentModule, resolvedModule, binding); in GetModuleValueOutterInternal()
141 return GetNativeModuleValue(thread, currentModule, resolvedModule, binding); in GetModuleValueOutterInternal()
151 JSTaggedValue ModuleManager::GetNativeModuleValue(JSThread *thread, JSTaggedValue currentModule, in GetNativeModuleValue() argument
159 currentModule.GetTaggedObject())->GetEcmaModuleFilename()); in GetNativeModuleValue()
176 JSTaggedValue ModuleManager::GetNativeModuleValue(JSThread *thread, JSTaggedValue currentModule, in GetNativeModuleValue() argument
184 currentModule.GetTaggedObject())->GetEcmaModuleFilename()); in GetNativeModuleValue()
193 JSTaggedValue ModuleManager::GetCJSModuleValue(JSThread *thread, JSTaggedValue currentModule, in GetCJSModuleValue() argument
203 currentModule.GetTaggedObject())->GetEcmaModuleFilename()); in GetCJSModuleValue()
242 JSHandle<SourceTextModule> currentModule(thread, GetCurrentModule()); in StoreModuleValue() local
243 StoreModuleValueInternal(currentModule, index, value); in StoreModuleValue()
249 …JSHandle<SourceTextModule> currentModule(thread, JSFunction::Cast(jsFunc.GetTaggedObject())->GetMo… in StoreModuleValue() local
250 StoreModuleValueInternal(currentModule, index, value); in StoreModuleValue()
253 void ModuleManager::StoreModuleValueInternal(JSHandle<SourceTextModule> &currentModule, in StoreModuleValueInternal() argument
256 if (currentModule.GetTaggedValue().IsUndefined()) { in StoreModuleValueInternal()
262 currentModule->StoreModuleValue(thread, index, valueHandle); in StoreModuleValueInternal()
267 JSTaggedValue currentModule = GetCurrentModule(); in GetModuleValueInner() local
268 if (currentModule.IsUndefined()) { in GetModuleValueInner()
272 …return SourceTextModule::Cast(currentModule.GetTaggedObject())->GetModuleValue(vm_->GetJSThread(),… in GetModuleValueInner()
277 JSTaggedValue currentModule = JSFunction::Cast(jsFunc.GetTaggedObject())->GetModule(); in GetModuleValueInner() local
278 if (currentModule.IsUndefined()) { in GetModuleValueInner()
282 …return SourceTextModule::Cast(currentModule.GetTaggedObject())->GetModuleValue(vm_->GetJSThread(),… in GetModuleValueInner()
287 JSTaggedValue currentModule = GetCurrentModule(); in GetModuleValueOutter() local
288 return GetModuleValueOutterInternal(key, currentModule); in GetModuleValueOutter()
293 JSTaggedValue currentModule = JSFunction::Cast(jsFunc.GetTaggedObject())->GetModule(); in GetModuleValueOutter() local
294 return GetModuleValueOutterInternal(key, currentModule); in GetModuleValueOutter()
297 …edValue ModuleManager::GetModuleValueOutterInternal(JSTaggedValue key, JSTaggedValue currentModule) in GetModuleValueOutterInternal() argument
300 if (currentModule.IsUndefined()) { in GetModuleValueOutterInternal()
304 …JSTaggedValue moduleEnvironment = SourceTextModule::Cast(currentModule.GetTaggedObject())->GetEnvi… in GetModuleValueOutterInternal()
328 JSHandle<SourceTextModule> currentModule(thread, GetCurrentModule()); in StoreModuleValue() local
329 StoreModuleValueInternal(currentModule, key, value); in StoreModuleValue()
335 …JSHandle<SourceTextModule> currentModule(thread, JSFunction::Cast(jsFunc.GetTaggedObject())->GetMo… in StoreModuleValue() local
336 StoreModuleValueInternal(currentModule, key, value); in StoreModuleValue()
339 void ModuleManager::StoreModuleValueInternal(JSHandle<SourceTextModule> &currentModule, in StoreModuleValueInternal() argument
342 if (currentModule.GetTaggedValue().IsUndefined()) { in StoreModuleValueInternal()
349 currentModule->StoreModuleValue(thread, keyHandle, valueHandle); in StoreModuleValueInternal()
625 JSTaggedValue currentModule = GetCurrentModule(); in GetModuleNamespace() local
626 return GetModuleNamespaceInternal(index, currentModule); in GetModuleNamespace()
631 JSTaggedValue currentModule = JSFunction::Cast(currentFunc.GetTaggedObject())->GetModule(); in GetModuleNamespace() local
632 return GetModuleNamespaceInternal(index, currentModule); in GetModuleNamespace()
635 JSTaggedValue ModuleManager::GetModuleNamespaceInternal(int32_t index, JSTaggedValue currentModule) in GetModuleNamespaceInternal() argument
637 if (currentModule.IsUndefined()) { in GetModuleNamespaceInternal()
642 SourceTextModule *module = SourceTextModule::Cast(currentModule.GetTaggedObject()); in GetModuleNamespaceInternal()
676 JSTaggedValue currentModule = GetCurrentModule(); in GetModuleNamespace() local
677 return GetModuleNamespaceInternal(localName, currentModule); in GetModuleNamespace()
682 JSTaggedValue currentModule = JSFunction::Cast(currentFunc.GetTaggedObject())->GetModule(); in GetModuleNamespace() local
683 return GetModuleNamespaceInternal(localName, currentModule); in GetModuleNamespace()
686 …lue ModuleManager::GetModuleNamespaceInternal(JSTaggedValue localName, JSTaggedValue currentModule) in GetModuleNamespaceInternal() argument
688 if (currentModule.IsUndefined()) { in GetModuleNamespaceInternal()
692 …JSTaggedValue moduleEnvironment = SourceTextModule::Cast(currentModule.GetTaggedObject())->GetEnvi… in GetModuleNamespaceInternal()