Searched refs:XmlEncode (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/ |
D | omaha_request_action.h | 56 bool XmlEncode(const std::string& input, std::string* output);
|
D | omaha_request_action.cc | 244 if (!XmlEncode(cohort_value, &escaped_xml_value)) { in GetCohortArgXml() 648 bool XmlEncode(const string& input, string* output) { in XmlEncode() function 686 if (XmlEncode(input, &output)) in XmlEncodeWithDefault()
|
D | omaha_request_action_unittest.cc | 1739 EXPECT_TRUE(XmlEncode("ab", &output)); in TEST_F() 1741 EXPECT_TRUE(XmlEncode("a<b", &output)); in TEST_F() 1743 EXPECT_TRUE(XmlEncode("<&>\"\'\\", &output)); in TEST_F() 1745 EXPECT_TRUE(XmlEncode("<&>", &output)); in TEST_F() 1748 EXPECT_FALSE(XmlEncode("\xc2", &output)); in TEST_F() 1750 EXPECT_FALSE(XmlEncode("This is an 'n' with a tilde: \xc3\xb1", &output)); in TEST_F()
|