Searched refs:escape_bytes (Results 1 – 3 of 3) sorted by relevance
384 escape_bytes(&self.test.input), in fmt()434 Err(_) => escape_bytes(bytes), in nice_raw_bytes()438 fn escape_bytes(bytes: &[u8]) -> String { in escape_bytes() function
926 Err(_) => escape_bytes(bytes), in escape_unicode()946 fn escape_bytes(bytes: &[u8]) -> String { in escape_bytes() function975 use super::{escape_bytes, Literal, Literals};989 .push(ULiteral { v: escape_bytes(&blit), cut: blit.is_cut() }); in escape_lits()1634 assert_eq!($expected, escape_bytes(got));1669 assert_eq!($expected, escape_bytes(got));
1002 fn escape_bytes(bytes: &[u8]) -> String { in fmt() function1023 let m = m.map(|(s, e)| escape_bytes(&self.0.text[s..e])); in fmt()