Home
last modified time | relevance | path

Searched refs:ohmurl (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/ets_frontend/es2panda/util/
H A DcommonUtil.cpp60 std::string GetPkgNameFromNormalizedOhmurl(const std::string &ohmurl) in GetPkgNameFromNormalizedOhmurl() argument
64 auto items = Split(ohmurl, NORMALIZED_OHMURL_SEPARATOR); in GetPkgNameFromNormalizedOhmurl()
72 std::string GetRecordNameFromNormalizedOhmurl(const std::string &ohmurl) in GetRecordNameFromNormalizedOhmurl() argument
76 auto items = Split(ohmurl, NORMALIZED_OHMURL_SEPARATOR); in GetRecordNameFromNormalizedOhmurl()
83 bool IsExternalPkgNames(const std::string &ohmurl, const std::set<std::string> &externalPkgNames) in IsExternalPkgNames() argument
85 auto pkgName = GetPkgNameFromNormalizedOhmurl(ohmurl); in IsExternalPkgNames()
92 std::string UpdatePackageVersionIfNeeded(const std::string &ohmurl, in UpdatePackageVersionIfNeeded() argument
95 // Input ohmurl format: in UpdatePackageVersionIfNeeded()
97 // Update the version for ohmurls and return the updated ohmurl when: in UpdatePackageVersionIfNeeded()
99 // 2. The ohmurl i in UpdatePackageVersionIfNeeded()
[all...]
H A DcommonUtil.h39 // The format of ohmurl for non-SO files are start with '@normalized:N'.
54 bool IsExternalPkgNames(const std::string &ohmurl, const std::set<std::string> &externalPkgNames);
55 std::string GetRecordNameFromNormalizedOhmurl(const std::string &ohmurl);
56 std::string GetPkgNameFromNormalizedOhmurl(const std::string &ohmurl);
58 std::string UpdatePackageVersionIfNeeded(const std::string &ohmurl,
/arkcompiler/ets_frontend/es2panda/aot/
H A DresolveDepsRelation.cpp61 void DepsRelationResolver::CollectDepsIfNeeded(const std::string &ohmurl) in CollectDepsIfNeeded() argument
63 if (ohmurl.find(util::NORMALIZED_OHMURL_NOT_SO) != std::string::npos && in CollectDepsIfNeeded()
64 !util::IsExternalPkgNames(ohmurl, compileContextInfo_.externalPkgNames)) { in CollectDepsIfNeeded()
65 std::string collectRecord = util::GetRecordNameFromNormalizedOhmurl(ohmurl); in CollectDepsIfNeeded()
135 util::VisitStaticImports<true>(program, pair.second, [this](const std::string &ohmurl) { in CollectStaticImportDepsRelation()
136 this->CollectDepsIfNeeded(ohmurl); in CollectStaticImportDepsRelation()
148 util::VisitDyanmicImports<true>(func.second, [this](const std::string &ohmurl) { in CollectDynamicImportDepsRelation()
149 this->CollectDepsIfNeeded(ohmurl); in CollectDynamicImportDepsRelation()
H A DresolveDepsRelation.h50 void CollectDepsIfNeeded(const std::string &ohmurl);
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A DcompileQueue.cpp226 util::VisitDyanmicImports<false>(function, [this, &prog, pkgContextInfo](std::string &ohmurl) { in UpdateDynamicImportPackageVersion()
227 const auto &newOhmurl = util::UpdatePackageVersionIfNeeded(ohmurl, pkgContextInfo); in UpdateDynamicImportPackageVersion()
228 if (newOhmurl == ohmurl) { in UpdateDynamicImportPackageVersion()
233 ohmurl = newOhmurl; in UpdateDynamicImportPackageVersion()
242 util::VisitStaticImports<false>(*prog, record, [this, pkgContextInfo](std::string &ohmurl) { in UpdateStaticImportPackageVersion()
243 const auto &newOhmurl = util::UpdatePackageVersionIfNeeded(ohmurl, pkgContextInfo); in UpdateStaticImportPackageVersion()
244 if (newOhmurl == ohmurl) { in UpdateStaticImportPackageVersion()
248 ohmurl = newOhmurl; in UpdateStaticImportPackageVersion()
/arkcompiler/ets_runtime/ecmascript/module/
H A Dmodule_path_helper.cpp284 // When the entry path ends with a slash (/), use the entry path to concatenate ohmurl. in TransformToNormalizedOhmUrl()
1039 CVector<CString> ModulePathHelper::SplitNormalizedOhmurl(const CString &ohmurl) in SplitNormalizedOhmurl() argument
1043 size_t pos = ohmurl.find(PathHelper::NORMALIZED_OHMURL_TAG); in SplitNormalizedOhmurl()
1045 CString element = ohmurl.substr(start, pos - start); in SplitNormalizedOhmurl()
1048 pos = ohmurl.find(PathHelper::NORMALIZED_OHMURL_TAG, start); in SplitNormalizedOhmurl()
1050 CString tail = ohmurl.substr(start); in SplitNormalizedOhmurl()
1104 // check if input is ohmurl's ets/ts/js
H A Dmodule_path_helper.h184 static CVector<CString> SplitNormalizedOhmurl(const CString &ohmurl);
343 LOG_FULL(ERROR) << "GetBundleNameFromNormalized Invalid normalized ohmurl"; in GetBundleNameFromNormalized()
357 LOG_FULL(ERROR) << "GetNormalizedPathFromOhmUrl Invalid normalized ohmurl"; in GetNormalizedPathFromOhmUrl()
/arkcompiler/ets_runtime/ecmascript/napi/include/
H A Djsnapi_expo.h1575 const std::string &moduleName, const std::string &ohmurl, bool isSingletonPattern);
1577 const std::string &moduleName, const std::string &ohmurl);
/arkcompiler/ets_runtime/ecmascript/napi/
H A Djsnapi_expo.cpp5174 const std::string &moduleName, const std::string &ohmurl, bool isSingletonPattern) in ExecuteWithSingletonPatternFlag()
5179 moduleName.c_str(), ohmurl.c_str(), isSingletonPattern); in ExecuteWithSingletonPatternFlag()
5186 << "' and module name is '" << moduleName << "', entry is'" << ohmurl << "'" << std::endl; in ExecuteWithSingletonPatternFlag()
5192 const std::string &moduleName, const std::string &ohmurl) in IsExecuteModuleInAbcFile()
5197 moduleName.c_str(), ohmurl.c_str()); in IsExecuteModuleInAbcFile()
5173 ExecuteWithSingletonPatternFlag(EcmaVM *vm, const std::string &bundleName, const std::string &moduleName, const std::string &ohmurl, bool isSingletonPattern) ExecuteWithSingletonPatternFlag() argument
5191 IsExecuteModuleInAbcFile(EcmaVM *vm, const std::string &bundleName, const std::string &moduleName, const std::string &ohmurl) IsExecuteModuleInAbcFile() argument

Completed in 19 milliseconds