Home
last modified time | relevance | path

Searched refs:XmlEncode (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/
Domaha_request_action.h52 bool XmlEncode(const std::string& input, std::string* output);
Domaha_request_action_unittest.cc1342 EXPECT_TRUE(XmlEncode("ab", &output)); in TEST_F()
1344 EXPECT_TRUE(XmlEncode("a<b", &output)); in TEST_F()
1346 EXPECT_TRUE(XmlEncode("<&>\"\'\\", &output)); in TEST_F()
1348 EXPECT_TRUE(XmlEncode("&lt;&amp;&gt;", &output)); in TEST_F()
1351 EXPECT_FALSE(XmlEncode("\xc2", &output)); in TEST_F()
1353 EXPECT_FALSE(XmlEncode("This is an 'n' with a tilde: \xc3\xb1", &output)); in TEST_F()
Domaha_request_action.cc197 if (!XmlEncode(cohort_value, &escaped_xml_value)) { in GetCohortArgXml()
527 bool XmlEncode(const string& input, string* output) { in XmlEncode() function
564 if (XmlEncode(input, &output)) in XmlEncodeWithDefault()