/arkcompiler/ets_frontend/es2panda/util/ |
H A D | commonUtil.cpp | 27 std::string pkgName {}; in Split() 46 std::string pkgName {}; in GetPkgNameFromNormalizedImport() 49 pkgName = normalizedImport.substr(0, pos); in GetPkgNameFromNormalizedImport() 54 pkgName = normalizedImport.substr(0, pos); in GetPkgNameFromNormalizedImport() 57 return pkgName; in GetPkgNameFromNormalizedImport() 63 std::string pkgName {}; in GetPkgNameFromNormalizedOhmurl() 66 return pkgName; in GetPkgNameFromNormalizedOhmurl() 85 auto pkgName = GetPkgNameFromNormalizedOhmurl(ohmurl); in IsExternalPkgNames() local 86 if (std::find(externalPkgNames.begin(), externalPkgNames.end(), pkgName) != externalPkgNames.end()) { in IsExternalPkgNames()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
H A D | compilerContext.cpp | 24 bool isRecordDebugSource, const std::string &sourceFile, const std::string &pkgName, in CompilerContext() 28 isRecordDebugSource_(isRecordDebugSource), sourceFile_(sourceFile), pkgName_(pkgName), recordName_(recordName), in CompilerContext() 22 CompilerContext(binder::Binder *binder, bool isDebug, bool isDebuggerEvaluateExpressionMode, bool isMergeAbc, bool isJsonInputFile, bool isRecordDebugSource, const std::string &sourceFile, const std::string &pkgName, util::StringView recordName, util::PatchFix *patchFixHelper) CompilerContext() argument
|
H A D | compilerImpl.cpp | 40 const std::string &debugInfoSourceFile, const std::string &pkgName) in Compile() 44 debugInfoSourceFile, pkgName, program->RecordName(), patchFixHelper_); in Compile() 39 Compile(parser::Program *program, const es2panda::CompilerOptions &options, const std::string &debugInfoSourceFile, const std::string &pkgName) Compile() argument
|
H A D | compilerImpl.h | 46 const std::string &debugInfoSourceFile, const std::string &pkgName);
|
H A D | compilerContext.h | 43 const std::string &sourceFile, const std::string &pkgName, util::StringView recordName,
|
H A D | compileQueue.cpp | 87 auto bufToHash = buffer + src_->fileName + src_->recordName + src_->sourcefile + src_->pkgName; in RetrieveProgramFromCacheFiles() 314 auto iter = updateVersionInfo.find(src_->pkgName); in NeedUpdateVersion() 331 src_->pkgName, needUpdateVersion); in Schedule()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | module_path_helper.cpp | 406 * recordName: pkg_modules/.ohpm/pkgName/pkg_modules/pkgName/xxx1/xxx3 || a 407 * After: entryPoint: pkg_modules/.ohpm/pkgName/pkg_modules/pkgName/xxx1/xxx2 || b 421 // entryPoint: pkg_modules/.ohpm/pkgName/pkg_modules/pkgName/xxx1/../xxx1/xxx2 in MakeNewRecord() 426 // entryPoint: pkg_modules/.ohpm/pkgName/pkg_modules/pkgName/xxx1/xxx2 in MakeNewRecord() 537 * recordName: pkg_modules/.ohpm/pkgName/pkg_modules/pkgName/xx 887 ConcatNativeSoNormalizedOhmurl(const CString &moduleName, const CString &bundleName, const CString &pkgName, const CString &version) ConcatNativeSoNormalizedOhmurl() argument 895 ConcatNotSoNormalizedOhmurl(const CString &moduleName, const CString &bundleName, const CString &pkgName, const CString &entryPath, const CString &version) ConcatNotSoNormalizedOhmurl() argument 962 CString pkgName = vm->GetPkgNameWithAlias(requestPath); ConcatOtherNormalizedOhmurl() local 998 CString pkgName = vm->GetPkgNameWithAlias(alias); ConcatOtherNormalizedOhmurlWithFilePath() local 1006 ConcatNormalizedOhmurlWithData(CVector<CString> &data, CString &pkgName, CString &entryPath) ConcatNormalizedOhmurlWithData() argument [all...] |
H A D | module_path_helper.h | 43 * {project_path}\node_modules.ohpm\pkgName\oh_modules\pkgName\xxx\xxx 44 * --> @package:pkg_modules/.ohpm/pkgName/pkg_modules/pkgName/xxx/xxx 188 const CString &pkgName, const CString &version); 190 const CString &pkgName, const CString &entryPath, 201 static CString ConcatNormalizedOhmurlWithData(CVector<CString> &data, CString &pkgName, CString &entryPath);
|
/arkcompiler/ets_frontend/es2panda/aot/ |
H A D | options.cpp | 40 // item list: [filePath; recordName; moduleKind; sourceFile; pkgName; isSharedModule] 106 // the itemList. The fileInfo string of the abc file only contains the file path and pkgName, so the index in CollectInputAbcFile() 107 // of pkgName is 1. in CollectInputAbcFile() 113 src.pkgName = itemList[PKG_NAME_IDX]; in CollectInputAbcFile() 138 src.pkgName = itemList[PKG_NAME_IDX]; in CollectInputSourceFile() 253 for (const auto& [pkgName, version] : versionInfo.items()) { in ParseUpdateVersionInfo() 256 pkgInfo.packageName = pkgName; in ParseUpdateVersionInfo() 257 pkgContextMap[pkgName] = pkgInfo; in ParseUpdateVersionInfo() 265 for (const auto& [pkgName, pkgContextInfo] : compileContextInfoJson["pkgContextInfo"].items()) { in ParseUpdateVersionInfo() 277 pkgContextMap[pkgName] in ParseUpdateVersionInfo() [all...] |
/arkcompiler/ets_frontend/es2panda/ |
H A D | es2panda.cpp | 141 std::string pkgName(input.pkgName); in Compile() 168 auto *prog = compiler_->Compile(&ast, options, debugInfoSourceFile, pkgName); in Compile()
|
H A D | es2panda.h | 67 std::string pkgName {};
|
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/ |
H A D | emitter.h | 154 void SetPkgNameField(const std::string &pkgName);
|
H A D | emitter.cpp | 622 void Emitter::SetPkgNameField(const std::string &pkgName) in SetPkgNameField() argument 625 pkgNameField.name = "pkgName@" + pkgName; in SetPkgNameField()
|
/arkcompiler/ets_runtime/ecmascript/module/tests/ |
H A D | ecma_module_test.cpp | 1205 CString pkgName = "entry"; in HWTEST_F_L0() local 1208 CString outFileName = ModulePathHelper::ConcatUnifiedOhmUrl("", pkgName, "", path, version); in HWTEST_F_L0() 1229 CString pkgName = "libentry.so"; in HWTEST_F_L0() local 1230 CString outFileName = ModulePathHelper::ConcatNativeSoNormalizedOhmurl("", "", pkgName, ""); in HWTEST_F_L0() 1237 CString pkgName = "har"; in HWTEST_F_L0() local 1240 CString outFileName = ModulePathHelper::ConcatNotSoNormalizedOhmurl("", "", pkgName, path, version); in HWTEST_F_L0() 1464 CString pkgName = "entry"; in HWTEST_F_L0() local 1468 CString res = ModulePathHelper::ConcatPreviewTestUnifiedOhmUrl(bundleName, pkgName, path, version); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi_expo.cpp | 4142 ecmascript::CString pkgName = vec[i][0].c_str(); in SetpkgContextInfoList() local 4147 map.emplace(pkgName, pkgContextInfo); in SetpkgContextInfoList() 5222 * 2. @package:pkg_modules/.ohpm/pkgName/pkg_modules/pkgName/xxx/xxx
|