Searched refs:xmlPath (Results 1 – 3 of 3) sorted by relevance
710 bool I18nTimeZone::ReadTimeZoneData(const char *xmlPath) in ReadTimeZoneData() argument713 if (xmlPath == nullptr) { in ReadTimeZoneData()716 xmlDocPtr doc = xmlParseFile(xmlPath); in ReadTimeZoneData()817 std::string xmlPath; in FindCityDisplayNameFromXml() local819 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 …]
878 std::string xmlPath = LANG_PATH + finalLocale + ".xml"; in GetDsiplayLanguageWithDialect() local880 ReadLangData(xmlPath.c_str()); in GetDsiplayLanguageWithDialect()915 std::string xmlPath = REGION_PATH + displayLocale + ".xml"; in GetDisplayOverrideRegion() local917 ReadRegionData(xmlPath.c_str()); in GetDisplayOverrideRegion()
82 static bool ReadTimeZoneData(const char *xmlPath);