Home
last modified time | relevance | path

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

/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/src/
H A Dphone_number_rule.cpp39 xmlPath = "/system/usr/ohos_locale_config/phonenumber/" + country + ".xml"; in PhoneNumberRule()
42 isFixed = std::filesystem::exists(xmlPath); in PhoneNumberRule()
91 InitRule(xmlPath); in Init()
97 void PhoneNumberRule::InitRule(std::string& xmlPath) in InitRule() argument
99 if (!CheckTzDataFilePath(xmlPath)) { in InitRule()
103 xmlDocPtr doc = xmlParseFile(xmlPath.c_str()); in InitRule()
/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Di18n_timezone.cpp749 bool I18nTimeZone::ReadTimeZoneData(const char *xmlPath) in ReadTimeZoneData() argument
752 if (xmlPath == nullptr) { in ReadTimeZoneData()
755 xmlDocPtr doc = xmlParseFile(xmlPath); in ReadTimeZoneData()
847 std::string xmlPath = GetCityDisplayNameXmlPath(locale); in FindCityDisplayNameFromXml() local
848 xmlDocPtr doc = xmlParseFile(xmlPath.c_str()); in FindCityDisplayNameFromXml()
910 std::string xmlPath = GetCityDisplayNameXmlPath(locale); in FindCityDisplayNameMap() local
911 xmlDocPtr doc = xmlParseFile(xmlPath.c_str()); in FindCityDisplayNameMap()
962 std::string xmlPath = dirEntry.path(); in GetSupportedLocales() local
963 if (stat(xmlPath.c_str(), &s) != 0) { in GetSupportedLocales()
964 HILOG_ERROR_I18N("city displayname file %{public}s not exist.", xmlPath.c_str()); in GetSupportedLocales()
[all …]
H A Dlocale_config.cpp865 std::string xmlPath = LANG_PATH + finalLocale + ".xml"; in GetDisplayLanguageWithDialect() local
867 ReadLangData(xmlPath.c_str()); in GetDisplayLanguageWithDialect()
902 std::string xmlPath = REGION_PATH + displayLocale + ".xml"; in GetDisplayOverrideRegion() local
904 ReadRegionData(xmlPath.c_str()); in GetDisplayOverrideRegion()
/ohos5.0/drivers/peripheral/thermal/interfaces/hdi_service/src/
H A Dthermal_hdf_config.cpp193 xmlChar* xmlPath = xmlGetProp(node, BAD_CAST"path"); in ParsePollingSubNode() local
194 if (xmlPath != nullptr) { in ParsePollingSubNode()
195 tn.path = std::string(reinterpret_cast<char*>(xmlPath)); in ParsePollingSubNode()
196 xmlFree(xmlPath); in ParsePollingSubNode()
313 xmlChar* xmlPath = xmlGetProp(node, BAD_CAST"path"); in ParseIsolateSubNode() local
314 if (xmlPath != nullptr) { in ParseIsolateSubNode()
315 tn.path = std::string(reinterpret_cast<char*>(xmlPath)); in ParseIsolateSubNode()
317 xmlFree(xmlPath); in ParseIsolateSubNode()
/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/
H A Ddate_time_rule.cpp52 std::string xmlPath = "/system/usr/ohos_locale_config/datetime/" + locale + ".xml"; in Init() local
53 if (!CheckTzDataFilePath(xmlPath)) { in Init()
58 xmlPath = "/system/usr/ohos_locale_config/datetime/" + this->locale + ".xml"; in Init()
59 InitRules(xmlPath); in Init()
91 void DateTimeRule::InitRules(std::string& xmlPath) in InitRules() argument
93 if (!CheckTzDataFilePath(xmlPath)) { in InitRules()
97 xmlDocPtr doc = xmlParseFile(xmlPath.c_str()); in InitRules()
/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/include/
H A Dphone_number_rule.h49 void InitRule(std::string& xmlPath);
63 std::string xmlPath; variable
/ohos5.0/foundation/communication/wifi/wifi/base/utils/
H A Dwifi_app_parser.cpp133 std::string xmlPath(appXmlFilePath); in InitAppParser() local
134 std::filesystem::path pathName = xmlPath; in InitAppParser()
372 std::string xmlPath(appXmlVersionFilePath); in GetLocalFileVersion() local
373 std::filesystem::path pathName = xmlPath; in GetLocalFileVersion()
375 if (!std::filesystem::exists(xmlPath, code)) { in GetLocalFileVersion()
H A Dxml_parser.cpp38 bool XmlParser::LoadConfiguration(const char *xmlPath) in LoadConfiguration() argument
40 mDoc_ = xmlReadFile(xmlPath, nullptr, XML_PARSE_NOBLANKS); in LoadConfiguration()
H A Dxml_parser.h49 bool LoadConfiguration(const char *xmlPath);
/ohos5.0/foundation/multimedia/player_framework/services/utils/
H A Dxml_parse.cpp33 bool XmlParser::LoadConfiguration(const char *xmlPath) in LoadConfiguration() argument
35 mDoc_ = xmlReadFile(xmlPath, nullptr, 0); in LoadConfiguration()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_test/src/
H A Dmedialibrary_backup_test.cpp1183 string xmlPath = "/data/test/backup/test1.xml"; variable
1184 auto res = upgrade->ParseXml(xmlPath);
1194 string xmlPath = "/data/test/backup/test2.xml"; variable
1195 auto res = upgrade->ParseXml(xmlPath);
1206 auto res = upgrade->ParseXml(xmlPath);
1217 auto res = upgrade->ParseXml(xmlPath);
1227 string xmlPath = ""; variable
1228 auto res = upgrade->StringToInt(xmlPath);
1238 string xmlPath = " 22e"; variable
1239 auto res = upgrade->StringToInt(xmlPath);
[all …]
/ohos5.0/foundation/multimedia/player_framework/services/utils/include/
H A Dxml_parse.h32 virtual bool LoadConfiguration(const char *xmlPath) final;
/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/include/
H A Ddate_time_rule.h56 void InitRules(std::string& xmlPath);
/ohos5.0/base/global/i18n/frameworks/intl/include/
H A Di18n_timezone.h92 static bool ReadTimeZoneData(const char *xmlPath);
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/
H A Dupgrade_restore.h71 int32_t InitDbAndXml(std::string xmlPath, bool isUpgrade);
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dupgrade_restore.cpp121 int32_t UpgradeRestore::InitDbAndXml(std::string xmlPath, bool isUpgrade) in InitDbAndXml() argument
147 ParseXml(xmlPath); in InitDbAndXml()