Searched refs:xxd (Results 1 – 1 of 1) sorted by relevance
/build/make/tools/aconfig/printflags/src/ |
D | main.rs | 43 fn xxd(bytes: &[u8]) -> String { in xxd() function 93 format!("failed to parse {} ({}, {} byte(s))", path, xxd(&bytes), bytes.len()) in main() 144 assert_eq!("[]", &xxd(&input[0..0])); in test_xxd() 145 assert_eq!("[00]", &xxd(&input[0..1])); in test_xxd() 146 assert_eq!("[00 01]", &xxd(&input[0..2])); in test_xxd() 147 assert_eq!("[00 01 02 03 04 05 06]", &xxd(&input[0..7])); in test_xxd() 148 assert_eq!("[00 01 02 03 04 05 06 07]", &xxd(&input[0..8])); in test_xxd() 149 assert_eq!("[00 01 02 03 04 05 06 07 ..]", &xxd(&input[0..9])); in test_xxd() 150 assert_eq!("[00 01 02 03 04 05 06 07 ..]", &xxd(&input)); in test_xxd()
|