/arkcompiler/ets_frontend/ets2panda/ir/ts/ |
H A D | tsQualifiedName.cpp | 85 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 D | ets_proxy.cpp | 27 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 D | ets_proxy.h | 26 PANDA_PUBLIC_API napi_value GetETSFunction(napi_env env, std::string_view packageName, std::string_view methodName);
|
/arkcompiler/ets_runtime/ecmascript/intl/ |
H A D | locale_helper.h | 158 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 D | commonUtil.cpp | 105 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 D | helpers.h | 46 std::string packageName {};
|
/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | module_path_helper.cpp | 115 // 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 D | module_path_helper.h | 181 CString &packageName);
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_locale.h | 443 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 D | ets_vm_plugin.cpp | 68 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 D | runtime.h | 247 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 D | utilityTypeHandlers.cpp | 325 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 D | options.cpp | 256 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 D | ETSparser.cpp | 1063 auto packageName = in ParsePackageDeclaration() local 1066 GetProgram()->SetModuleInfo(packageName, true); in ParsePackageDeclaration()
|