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.cc1114 EXPECT_TRUE(XmlEncode("ab", &output)); in TEST_F()
1116 EXPECT_TRUE(XmlEncode("a<b", &output)); in TEST_F()
1118 EXPECT_TRUE(XmlEncode("<&>\"\'\\", &output)); in TEST_F()
1120 EXPECT_TRUE(XmlEncode("&lt;&amp;&gt;", &output)); in TEST_F()
1123 EXPECT_FALSE(XmlEncode("\xc2", &output)); in TEST_F()
1125 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()
478 bool XmlEncode(const string& input, string* output) { in XmlEncode() function
515 if (XmlEncode(input, &output)) in XmlEncodeWithDefault()