Lines Matching full:entrypoint
21 * This function use recordName, requestName to get baseFileName and entryPoint.
47 …CString entryPoint = TranslateExpressionInputWithEts(thread, jsPandaFile, baseFileName, requestNam… in ConcatFileNameWithMerge() local
48 if (entryPoint.empty()) { in ConcatFileNameWithMerge()
49 … THROW_MODULE_NOT_FOUND_ERROR_WITH_RETURN_VALUE(thread, requestName, recordName, entryPoint); in ConcatFileNameWithMerge()
51 return entryPoint; in ConcatFileNameWithMerge()
55 CString entryPoint = ParseThirdPartyPackage(jsPandaFile, recordName, requestName); in ConcatFileNameWithMerge() local
56 if (entryPoint.empty()) { in ConcatFileNameWithMerge()
57 THROW_MODULE_NOT_FOUND_ERROR_WITH_RETURN_VALUE(thread, requestName, recordName, entryPoint); in ConcatFileNameWithMerge()
59 return entryPoint; in ConcatFileNameWithMerge()
73 …CString entryPoint = ConcatImportFileNormalizedOhmurlWithRecordName(thread, jsPandaFile, baseFileN… in ConcatMergeFileNameToNormalized() local
75 if (entryPoint.empty()) { in ConcatMergeFileNameToNormalized()
78 return entryPoint; in ConcatMergeFileNameToNormalized()
94 CString entryPoint; in ConcatImportFileNormalizedOhmurlWithRecordName() local
108 entryPoint = path.substr(0, pos + 1) + moduleRequestName; in ConcatImportFileNormalizedOhmurlWithRecordName()
110 entryPoint = moduleRequestName; in ConcatImportFileNormalizedOhmurlWithRecordName()
112 entryPoint = PathHelper::NormalizePath(entryPoint); in ConcatImportFileNormalizedOhmurlWithRecordName()
113 moduleRequestName = ConcatImportFileNormalizedOhmurl(entryPoint, "", version); in ConcatImportFileNormalizedOhmurlWithRecordName()
118 entryPoint += PACKAGE_ENTRY_FILE; in ConcatImportFileNormalizedOhmurlWithRecordName()
119 entryPoint = PathHelper::NormalizePath(entryPoint); in ConcatImportFileNormalizedOhmurlWithRecordName()
120 moduleRequestName = ConcatImportFileNormalizedOhmurl(entryPoint, "", version); in ConcatImportFileNormalizedOhmurlWithRecordName()
329 * entryPoint: bundleName/moduleName@namespace/ets/xxx
336 CString entryPoint = moduleRequestName; in ParsePrefixBundle() local
349 PathHelper::AdaptOldIsaRecord(entryPoint); in ParsePrefixBundle()
351 return entryPoint; in ParsePrefixBundle()
382 * After: entryPoint: pkg_modules/.ohpm/pkgName/pkg_modules/pkgName/xxx1/xxx2 || b
388 CString entryPoint; in MakeNewRecord() local
396 // entryPoint: pkg_modules/.ohpm/pkgName/pkg_modules/pkgName/xxx1/../xxx1/xxx2 in MakeNewRecord()
397 entryPoint = recordName.substr(0, pos + 1) + moduleRequestName; in MakeNewRecord()
399 entryPoint = moduleRequestName; in MakeNewRecord()
401 // entryPoint: pkg_modules/.ohpm/pkgName/pkg_modules/pkgName/xxx1/xxx2 in MakeNewRecord()
402 entryPoint = PathHelper::NormalizePath(entryPoint); in MakeNewRecord()
403 entryPoint = ConfirmLoadingIndexOrNot(jsPandaFile, entryPoint); in MakeNewRecord()
404 if (!entryPoint.empty()) { in MakeNewRecord()
405 return entryPoint; in MakeNewRecord()
408 entryPoint = ParseThirdPartyPackage(jsPandaFile, recordName, requestName); in MakeNewRecord()
409 if (!entryPoint.empty()) { in MakeNewRecord()
410 return entryPoint; in MakeNewRecord()
414 !jsPandaFile->HasRecord(entryPoint)) { in MakeNewRecord()
415 THROW_MODULE_NOT_FOUND_ERROR_WITH_RETURN_VALUE(thread, requestName, recordName, entryPoint); in MakeNewRecord()
426 entryPoint = moduleRequestName.substr(pos + 1); in MakeNewRecord()
428 entryPoint = moduleRequestName; in MakeNewRecord()
430 return entryPoint; in MakeNewRecord()
456 // second If the ohpmKey is not empty, we will use it to obtain the real entrypoint in FindOhpmEntryPoint()
457 CString entryPoint; in FindOhpmEntryPoint() local
460 entryPoint = jsPandaFile->GetEntryPoint(ohpmKey); in FindOhpmEntryPoint()
465 entryPoint = ConfirmLoadingIndexOrNot(jsPandaFile, ohpmKey); in FindOhpmEntryPoint()
467 return entryPoint; in FindOhpmEntryPoint()
474 CString entryPoint; in FindPackageInTopLevelWithNamespace() local
483 entryPoint = FindOhpmEntryPoint(jsPandaFile, recordName.substr(0, pos), requestName); in FindPackageInTopLevelWithNamespace()
499 entryPoint = FindOhpmEntryPoint(jsPandaFile, ohpmPath, requestName); in FindPackageInTopLevelWithNamespace()
501 if ((pos != CString::npos) && entryPoint.empty()) { in FindPackageInTopLevelWithNamespace()
504 entryPoint = FindOhpmEntryPoint(jsPandaFile, ohpmPath, requestName); in FindPackageInTopLevelWithNamespace()
507 if (!entryPoint.empty()) { in FindPackageInTopLevelWithNamespace()
508 return entryPoint; in FindPackageInTopLevelWithNamespace()
517 * After: entryPoint: pkg_modules/.ohpm/requestPkgName/pkg_modules/requestPkgName/xxx
532 // entryPoint: pkg_modules/.ohpm/requestPkgName/pkg_modules/requestPkgName/xxx in ParseOhpmPackage()
533 CString entryPoint = FindOhpmEntryPoint(jsPandaFile, ohpmPath, requestName); in ParseOhpmPackage() local
534 if (!entryPoint.empty()) { in ParseOhpmPackage()
535 return entryPoint; in ParseOhpmPackage()
547 * After: entryPoint: pkg_modules/.ohpm/requestPkgName/pkg_modules/requestPkgName/xxx
559 CString entryPoint = FindNpmEntryPoint(jsPandaFile, key); in ParseThirdPartyPackage() local
560 if (!entryPoint.empty()) { in ParseThirdPartyPackage()
561 return entryPoint; in ParseThirdPartyPackage()
578 * After: entryPoint: pkg_modules/.ohpm/requestPkgName/pkg_modules/requestPkgName/xxx
585 CString entryPoint = ParseOhpmPackage(jsPandaFile, recordName, normalizeRequestName); in ParseThirdPartyPackage() local
586 if (!entryPoint.empty()) { in ParseThirdPartyPackage()
587 return entryPoint; in ParseThirdPartyPackage()
593 … entryPoint = ParseThirdPartyPackage(jsPandaFile, recordName, normalizeRequestName, packagePath); in ParseThirdPartyPackage()
594 if (!entryPoint.empty()) { in ParseThirdPartyPackage()
595 return entryPoint; in ParseThirdPartyPackage()
616 // if we are currently importing a specific file or directory, we will get the entryPoint here in FindNpmEntryPoint()
617 CString entryPoint = ConfirmLoadingIndexOrNot(jsPandaFile, packageEntryPoint); in FindNpmEntryPoint() local
618 if (!entryPoint.empty()) { in FindNpmEntryPoint()
619 return entryPoint; in FindNpmEntryPoint()
628 * After: entryPoint: pkg_modules/.ohpm/requestPkgName/pkg_modules/requestPkgName/xxx
638 CString entryPoint = FindNpmEntryPoint(jsPandaFile, key); in FindPackageInTopLevel() local
639 if (!entryPoint.empty()) { in FindPackageInTopLevel()
640 return entryPoint; in FindPackageInTopLevel()
754 … CString entryPoint = base::ConcatToCString(vm->GetBundleName(), PathHelper::SLASH_TAG, moduleName, in TranslateExpressionInputWithEts() local
756 if (!jsPandaFile->HasRecord(entryPoint)) { in TranslateExpressionInputWithEts()
759 return entryPoint; in TranslateExpressionInputWithEts()
905 …CString entryPoint = ConcatImportFileNormalizedOhmurlWithRecordName(thread, jsPandaFile, baseFileN… in TranslateExpressionToNormalized() local
907 if (entryPoint.empty()) { in TranslateExpressionToNormalized()