/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/src/ |
H A D | phone_number_rule.cpp | 39 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 D | i18n_timezone.cpp | 749 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 D | locale_config.cpp | 865 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 D | thermal_hdf_config.cpp | 193 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 D | date_time_rule.cpp | 52 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 D | phone_number_rule.h | 49 void InitRule(std::string& xmlPath); 63 std::string xmlPath; variable
|
/ohos5.0/foundation/communication/wifi/wifi/base/utils/ |
H A D | wifi_app_parser.cpp | 133 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 D | xml_parser.cpp | 38 bool XmlParser::LoadConfiguration(const char *xmlPath) in LoadConfiguration() argument 40 mDoc_ = xmlReadFile(xmlPath, nullptr, XML_PARSE_NOBLANKS); in LoadConfiguration()
|
H A D | xml_parser.h | 49 bool LoadConfiguration(const char *xmlPath);
|
/ohos5.0/foundation/multimedia/player_framework/services/utils/ |
H A D | xml_parse.cpp | 33 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 D | medialibrary_backup_test.cpp | 1183 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 D | xml_parse.h | 32 virtual bool LoadConfiguration(const char *xmlPath) final;
|
/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/include/ |
H A D | date_time_rule.h | 56 void InitRules(std::string& xmlPath);
|
/ohos5.0/base/global/i18n/frameworks/intl/include/ |
H A D | i18n_timezone.h | 92 static bool ReadTimeZoneData(const char *xmlPath);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/ |
H A D | upgrade_restore.h | 71 int32_t InitDbAndXml(std::string xmlPath, bool isUpgrade);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | upgrade_restore.cpp | 121 int32_t UpgradeRestore::InitDbAndXml(std::string xmlPath, bool isUpgrade) in InitDbAndXml() argument 147 ParseXml(xmlPath); in InitDbAndXml()
|