Lines Matching defs:res
274 let mut res: String = String::new();
276 tmp2.read_to_string(&mut res).unwrap();
278 assert_eq!(res, String::from("bar"));
290 let res = splice(
300 assert_eq!(2, res);
317 let res = tee(rd1, wr2, 2, SpliceFFlags::empty()).unwrap();
319 assert_eq!(2, res);
345 let res = vmsplice(wr, &iovecs[..], SpliceFFlags::empty()).unwrap();
347 assert_eq!(6, res);
502 let res = posix_fadvise(
508 assert_eq!(res, Err(Errno::ESPIPE));
537 let res = posix_fallocate(fd, 0, LEN as libc::off_t);
538 match res {
552 _ => res.unwrap(),