Home
last modified time | relevance | path

Searched refs:aiow (Results 1 – 2 of 2) sorted by relevance

/third_party/rust/crates/nix/test/sys/
Dtest_aio.rs331 let mut aiow = Box::pin(AioWrite::new( in cancel() localVariable
338 aiow.as_mut().submit().unwrap(); in cancel()
339 let err = aiow.as_mut().error(); in cancel()
342 aiow.as_mut().cancel().unwrap(); in cancel()
345 let _ = poll_aio!(&mut aiow); in cancel()
346 let _ = aiow.as_mut().aio_return(); in cancel()
361 let mut aiow = Box::pin(AioWrite::new( in ok() localVariable
368 aiow.as_mut().submit().unwrap(); in ok()
370 let err = poll_aio!(&mut aiow); in ok()
372 assert_eq!(aiow.as_mut().aio_return().unwrap(), wbuf.len()); in ok()
[all …]
/third_party/rust/crates/nix/src/sys/
Daio.rs1213 let aiow = AioWrite::new(666, 0, &wbuf, 0, sev); in casting() localVariable
1215 aiow.as_ref() as *const libc::aiocb, in casting()
1216 &aiow as *const AioWrite as *const libc::aiocb in casting()