Home
last modified time | relevance | path

Searched refs:pkgName (Results 1 - 15 of 15) sorted by relevance

/arkcompiler/ets_frontend/es2panda/util/
H A DcommonUtil.cpp27 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 DcompilerContext.cpp24 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 DcompilerImpl.cpp40 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 DcompilerImpl.h46 const std::string &debugInfoSourceFile, const std::string &pkgName);
H A DcompilerContext.h43 const std::string &sourceFile, const std::string &pkgName, util::StringView recordName,
H A DcompileQueue.cpp87 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 Dmodule_path_helper.cpp406 * 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 Dmodule_path_helper.h43 * {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 Doptions.cpp40 // 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 Des2panda.cpp141 std::string pkgName(input.pkgName); in Compile()
168 auto *prog = compiler_->Compile(&ast, options, debugInfoSourceFile, pkgName); in Compile()
H A Des2panda.h67 std::string pkgName {};
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
H A Demitter.h154 void SetPkgNameField(const std::string &pkgName);
H A Demitter.cpp622 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 Decma_module_test.cpp1205 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 Djsnapi_expo.cpp4142 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

Completed in 31 milliseconds