Home
last modified time | relevance | path

Searched refs:xml (Results 1 - 8 of 8) sorted by relevance

/commonlibrary/ets_utils/js_api_module/xml/test/
H A Dtest_xml.h21 namespace OHOS::xml { namespace in OHOS
35 static TagEnum DealExclamationGroup(napi_env env, std::string xml);
50 static bool ParseStartTagFuncDeal(napi_env env, std::string xml, bool relax);
81 OHOS::xml::XmlSerializer xmlSerializer(reinterpret_cast<char*>(pBuffer), size, "utf-8"); in construct()
100 xmlSerializer.SetNamespace("xml", "convert"); in SetNamespace()
128 std::string strXml = "<?xml version=\"1.0\" encoding=\"utf-8\"?> <title>Happy</title> <todo>Work</todo>"; in PushSrcLinkList()
129 OHOS::xml::XmlPullParser xmlPullParser(env, strXml, "utf-8"); in PushSrcLinkList()
135 std::string strXml = "<?xml version=\"1.0\" encoding=\"utf-8\"?><todo>Work</todo>"; in GetNSCount()
136 OHOS::xml::XmlPullParser xmlPullParser(env, strXml, "utf-8"); in GetNSCount()
144 std::string strXml = "<?xml versio in XmlPullParserError()
150 DealExclamationGroup(napi_env env, std::string xml) DealExclamationGroup() argument
335 std::string xml = "W"; ParseTagValue() local
345 std::string xml = "Work"; GetNamespace() local
361 std::string xml = "Work"; ParseNspFunc() local
382 std::string xml = "Work"; ParseNspFunction() local
402 std::string xml = "Work"; ParseNsp() local
412 ParseStartTagFuncDeal(napi_env env, std::string xml, bool relax) ParseStartTagFuncDeal() argument
[all...]
H A Dtest_xml.cpp27 using namespace OHOS::xml;
149 OHOS::xml::XmlSerializer xmlSerializer(reinterpret_cast<char*>(pBuffer), size, "utf-8"); in HWTEST_F()
166 OHOS::xml::XmlSerializer xmlSerializer(reinterpret_cast<char*>(pBuffer), size, "utf-8"); in HWTEST_F()
185 OHOS::xml::XmlSerializer xmlSerializer(reinterpret_cast<char*>(pBuffer), size, "utf-8"); in HWTEST_F()
204 OHOS::xml::XmlSerializer xmlSerializer(reinterpret_cast<char*>(pBuffer), size, "utf-8"); in HWTEST_F()
225 OHOS::xml::XmlSerializer xmlSerializer(reinterpret_cast<char*>(pBuffer), size, "utf-8"); in HWTEST_F()
246 OHOS::xml::XmlSerializer xmlSerializer(reinterpret_cast<char*>(pBuffer), size, "utf-8"); in HWTEST_F()
264 OHOS::xml::XmlSerializer xmlSerializer(reinterpret_cast<char*>(pBuffer), size, "utf-8"); in HWTEST_F()
283 OHOS::xml::XmlSerializer xmlSerializer(reinterpret_cast<char*>(pBuffer), size, "utf-8"); in HWTEST_F()
304 OHOS::xml in HWTEST_F()
2321 std::string xml = "<?xml version=\\"1.0\\" encoding=\\"utf-8\\" standalone=\\"no\\"?><todo>Work</todo>"; HWTEST_F() local
2956 std::string xml = "<?xml version=\\"1.0\\" encoding=\\"utf-8\\" standalone=\\"no\\"?><todo>Work</todo>"; HWTEST_F() local
2968 std::string xml = "<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>"; HWTEST_F() local
3186 std::string xml = "<?xml version=\\"1.0\\" encoding=\\"utf-8\\" standalone=\\"no\\"?><todo>Work</todo>"; HWTEST_F() local
3201 std::string xml = "<?xml version=\\"1.0\\" encoding=\\"utf-8\\" standalone=\\"no\\"?><todo>Work</todo>"; HWTEST_F() local
[all...]
/commonlibrary/rust/ylong_http/ylong_http/src/
H A Dheaders.rs297 /// value.append_bytes(b"application/xml").unwrap();
299 /// assert_eq!(value.to_string().unwrap(), "text/html, application/xml");
364 /// value.append_bytes(b"application/xml").unwrap();
366 /// assert_eq!(value.to_string().unwrap(), "text/html, application/xml");
388 /// value.append_bytes(b"application/xml").unwrap();
390 /// assert_eq!(value.to_string().unwrap(), "text/html, application/xml");
423 /// value.append_bytes(b"application/xml").unwrap();
441 /// value.append_bytes(b"application/xml").unwrap(); in iter()
526 /// value.append_bytes(b"application/xml").unwrap();
546 /// value.append_bytes(b"application/xml")
[all...]
/commonlibrary/ets_utils/js_api_module/xml/
H A Dnative_module_xml.h21 namespace OHOS::xml { namespace in OHOS
H A Djs_xml.h29 namespace OHOS::xml { namespace in OHOS
37 * DataView memory used to receive the written xml information.
290 const std::string XML = "xml ";
H A Djs_xml.cpp18 namespace OHOS::xml { namespace in OHOS
92 out_.append("<?xml version=\"1.0\""); in SetDeclaration()
1182 xmlPullParserError_ = "processing instructions must not start with xml"; in ParseDeclaration()
H A Dnative_module_xml.cpp24 namespace OHOS::xml { namespace in OHOS
491 .nm_modname = "xml",
/commonlibrary/ets_utils/js_api_module/convertxml/test/
H A Dtest_convertxml.cpp89 * @tc.desc: Convert the xml object containing only declaration items to a js object.
99 OHOS::xml::XmlSerializer xmlSerializer(reinterpret_cast<char*>(pBuffer), size, "utf-8"); in HWTEST_F()
127 * @tc.desc: Convert the xml object containing an empty element to a js object.
137 OHOS::xml::XmlSerializer xmlSerializer(reinterpret_cast<char*>(pBuffer), size, "utf-8"); in HWTEST_F()
164 * @tc.desc: Convert the xml object containing attributes to a js object.
174 OHOS::xml::XmlSerializer xmlSerializer(reinterpret_cast<char*>(pBuffer), size, "utf-8"); in HWTEST_F()
205 * @tc.desc: Convert the xml object containing comment to a js object.
215 OHOS::xml::XmlSerializer xmlSerializer(reinterpret_cast<char*>(pBuffer), size, "utf-8"); in HWTEST_F()
243 * @tc.desc: Convert the xml object containing cdata to a js object.
253 OHOS::xml in HWTEST_F()
[all...]

Completed in 11 milliseconds