| /arkcompiler/ets_runtime/ecmascript/require/ |
| D | js_require_manager.cpp | 49 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()
|
| D | js_cjs_module.cpp | 54 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/ |
| D | debugger_api.h | 100 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,
|
| D | debugger_api.cpp | 624 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/ |
| D | js_cjs_module_test.cpp | 85 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/ |
| D | debugger_impl.cpp | 1602 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/ |
| D | object.cpp | 1504 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/ |
| D | ETSchecker.h | 181 void AddElementsToModuleObject(ETSObjectType *moduleObj, const util::StringView &str);
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | object_factory.cpp | 2943 JSHandle<JSFunction> moduleObj(env->GetCjsModuleFunction()); in NewCjsModule() local 2944 JSHandle<CjsModule> cjsModule = JSHandle<CjsModule>(NewJSObjectByConstructor(moduleObj)); in NewCjsModule()
|