Searched refs:download_content (Results 1 – 1 of 1) sorted by relevance
1265 let download_content: Vec<u8> = in test_download() localVariable1270 let (first, second) = download_content.as_slice().split_at(download_content.len() / 2); in test_download()1271 transport.add_input(format!("download:{:#x}", download_content.len()).as_bytes()); in test_download()1279 assert_eq!(download_buffer, download_content); in test_download()1329 let download_content: Vec<u8> = vec![0u8; download_buffer.len()]; in test_download_more_than_expected() localVariable1332 transport.add_input(format!("download:{:#x}", download_content.len() - 1).as_bytes()); in test_download_more_than_expected()1333 transport.add_input(&download_content[..]); in test_download_more_than_expected()1352 let download_content: Vec<u8> = (0..1024).into_iter().map(|v| v as u8).collect(); in test_oem_cmd() localVariable1355 transport.add_input(format!("download:{:#x}", download_content.len()).as_bytes()); in test_oem_cmd()1356 transport.add_input(&download_content[..]); in test_oem_cmd()[all …]