Lines Matching refs:ModulePathHelper
25 CString ModulePathHelper::ConcatFileNameWithMerge(JSThread *thread, const JSPandaFile *jsPandaFile, in ConcatFileNameWithMerge()
62 CString ModulePathHelper::ConcatMergeFileNameToNormalized(JSThread *thread, const JSPandaFile *jsPa… in ConcatMergeFileNameToNormalized()
91 CString ModulePathHelper::ConcatImportFileNormalizedOhmurlWithRecordName(JSThread *thread, in ConcatImportFileNormalizedOhmurlWithRecordName()
135 CString ModulePathHelper::ReformatPath(const CString& requestName) in ReformatPath()
163 void ModulePathHelper::ParseAbcPathAndOhmUrl(EcmaVM *vm, const CString &inputFileName, in ParseAbcPathAndOhmUrl()
201 CString ModulePathHelper::ConcatUnifiedOhmUrl(const CString &bundleName, const CString &pkgname, in ConcatUnifiedOhmUrl()
213 CString ModulePathHelper::ConcatUnifiedOhmUrl(const CString &bundleName, const CString &normalizedp… in ConcatUnifiedOhmUrl()
220 CString ModulePathHelper::ConcatPreviewTestUnifiedOhmUrl(const CString &bundleName, const CString &… in ConcatPreviewTestUnifiedOhmUrl()
227 CString ModulePathHelper::ConcatHspFileNameCrossBundle(const CString &bundleName, const CString &mo… in ConcatHspFileNameCrossBundle()
233 CString ModulePathHelper::ConcatHspFileName(const CString &moduleName) in ConcatHspFileName()
238 CString ModulePathHelper::ThrowInvalidOhmurlError(EcmaVM *vm, const CString &oldEntryPoint) in ThrowInvalidOhmurlError()
245 CString ModulePathHelper::TransformToNormalizedOhmUrl(EcmaVM *vm, const CString &inputFileName, in TransformToNormalizedOhmUrl()
299 CString ModulePathHelper::ParseUrl(EcmaVM *vm, const CString &recordName) in ParseUrl()
329 CString ModulePathHelper::ParsePrefixBundle(JSThread *thread, const JSPandaFile *jsPandaFile, in ParsePrefixBundle()
353 CString ModulePathHelper::ParseNormalizedOhmUrl(JSThread *thread, CString &baseFileName, const CStr… in ParseNormalizedOhmUrl()
383 CString ModulePathHelper::MakeNewRecord(JSThread *thread, const JSPandaFile *jsPandaFile, CString &… in MakeNewRecord()
431 CString ModulePathHelper::FindOhpmEntryPoint(const JSPandaFile *jsPandaFile, in FindOhpmEntryPoint()
468 CString ModulePathHelper::FindPackageInTopLevelWithNamespace(const JSPandaFile *jsPandaFile, in FindPackageInTopLevelWithNamespace()
517 CString ModulePathHelper::ParseOhpmPackage(const JSPandaFile *jsPandaFile, in ParseOhpmPackage()
547 CString ModulePathHelper::ParseThirdPartyPackage(const JSPandaFile *jsPandaFile, in ParseThirdPartyPackage()
578 CString ModulePathHelper::ParseThirdPartyPackage(const JSPandaFile *jsPandaFile, in ParseThirdPartyPackage()
605 void ModulePathHelper::ResolveCurrentPath(CString &dirPath, CString &fileName, const JSPandaFile *j… in ResolveCurrentPath()
612 CString ModulePathHelper::FindNpmEntryPoint(const JSPandaFile *jsPandaFile, const CString &packageE… in FindNpmEntryPoint()
628 CString ModulePathHelper::FindPackageInTopLevel(const JSPandaFile *jsPandaFile, in FindPackageInTopLevel()
644 bool ModulePathHelper::IsImportFile(const CString &moduleRequestName) in IsImportFile()
663 CString ModulePathHelper::RemoveSuffix(const CString &requestName) in RemoveSuffix()
677 bool ModulePathHelper::NeedTranstale(const CString &requestName) in NeedTranstale()
690 void ModulePathHelper::TranstaleExpressionInput(const JSPandaFile *jsPandaFile, CString &requestPat… in TranstaleExpressionInput()
717 CString ModulePathHelper::GetModuleNameWithBaseFile(const CString &baseFileName) in GetModuleNameWithBaseFile()
747 CString ModulePathHelper::TranslateExpressionInputWithEts(JSThread *thread, const JSPandaFile *jsPa… in TranslateExpressionInputWithEts()
767 void ModulePathHelper::ParseCrossModuleFile(const JSPandaFile *jsPandaFile, CString &requestPath) in ParseCrossModuleFile()
801 CString ModulePathHelper::ParseFileNameToVMAName(const CString &filename) in ParseFileNameToVMAName()
838 CVector<CString> ModulePathHelper::GetPkgContextInfoListElements(EcmaVM *vm, const CString &moduleN… in GetPkgContextInfoListElements()
857 CString ModulePathHelper::ConcatImportFileNormalizedOhmurl(const CString &recordPath, const CString… in ConcatImportFileNormalizedOhmurl()
863 CString ModulePathHelper::ConcatNativeSoNormalizedOhmurl(const CString &moduleName, const CString &… in ConcatNativeSoNormalizedOhmurl()
871 CString ModulePathHelper::ConcatNotSoNormalizedOhmurl(const CString &moduleName, const CString &bun… in ConcatNotSoNormalizedOhmurl()
879 bool ModulePathHelper::NeedTranslateToNormalized(const CString &requestName) in NeedTranslateToNormalized()
891 CString ModulePathHelper::TranslateExpressionToNormalized(JSThread *thread, const JSPandaFile *jsPa… in TranslateExpressionToNormalized()
932 void ModulePathHelper::ConcatOtherNormalizedOhmurl(EcmaVM *vm, const JSPandaFile *jsPandaFile, in ConcatOtherNormalizedOhmurl()
971 CString ModulePathHelper::ConcatOtherNormalizedOhmurlWithFilePath(EcmaVM *vm, size_t filePathPos, in ConcatOtherNormalizedOhmurlWithFilePath()
985 CString ModulePathHelper::ConcatNormalizedOhmurlWithData(const CVector<CString> &data, const CStrin… in ConcatNormalizedOhmurlWithData()
1006 CString ModulePathHelper::TranslateNapiFileRequestPath(JSThread *thread, const CString &modulePath, in TranslateNapiFileRequestPath()
1020 CVector<CString> ModulePathHelper::SplitNormalizedOhmurl(const CString &ohmurl) in SplitNormalizedOhmurl()
1036 CVector<CString> ModulePathHelper::SplitNormalizedRecordName(const CString &recordName) in SplitNormalizedRecordName()
1063 CString ModulePathHelper::GetBundleNameWithRecordName(EcmaVM *vm, const CString &recordName) in GetBundleNameWithRecordName()
1067 CVector<CString> res = ModulePathHelper::SplitNormalizedRecordName(recordName); in GetBundleNameWithRecordName()
1068 bundleName = res[ModulePathHelper::NORMALIZED_BUNDLE_NAME_INDEX]; in GetBundleNameWithRecordName()
1080 CString ModulePathHelper::Utf8ConvertToString(JSThread *thread, JSTaggedValue str) in Utf8ConvertToString()
1086 bool ModulePathHelper::IsOhmUrl(const CString &str) in IsOhmUrl()
1088 if (StringHelper::StringStartWith(str, ModulePathHelper::PREFIX_BUNDLE) || in IsOhmUrl()
1089 StringHelper::StringStartWith(str, ModulePathHelper::PREFIX_PACKAGE) || in IsOhmUrl()
1090 StringHelper::StringStartWith(str, ModulePathHelper::PREFIX_NORMALIZED_NOT_SO)) { in IsOhmUrl()
1096 bool ModulePathHelper::CheckAndGetRecordName(JSThread *thread, const CString &ohmUrl, CString &reco… in CheckAndGetRecordName()
1106 recordName = ModulePathHelper::ParseNormalizedOhmUrl(thread, str, " ", ohmUrl); in CheckAndGetRecordName()
1118 bool ModulePathHelper::ValidateAbcPath(const CString &baseFileName, ValidateFilePath checkMode) in ValidateAbcPath()
1134 std::pair<std::string, std::string> ModulePathHelper::ResolveOhmUrl(std::string ohmUrl) in ResolveOhmUrl()
1147 std::pair<std::string, std::string> ModulePathHelper::ResolveOhmUrlStartWithBundle(const std::strin… in ResolveOhmUrlStartWithBundle()
1160 std::pair<std::string, std::string> ModulePathHelper::ResolveOhmUrlStartWithNormalized(const std::s… in ResolveOhmUrlStartWithNormalized()