Searched refs:quote_escape_bytes (Results 1 – 4 of 4) sorted by relevance
82 pub fn quote_escape_bytes(bytes: &[u8]) -> String { in quote_escape_bytes() function112 assert_eq!("b\"\"", quote_escape_bytes(b"")); in test_quote_escape_bytes()113 assert_eq!("b\"xyZW\"", quote_escape_bytes(b"xyZW")); in test_quote_escape_bytes()114 assert_eq!("b\"aa\\\"bb\"", quote_escape_bytes(b"aa\"bb")); in test_quote_escape_bytes()115 assert_eq!("b\"aa\\r\\n\\tbb\"", quote_escape_bytes(b"aa\r\n\tbb")); in test_quote_escape_bytes()118 quote_escape_bytes(b"\x00\x01\x12\xfe\xff") in test_quote_escape_bytes()
29 pub fn quote_escape_bytes(bytes: &[u8]) -> String { in quote_escape_bytes() function
41 pub use self::print::quote_escape_bytes;
762 rust::quote_escape_bytes(&text_format::unescape_string(proto_default)) in default_value_from_proto()