Lines Matching refs:v
811 Ok(v) => v, in download()
915 FastbootUtils::new(self.download_buffer, &mut self.total_download_size, info.map(|v| v)) in utils()
982 args.next().filter(|v| *v != "").ok_or("").or(default.map_err(|e| e.into())) in next_arg()
1000 Ok(v) => hex_to_u64(v), in next_arg_u64()
1042 Some(v) => { in get_var()
1043 out[..v.len()].clone_from_slice(v.as_bytes()); in get_var()
1044 Ok(v.len()) in get_var()
1113 Some(v) => { in receive_packet()
1114 let size = core::cmp::min(out.len(), v.len()); in receive_packet()
1115 out[..size].clone_from_slice(&v[..size]); in receive_packet()
1117 Ok(v.len()) in receive_packet()
1138 data.iter().for_each(|v| self.in_queue.push_back(*v)); in add_input()
1157 data.iter().for_each(|v| self.out_queue.push_back(*v)); in write_exact()
1266 (0..download_buffer.len()).into_iter().map(|v| v as u8).collect(); in test_download()
1352 let download_content: Vec<u8> = (0..1024).into_iter().map(|v| v as u8).collect(); in test_oem_cmd()
1386 let download_content: Vec<u8> = (0..1024).into_iter().map(|v| v as u8).collect(); in test_flash()
1423 let download_content: Vec<u8> = (0..1024).into_iter().map(|v| v as u8).collect(); in test_upload()
1541 assert!(transport.out_queue.iter().all(|v| v.starts_with(b"FAIL"))); in test_fetch_invalid_args()
1549 (0..download_buffer.len()).into_iter().map(|v| v as u8).collect(); in test_fastboot_tcp()