| /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 | 99 static void InitializeExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, 101 static void GetLocalExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, 103 static void GetIndirectExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, 105 static void GetImportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj,
|
| D | debugger_api.cpp | 567 void DebuggerApi::InitializeExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, in InitializeExportVariables() argument 595 moduleObj->DefineProperty(ecmaVm, variableName, descriptor); in InitializeExportVariables() 600 void DebuggerApi::GetLocalExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, in GetLocalExportVariables() argument 608 InitializeExportVariables(ecmaVm, moduleObj, currentModule); in GetLocalExportVariables() 646 moduleObj->DefineProperty(ecmaVm, variableName, descriptor); in GetLocalExportVariables() 652 void DebuggerApi::GetIndirectExportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, in GetIndirectExportVariables() argument 687 moduleObj->DefineProperty(ecmaVm, variableName, descriptor); in GetIndirectExportVariables() 692 void DebuggerApi::GetImportVariables(const EcmaVM *ecmaVm, Local<ObjectRef> &moduleObj, in GetImportVariables() argument 728 moduleObj->DefineProperty(ecmaVm, variableName, descriptor); in GetImportVariables() 736 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 | 1216 Local<ObjectRef> moduleObj = ObjectRef::New(vm_); in GetModuleScopeChain() local 1222 …DebuggerApi::AddInternalProperties(vm_, moduleObj, ArkInternalValueType::Scope, runtime_->interna… in GetModuleScopeChain() 1223 runtime_->properties_[runtime_->curObjectId_++] = Global<JSValueRef>(vm_, moduleObj); in GetModuleScopeChain() 1226 DebuggerApi::GetLocalExportVariables(vm_, moduleObj, currentModule, false); in GetModuleScopeChain() 1227 DebuggerApi::GetIndirectExportVariables(vm_, moduleObj, currentModule); in GetModuleScopeChain() 1228 DebuggerApi::GetImportVariables(vm_, moduleObj, currentModule); in GetModuleScopeChain()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | object_factory.cpp | 2511 JSHandle<JSFunction> moduleObj(env->GetCjsModuleFunction()); in NewCjsModule() local 2512 JSHandle<CjsModule> cjsModule = JSHandle<CjsModule>(NewJSObjectByConstructor(moduleObj)); in NewCjsModule()
|