Searched refs:requestName (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/module/ |
D | module_path_helper.h | 98 … CString &baseFileName, CString recordName, CString requestName); 105 const CString &recordName, const CString &requestName); 107 const CString &requestName); 108 …ring FindPackageInTopLevelWithNamespace(const JSPandaFile *jsPandaFile, const CString &requestName, 111 const CString &requestName); 113 const CString &requestName, const CString &packagePath); 115 const CString &requestName); 119 static CString FindPackageInTopLevel(const JSPandaFile *jsPandaFile, const CString &requestName, 122 static CString RemoveSuffix(const CString &requestName); 160 inline static bool IsNativeModuleRequest(const CString &requestName) in IsNativeModuleRequest() argument [all …]
|
D | module_path_helper.cpp | 22 CString &baseFileName, CString recordName, CString requestName) in ConcatFileNameWithMerge() argument 25 if (StringHelper::StringStartWith(requestName, PREFIX_BUNDLE)) { in ConcatFileNameWithMerge() 27 entryPoint = ParsePrefixBundle(thread, jsPandaFile, baseFileName, requestName, recordName); in ConcatFileNameWithMerge() 28 } else if (StringHelper::StringStartWith(requestName, PREFIX_PACKAGE)) { in ConcatFileNameWithMerge() 30 entryPoint = requestName.substr(PREFIX_PACKAGE_LEN); in ConcatFileNameWithMerge() 31 } else if (IsImportFile(requestName)) { in ConcatFileNameWithMerge() 35 entryPoint = MakeNewRecord(jsPandaFile, baseFileName, recordName, requestName); in ConcatFileNameWithMerge() 39 entryPoint = ParseThirdPartyPackage(jsPandaFile, recordName, requestName); in ConcatFileNameWithMerge() 43 "'. RecordName : '" << recordName << "'. RequestName : '" << requestName << "'."; in ConcatFileNameWithMerge() 45 CString msg = "failed to load module'" + requestName + "' which imported by '" + in ConcatFileNameWithMerge() [all …]
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_cjs_require.cpp | 44 JSHandle<EcmaString> requestName = JSHandle<EcmaString>::Cast(GetCallArg(argv, 0)); in CjsRequireConstructor() local 45 result = CjsModule::Load(thread, requestName); in CjsRequireConstructor()
|
D | builtins_cjs_module.cpp | 72 JSHandle<EcmaString> requestName = JSHandle<EcmaString>::Cast(GetCallArg(argv, 0)); in ResolveFilename() local 74 requestName.GetTaggedValue()); in ResolveFilename()
|