Searched refs:cjsInfo (Results 1 – 7 of 7) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/require/ |
D | js_require_manager.cpp | 25 void RequireManager::InitializeCommonJS(JSThread *thread, CJSInfo cjsInfo) in InitializeCommonJS() argument 30 JSHandle<CjsModule> module = cjsInfo.moduleHdl; in InitializeCommonJS() 31 JSHandle<JSTaggedValue> require = cjsInfo.requireHdl; in InitializeCommonJS() 32 JSHandle<CjsExports> exports = cjsInfo.exportsHdl; in InitializeCommonJS() 33 JSHandle<JSTaggedValue> filename = cjsInfo.filenameHdl; in InitializeCommonJS() 34 JSHandle<JSTaggedValue> dirname = cjsInfo.dirnameHdl; in InitializeCommonJS() 60 void RequireManager::CollectExecutedExp(JSThread *thread, CJSInfo cjsInfo) in CollectExecutedExp() argument 64 JSHandle<CjsModule> module = cjsInfo.moduleHdl; in CollectExecutedExp() 65 JSHandle<JSTaggedValue> filename = cjsInfo.filenameHdl; in CollectExecutedExp()
|
D | js_require_manager.h | 42 static void InitializeCommonJS(JSThread *thread, CJSInfo cjsInfo); 44 static void CollectExecutedExp(JSThread *thread, CJSInfo cjsInfo);
|
/arkcompiler/ets_runtime/ecmascript/require/tests/ |
D | js_cjs_manager_test.cpp | 69 CJSInfo cjsInfo(module, require, exports, fileName, dirName); in HWTEST_F_L0() local 70 RequireManager::InitializeCommonJS(thread, cjsInfo); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_context.cpp | 220 CJSInfo* cjsInfo) in InvokeEcmaAotEntrypoint() argument 223 return JSFunction::InvokeOptimizedEntrypoint(thread_, mainFunc, thisArg, entryPoint, cjsInfo); in InvokeEcmaAotEntrypoint() 326 CJSInfo cjsInfo(module, require, exports, filename, dirname); in CJSExecution() local 327 RequireManager::InitializeCommonJS(thread_, cjsInfo); in CJSExecution() 330 InvokeEcmaAotEntrypoint(func, thisArg, jsPandaFile, entryPoint, &cjsInfo); in CJSExecution() 343 info->SetCallArg(cjsInfo.exportsHdl.GetTaggedValue(), in CJSExecution() 344 cjsInfo.requireHdl.GetTaggedValue(), in CJSExecution() 345 cjsInfo.moduleHdl.GetTaggedValue(), in CJSExecution() 346 cjsInfo.filenameHdl.GetTaggedValue(), in CJSExecution() 347 cjsInfo.dirnameHdl.GetTaggedValue()); in CJSExecution() [all …]
|
D | js_function.cpp | 321 JSHandle<JSTaggedValue> &thisArg, std::string_view entryPoint, CJSInfo* cjsInfo) in InvokeOptimizedEntrypoint() argument 343 args = JSFunction::GetArgsData(true, thisArg, mainFunc, cjsInfo); in InvokeOptimizedEntrypoint() 346 args = JSFunction::GetArgsData(false, thisArg, mainFunc, cjsInfo); in InvokeOptimizedEntrypoint() 361 JSHandle<JSFunction> mainFunc, CJSInfo* cjsInfo) in GetArgsData() argument 381 if (cjsInfo != nullptr) { in GetArgsData() 382 args[mandatoryNum++] = cjsInfo->exportsHdl.GetTaggedValue().GetRawData(); in GetArgsData() 383 args[mandatoryNum++] = cjsInfo->requireHdl.GetTaggedValue().GetRawData(); in GetArgsData() 384 args[mandatoryNum++] = cjsInfo->moduleHdl.GetTaggedValue().GetRawData(); in GetArgsData() 385 args[mandatoryNum++] = cjsInfo->filenameHdl.GetTaggedValue().GetRawData(); in GetArgsData() 386 args[mandatoryNum] = cjsInfo->dirnameHdl.GetTaggedValue().GetRawData(); in GetArgsData()
|
D | js_function.h | 99 JSHandle<JSTaggedValue> &thisArg, std::string_view entryPoint, CJSInfo* cjsInfo); 241 JSHandle<JSFunction> mainFunc, CJSInfo* cjsInfo);
|
D | ecma_context.h | 402 CJSInfo *cjsInfo = nullptr);
|