Home
last modified time | relevance | path

Searched refs:xmlPath (Results 1 – 3 of 3) sorted by relevance

/base/global/i18n/frameworks/intl/src/
Di18n_timezone.cpp710 bool I18nTimeZone::ReadTimeZoneData(const char *xmlPath) in ReadTimeZoneData() argument
713 if (xmlPath == nullptr) { in ReadTimeZoneData()
716 xmlDocPtr doc = xmlParseFile(xmlPath); in ReadTimeZoneData()
817 std::string xmlPath; in FindCityDisplayNameFromXml() local
819 xmlPath = DEVICE_CITY_DISPLAYNAME_PATH + locale + ".xml"; in FindCityDisplayNameFromXml()
821 xmlPath = CITY_DISPLAYNAME_PATH + locale + ".xml"; in FindCityDisplayNameFromXml()
823 xmlDocPtr doc = xmlParseFile(xmlPath.c_str()); in FindCityDisplayNameFromXml()
825 HiLog::Error(LABEL, "can't parse city displayname file %{public}s", xmlPath.c_str()); in FindCityDisplayNameFromXml()
831 … HiLog::Error(LABEL, "city displayname file %{public}s has wrong root tag.", xmlPath.c_str()); in FindCityDisplayNameFromXml()
869 std::string xmlPath; in FindCityDisplayNameMap() local
[all …]
Dlocale_config.cpp878 std::string xmlPath = LANG_PATH + finalLocale + ".xml"; in GetDsiplayLanguageWithDialect() local
880 ReadLangData(xmlPath.c_str()); in GetDsiplayLanguageWithDialect()
915 std::string xmlPath = REGION_PATH + displayLocale + ".xml"; in GetDisplayOverrideRegion() local
917 ReadRegionData(xmlPath.c_str()); in GetDisplayOverrideRegion()
/base/global/i18n/frameworks/intl/include/
Di18n_timezone.h82 static bool ReadTimeZoneData(const char *xmlPath);