Lines Matching refs:to_bytes
90 fn to_bytes<T: CommandOpCode + Write>(command: &T) -> Vec<u8> { in to_bytes() method
140 fn to_bytes(&self) -> Vec<u8> in to_bytes() method
177 assert_eq!(c.to_bytes(), &dump[..]); in test_reset()
186 assert_eq!(e.to_bytes(), &dump[..]); in test_reset_complete()
214 assert_eq!(e.to_bytes(), &dump[..]); in test_le_read_buffer_size_v1_complete()
243 assert_eq!(e.to_bytes(), &dump[..]); in test_le_read_buffer_size_v2_complete()
308 assert_eq!(c.to_bytes(), &dump[..]); in test_le_set_cig_parameters()
328 assert_eq!(e.to_bytes(), &dump[..]); in test_le_set_cig_parameters_complete()
358 assert_eq!(c.to_bytes(), &dump[..]); in test_le_create_cis()
384 assert_eq!(c.to_bytes(), &dump[..]); in test_le_remove_cig()
394 assert_eq!(e.to_bytes(), &dump[..]); in test_le_remove_cig_complete()
443 assert_eq!(c.to_bytes(), &dump[..]); in test_le_create_big()
509 assert_eq!(c.to_bytes(), &dump[..]); in test_le_setup_iso_data_path()
519 assert_eq!(e.to_bytes(), &dump[..]); in test_le_setup_iso_data_path_complete()
541 assert_eq!(c.to_bytes(), &dump[..]); in test_le_remove_iso_data_path()