Searched refs:xmlPath (Results 1 – 3 of 3) sorted by relevance
719 bool I18nTimeZone::ReadTimeZoneData(const char *xmlPath) in ReadTimeZoneData() argument722 if (xmlPath == nullptr) { in ReadTimeZoneData()725 xmlDocPtr doc = xmlParseFile(xmlPath); in ReadTimeZoneData()826 std::string xmlPath; in FindCityDisplayNameFromXml() local828 xmlPath = DEVICE_CITY_DISPLAYNAME_PATH + locale + ".xml"; in FindCityDisplayNameFromXml()830 xmlPath = CITY_DISPLAYNAME_PATH + locale + ".xml"; in FindCityDisplayNameFromXml()832 xmlDocPtr doc = xmlParseFile(xmlPath.c_str()); in FindCityDisplayNameFromXml()834 HiLog::Error(LABEL, "can't parse city displayname file %{public}s", xmlPath.c_str()); in FindCityDisplayNameFromXml()840 … HiLog::Error(LABEL, "city displayname file %{public}s has wrong root tag.", xmlPath.c_str()); in FindCityDisplayNameFromXml()878 std::string xmlPath; in FindCityDisplayNameMap() local[all …]
880 std::string xmlPath = LANG_PATH + finalLocale + ".xml"; in GetDsiplayLanguageWithDialect() local882 ReadLangData(xmlPath.c_str()); in GetDsiplayLanguageWithDialect()917 std::string xmlPath = REGION_PATH + displayLocale + ".xml"; in GetDisplayOverrideRegion() local919 ReadRegionData(xmlPath.c_str()); in GetDisplayOverrideRegion()
83 static bool ReadTimeZoneData(const char *xmlPath);