Home
last modified time | relevance | path

Searched refs:packageName (Results 1 - 14 of 14) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/ir/ts/
H A DtsQualifiedName.cpp85 util::UString packageName(allocator); in ToString()
93 packageName.Append(iter->Left()->AsIdentifier()->Name()); in ToString()
98 packageName.Append('.'); in ToString()
99 packageName.Append(parent->AsTSQualifiedName()->Right()->AsIdentifier()->Name()); in ToString()
103 return packageName.View(); in ToString()
108 util::UString packageName(allocator); in BaseToString()
116 packageName.Append(iter->Left()->AsIdentifier()->Name()); in BaseToString()
121 packageName.Append('.'); in BaseToString()
122 packageName.Append(parent->AsTSQualifiedName()->Right()->AsIdentifier()->Name()); in BaseToString()
126 return packageName in BaseToString()
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/
H A Dets_proxy.cpp27 napi_value GetETSFunction(napi_env env, std::string_view packageName, std::string_view methodName) in GetETSFunction() argument
33 classDescriptorBuilder << "L" << packageName << (packageName.empty() ? "ETSGLOBAL;" : "/ETSGLOBAL;"); in GetETSFunction()
36 if (IsEtsGlobalClassName(packageName.data())) { in GetETSFunction()
39 classDescriptor = packageName; in GetETSFunction()
H A Dets_proxy.h26 PANDA_PUBLIC_API napi_value GetETSFunction(napi_env env, std::string_view packageName, std::string_view methodName);
/arkcompiler/ets_runtime/ecmascript/intl/
H A Dlocale_helper.h158 static bool ValidateOtherTags(const icu::Locale &locale, const char *packageName, const char *key, bool &res) in ValidateOtherTags() argument
166 return CheckLocales(removeCountry.c_str(), key, packageName, res); in ValidateOtherTags()
170 return CheckLocales(language.c_str(), key, packageName, res); in ValidateOtherTags()
175 static bool CheckLocales(const icu::Locale &locale, const char *key, const char *packageName, bool &res) in CheckLocales() argument
180 UResourceBundle *localeRes = ures_open(packageName, formalLocale, &status); in CheckLocales()
196 ValidateOtherTags(locale, packageName, key, res); in CheckLocales()
/arkcompiler/ets_frontend/es2panda/util/
H A DcommonUtil.cpp105 std::string packageName = util::GetPkgNameFromNormalizedOhmurl(ohmurl); in UpdatePackageVersionIfNeeded() local
107 if (packageName.empty()) { in UpdatePackageVersionIfNeeded()
110 auto iter = pkgContextInfo.find(packageName); in UpdatePackageVersionIfNeeded()
H A Dhelpers.h46 std::string packageName {};
/arkcompiler/ets_runtime/ecmascript/module/
H A Dmodule_path_helper.cpp115 // requestName may be a packageName in ConcatImportFileNormalizedOhmurlWithRecordName()
481 // requestName is a packageName in FindOhpmEntryPoint()
547 // packageName: pkg_modules/.ohpm/pkgName/pkg_modules/pkgName in ParseOhpmPackage()
548 CString packageName = info.npmPackageName; in ParseOhpmPackage() local
549 size_t pos = packageName.rfind(PACKAGE_PATH_SEGMENT); in ParseOhpmPackage()
551 packageName.erase(pos, packageName.size() - pos); in ParseOhpmPackage()
553 CString ohpmPath = packageName + PACKAGE_PATH_SEGMENT; in ParseOhpmPackage()
577 CString packageName = info.npmPackageName; // pkg_modules/.ohpm/pkgName/pkg_modules/pkgName in ParseThirdPartyPackage() local
580 CString key = packageName in ParseThirdPartyPackage()
862 GetPkgContextInfoListElements(EcmaVM *vm, CString &moduleName, CString &packageName) GetPkgContextInfoListElements() argument
[all...]
H A Dmodule_path_helper.h181 CString &packageName);
/arkcompiler/ets_runtime/ecmascript/
H A Djs_locale.h443 static bool ValidateOtherTags(const icu::Locale &locale, const char *packageName, const char *key, bool &res) in ValidateOtherTags() argument
452 return CheckLocales(removeCountry.c_str(), key, packageName, res); in ValidateOtherTags()
456 return CheckLocales(language.c_str(), key, packageName, res); in ValidateOtherTags()
461 static bool CheckLocales(const icu::Locale &locale, const char *key, const char *packageName, bool &res) in CheckLocales() argument
466 UResourceBundle *localeRes = ures_open(packageName, formalLocale, &status); in CheckLocales()
482 ValidateOtherTags(locale, packageName, key, res); in CheckLocales()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
H A Dets_vm_plugin.cpp68 std::string packageName; in GetEtsFunction() local
74 packageName = GetString(env, jsPackageName); in GetEtsFunction()
84 return ets_proxy::GetETSFunction(env, packageName, methodName); in GetEtsFunction()
/arkcompiler/runtime_core/static_core/runtime/include/
H A Druntime.h247 void SetProcessPackageName(const char *packageName) in SetProcessPackageName() argument
249 if (packageName == nullptr) { in SetProcessPackageName()
252 processPackageName_ = packageName; in SetProcessPackageName()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DutilityTypeHandlers.cpp325 auto packageName = classDefProgram->ModuleName().Mutf8(); in GetQualifiedClassName() local
326 if (!packageName.empty()) { in GetQualifiedClassName()
327 packageName.append("."); in GetQualifiedClassName()
330 return util::UString(packageName + className.Mutf8(), Allocator()).View(); in GetQualifiedClassName()
/arkcompiler/ets_frontend/es2panda/aot/
H A Doptions.cpp256 pkgInfo.packageName = pkgName; in ParseUpdateVersionInfo()
272 if (pkgContextInfo.contains("packageName") && pkgContextInfo["packageName"].is_string()) { in ParseUpdateVersionInfo()
273 pkgInfo.packageName = pkgContextInfo["packageName"]; in ParseUpdateVersionInfo()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparser.cpp1063 auto packageName = in ParsePackageDeclaration() local
1066 GetProgram()->SetModuleInfo(packageName, true); in ParsePackageDeclaration()

Completed in 17 milliseconds