Home
last modified time | relevance | path

Searched refs:moduleObj (Results 1 – 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/require/
Djs_require_manager.cpp49 JSHandle<JSTaggedValue> moduleObj(thread->GetEcmaVM()->GetGlobalEnv()->GetCjsModuleFunction()); in InitializeCommonJS() local
51 SlowRuntimeStub::LdObjByName(thread, moduleObj.GetTaggedValue(), in InitializeCommonJS()
56 SlowRuntimeStub::StObjByName(thread, moduleObj.GetTaggedValue(), cacheKey.GetTaggedValue(), in InitializeCommonJS()
68 JSHandle<JSTaggedValue> moduleObj(thread->GetEcmaVM()->GetGlobalEnv()->GetCjsModuleFunction()); in CollectExecutedExp() local
71 … JSTaggedValue executedCacheVal = SlowRuntimeStub::LdObjByName(thread, moduleObj.GetTaggedValue(), in CollectExecutedExp()
78 SlowRuntimeStub::StObjByName(thread, moduleObj.GetTaggedValue(), cacheKey.GetTaggedValue(), in CollectExecutedExp()
Djs_cjs_module.cpp54 JSHandle<JSTaggedValue> moduleObj(env->GetCjsModuleFunction()); in SearchFromModuleCache() local
56 JSTaggedValue modCache = SlowRuntimeStub::LdObjByName(thread, moduleObj.GetTaggedValue(), in SearchFromModuleCache()
80 JSHandle<JSTaggedValue> moduleObj(env->GetCjsModuleFunction()); in PutIntoCache() local
82 JSTaggedValue modCache = SlowRuntimeStub::LdObjByName(thread, moduleObj.GetTaggedValue(), in PutIntoCache()
90 SlowRuntimeStub::StObjByName(thread, moduleObj.GetTaggedValue(), cacheName.GetTaggedValue(), in PutIntoCache()
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.h100 static void InitializeExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj,
102 static void GetLocalExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj,
104 static void GetIndirectExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj,
106 static void GetImportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj,
Ddebugger_api.cpp624 void DebuggerApi::InitializeExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, in InitializeExportVariables() argument
652 moduleObj->DefineProperty(ecmaVm, variableName, descriptor); in InitializeExportVariables()
657 void DebuggerApi::GetLocalExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, in GetLocalExportVariables() argument
665 InitializeExportVariables(ecmaVm, moduleObj, currentModule); in GetLocalExportVariables()
703 moduleObj->DefineProperty(ecmaVm, variableName, descriptor); in GetLocalExportVariables()
709 void DebuggerApi::GetIndirectExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, in GetIndirectExportVariables() argument
745 moduleObj->DefineProperty(ecmaVm, variableName, descriptor); in GetIndirectExportVariables()
750 void DebuggerApi::GetImportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, in GetImportVariables() argument
787 moduleObj->DefineProperty(ecmaVm, variableName, descriptor); in GetImportVariables()
795 moduleObj->DefineProperty(ecmaVm, variableName, descriptor); in GetImportVariables()
/arkcompiler/ets_runtime/ecmascript/require/tests/
Djs_cjs_module_test.cpp85 JSHandle<JSTaggedValue> moduleObj(env->GetCjsModuleFunction()); in HWTEST_F_L0() local
87 SlowRuntimeStub::StObjByName(thread, moduleObj.GetTaggedValue(), cacheName.GetTaggedValue(), in HWTEST_F_L0()
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp1602 Local<ObjectRef> moduleObj = ObjectRef::New(vm_); in GetModuleScopeChain() local
1608 …DebuggerApi::AddInternalProperties(vm_, moduleObj, ArkInternalValueType::Scope, runtime_->interna… in GetModuleScopeChain()
1609 runtime_->properties_[runtime_->curObjectId_++] = Global<JSValueRef>(vm_, moduleObj); in GetModuleScopeChain()
1612 DebuggerApi::GetLocalExportVariables(vm_, moduleObj, currentModule, false); in GetModuleScopeChain()
1613 DebuggerApi::GetIndirectExportVariables(vm_, moduleObj, currentModule); in GetModuleScopeChain()
1614 DebuggerApi::GetImportVariables(vm_, moduleObj, currentModule); in GetModuleScopeChain()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
Dobject.cpp1504 void ETSChecker::AddElementsToModuleObject(ETSObjectType *moduleObj, const util::StringView &str) in AddElementsToModuleObject() argument
1512 moduleObj->AddProperty<checker::PropertyType::STATIC_METHOD>(var->AsLocalVariable()); in AddElementsToModuleObject()
1514 moduleObj->AddProperty<checker::PropertyType::STATIC_FIELD>(var->AsLocalVariable()); in AddElementsToModuleObject()
1516 moduleObj->AddProperty<checker::PropertyType::STATIC_DECL>(var->AsLocalVariable()); in AddElementsToModuleObject()
/arkcompiler/ets_frontend/ets2panda/checker/
DETSchecker.h181 void AddElementsToModuleObject(ETSObjectType *moduleObj, const util::StringView &str);
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.cpp2943 JSHandle<JSFunction> moduleObj(env->GetCjsModuleFunction()); in NewCjsModule() local
2944 JSHandle<CjsModule> cjsModule = JSHandle<CjsModule>(NewJSObjectByConstructor(moduleObj)); in NewCjsModule()