Home
last modified time | relevance | path

Searched defs:region (Results 1 – 25 of 53) sorted by relevance

123

/base/global/i18n_lite/interfaces/kits/js/builtin/src/
Dlocale_module.cpp41 char *region = reinterpret_cast<char *>(ace_malloc(MAX_REGION_LENGTH)); in GetRegion() local
74 char *region = GetRegion(); in GetLocale() local
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dtest_common.cpp72 ResConfig *CreateResConfig(const char *language, const char *script, const char *region) in CreateResConfig()
82 Locale GetLocale(const char *language, const char *script, const char *region) in GetLocale()
/base/global/i18n/frameworks/intl/src/
Dmeasure_data.cpp309 uint32_t GetMask(const string &region) in GetMask()
316 void GetDefaultPreferredUnit(const string &region, const string &type, vector<string> &units) in GetDefaultPreferredUnit()
340 void GetFallbackPreferredUnit(const string &region, const string &usage, vector<string> &units) in GetFallbackPreferredUnit()
390 void GetRestPreferredUnit(const string &region, const string &usage, vector<string> &units) in GetRestPreferredUnit()
441 void GetPreferredUnit(const string &region, const string &usage, vector<string> &units) in GetPreferredUnit()
Dlocale_util.cpp67 uint16_t LocaleUtil::EncodeRegion(const char *region) in EncodeRegion()
78 uint64_t LocaleUtil::EncodeLocale(const char *language, const char *script, const char *region) in EncodeLocale()
Dtaboo_utils.cpp30 std::string TabooUtils::ReplaceCountryName(const std::string& region, const std::string& displayLan… in ReplaceCountryName()
Dlocale_compare.cpp226 std::string region = key.substr(languageLength + 1); in HasMapRelation() local
240 std::string region = key.substr(languageLength + 1); in HasMapRelation() local
Dentity_recognizer.cpp23 std::string region = locale.getCountry(); in EntityRecognizer() local
/base/global/resource_management/frameworks/resmgr/include/
Dhap_parser.h225 std::string region; member
236 const char *region = nullptr; member
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dglobal.cpp72 std::string region; in GLOBAL_ConfigLanguage() local
105 int32_t GLOBAL_GetRegion(char *region, uint8_t len) in GLOBAL_GetRegion()
Dres_locale.cpp63 RState ResLocale::SetRegion(const char *region, size_t len) in SetRegion()
112 const char *region, size_t regionLen) in Init()
272 const char *region, in BuildFromParts()
381 LocaleInfo *BuildFromParts(const char *language, const char *script, const char *region, RState &rS… in BuildFromParts()
/base/global/resource_management/frameworks/resmgr/src/
Dres_locale.cpp67 RState ResLocale::SetRegion(const char *region, size_t len) in SetRegion()
116 const char *region, size_t regionLen) in Init()
276 ResLocale *ResLocale::BuildFromParts(const char *language, const char *script, const char *region, … in BuildFromParts()
387 Locale *BuildFromParts(const char *language, const char *script, const char *region, RState &rState) in BuildFromParts()
Dres_config_impl.cpp67 const char *region = preferredLocaleInfo.getCountry(); in SetPreferredLocaleInfo() local
88 const char *region, ResLocale **resLocale) in BuildResLocale()
132 const char *region) in SetLocaleInfo()
/base/global/i18n/frameworks/intl/test/unittest/
Dlocale_config_test.cpp353 string region = "CN"; variable
370 string region = "CN"; variable
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/
Dutils.cpp112 const char *region) in EncodeLocale()
146 uint16_t Utils::EncodeRegion(const char *region) in EncodeRegion()
/base/hiviewdfx/hiview/base/include/
Dhiview_logger.h31 #define DEFINE_LOG_LABEL(region, name) \ argument
/base/global/i18n/frameworks/zone/src/
Dzone_util.cpp235 CountryResult ZoneUtil::LookupTimezoneByCountryAndNITZ(std::string &region, NITZData &nitzData) in LookupTimezoneByCountryAndNITZ()
278 CountryResult ZoneUtil::LookupTimezoneByCountry(std::string &region, int64_t currentMillis) in LookupTimezoneByCountry()
322 void ZoneUtil::GetCountryZones(std::string &region, std::string &defaultTimzone, bool &isBoosted, in GetCountryZones()
417 void ZoneUtil::GetICUCountryZones(std::string &region, std::vector<std::string> &zones, std::string… in GetICUCountryZones()
/base/global/i18n/frameworks/intl/include/
Dlocale_info.h55 std::string region; variable
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
Dtest_common.cpp69 ResConfig *CreateResConfig(const char *language, const char *script, const char *region) in CreateResConfig()
Dglobal_test.cpp86 char region[10]; variable
/base/global/i18n/frameworks/zone/test/unittest/
Dzone_util_test.cpp208 std::string region = "CN"; variable
273 std::string region = "AQ"; variable
/base/global/i18n/services/src/
Di18n_service_ability.cpp50 I18nErrorCode I18nServiceAbility::SetSystemRegion(const std::string &region) in SetSystemRegion()
Di18n_service_ability_client.cpp50 I18nErrorCode I18nServiceAbilityClient::SetSystemRegion(const std::string &region) in SetSystemRegion()
/base/global/i18n_lite/interfaces/kits/i18n/include/
Dlocale_info.h206 char *region = nullptr; variable
/base/telephony/core_service/utils/vcard/src/contact_data/
Dvcard_postal_data.cpp121 void VCardPostalData::SetRegion(const std::string &region) in SetRegion()
/base/global/resource_management/frameworks/resmgr/src/utils/
Dutils.cpp218 const char *region) in EncodeLocale()
253 uint16_t Utils::EncodeRegion(const char *region) in EncodeRegion()

123