Searched refs:XmlEncode (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/ |
D | omaha_request_action.h | 52 bool XmlEncode(const std::string& input, std::string* output);
|
D | omaha_request_action_unittest.cc | 1342 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("<&>", &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()
|
D | omaha_request_action.cc | 197 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()
|