/third_party/rust/crates/nix/test/sys/ |
H A D | test_aio.rs | 106 aiof.as_mut().aio_return().unwrap(); in ok() 154 let _ = aior.as_mut().aio_return(); in cancel() 201 assert_eq!(aior.as_mut().aio_return().unwrap(), EXPECT.len()); in ok() 224 assert_eq!(aior.as_mut().aio_return().unwrap(), EXPECT.len()); in on_stack() 288 aior.as_mut().aio_return().unwrap(), in ok() 346 let _ = aiow.as_mut().aio_return(); in cancel() 372 assert_eq!(aiow.as_mut().aio_return().unwrap(), wbuf.len()); in ok() 403 assert_eq!(aiow.as_mut().aio_return().unwrap(), wbuf.len()); in on_stack() 488 assert_eq!(aiow.as_mut().aio_return().unwrap(), wlen); in ok() 539 assert_eq!(aiow.as_mut().aio_return() in sigev_signal() [all...] |
/third_party/rust/crates/nix/src/sys/ |
H A D | aio.rs | 123 fn aio_return(mut self: Pin<&mut Self>) -> Result<usize> { in aio_return() functions 127 Errno::result(libc::aio_return(p)) in aio_return() 214 /// The return type of [`Aio::aio_return`]. 225 /// [aio_return](https://pubs.opengroup.org/onlinepubs/9699919799/functions/aio_return.html) 226 fn aio_return(self: Pin<&mut Self>) -> Result<Self::Output>; in aio_return() functions 239 /// `aio_return` to free resources, even though we don't care about the 265 /// // Must call `aio_return`, but ignore the result 266 /// let _ = aiocb.as_mut().aio_return(); 303 /// assert_eq!(aiocb.as_mut().aio_return() 393 fn aio_return(self: Pin<&mut Self>) -> Result<<Self as Aio>::Output> { aio_return() functions 480 fn aio_return(self: Pin<&mut Self>) -> Result<()> { aio_return() functions [all...] |
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | aio.h | 45 ssize_t aio_return(struct aiocb *); 57 #define aio_return64 aio_return
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | aio.h | 45 ssize_t aio_return(struct aiocb *); 57 #define aio_return64 aio_return
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | aio.h | 45 ssize_t aio_return(struct aiocb *); 57 #define aio_return64 aio_return
|
/third_party/musl/include/ |
H A D | aio.h | 45 ssize_t aio_return(struct aiocb *); 57 #define aio_return64 aio_return
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/ |
H A D | 3-1.c | 13 * then aio_return may be successfully used to retrieve the return status. 20 * - call aio_return to get the aiocb status (number of bytes written) 23 * - call aio_return to get the aiocb status (number of bytes written) 40 #define TNAME "aio_return/3-1.c" 83 retval = aio_return(&aiocb); in main() 87 printf(TNAME " Error at aio_return(): %d, %s\n", retval, in main() 109 retval = aio_return(&aiocb); in main() 113 printf(TNAME " Error at aio_return(): %s\n", in main() 120 printf(TNAME " aio_return() didn't fail as expected: " in main()
|
H A D | 3-2.c | 13 * then aio_return may be successfully used to retrieve the return status. 20 * - call aio_return to get the aiocb status (number of bytes written) 21 * - call aio_return again, return status should be -1 38 #define TNAME "aio_return/3-2.c" 81 retval = aio_return(&aiocb); in main() 91 printf(TNAME " Error at aio_return(): %d, %s\n", retval, in main() 96 retval = aio_return(&aiocb); in main() 100 printf(TNAME " aio_return() may fail with (-1, %d); " in main()
|
H A D | 4-1.c | 12 * aio_return() may fail with [EINVAL] 22 * - call aio_return with this last aiocb 38 #define TNAME "aio_return/4-1.c" 90 retval = aio_return(&aiocb2); in main() 94 printf(TNAME "aio_return() have not failed\n"); in main() 98 retval = aio_return(&aiocb); in main() 102 printf(TNAME " Error at aio_return(): %d, %s\n", retval, in main()
|
H A D | 2-1.c | 12 * aio_return() may be called exactly once to retrieve the return status. 19 * - call aio_return to get the aiocb status (number of bytes written) 20 * - call aio_return again, return status should be -1 35 #define TNAME "aio_return/2-1.c" 78 retval = aio_return(&aiocb); in main() 84 printf(TNAME " aio_return didn't return expected size: " in main() 89 retval = aio_return(&aiocb); in main() 93 printf(TNAME " Second call to aio_return() may " in main() 94 "return -1; aio_return() returned %d\n", retval); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/ |
H A D | 1-1.c | 19 * using aio_error() and aio_return(). 31 * aio_return 177 ret = aio_return(aiocbs[WAIT_FOR_AIOCB]); in main() 200 ret = aio_return(aiocbs[i]); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/aio_h/ |
H A D | 4-1.c | 15 static ssize_t (*dummy4) (struct aiocb*) = aio_return;
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_write/ |
H A D | 5-1.c | 79 ret = aio_return(&aiocb); in main() 88 printf(TNAME " Error at aio_return()\n"); in main()
|
H A D | 3-1.c | 83 ret = aio_return(&aiocb); in main() 92 printf(TNAME " Error at aio_return()\n"); in main()
|
/third_party/musl/libc-test/src/api/ |
H A D | aio.c | 37 {ssize_t(*p)(struct aiocb*) = aio_return;} in f()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/ |
H A D | 4-1.c | 80 if (aio_return(&aiocb_fsync)) { in main() 81 printf(TNAME " Error at aio_return()\n"); in main()
|
H A D | 2-1.c | 73 ret = aio_return(&aiocb_fsync); in main() 75 printf(TNAME " Error at aio_return(): %d (%s)\n", in main()
|
H A D | 3-1.c | 72 ret = aio_return(&aiocb_fsync); in main() 74 printf(TNAME " Error at aio_return(): %d (%s)\n", in main()
|
H A D | 8-2.c | 83 ret = aio_return(&aiocb_fsync); in main() 85 printf(TNAME " Error at aio_return(): %d (%s)\n", in main()
|
H A D | 8-1.c | 83 ret = aio_return(&aiocb_fsync); in main() 85 printf(TNAME " Error at aio_return(): %d (%s)\n", in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_read/ |
H A D | 5-1.c | 91 ret = aio_return(&aiocb); in main() 100 printf(TNAME " Error at aio_return()\n"); in main()
|
H A D | 4-1.c | 90 ret = aio_return(&aiocb); in main() 99 printf(TNAME " Error at aio_return()\n"); in main()
|
H A D | 9-1.c | 88 ret = aio_return(&aiocbs[i]); in main()
|
H A D | 3-2.c | 12 * aiocbp may be be used as an argument to aio_error() and aio_return(). 89 if (aio_return(&aiocb) != BUF_SIZE / 2) { in main() 90 printf(TNAME " Error at aio_return()\n"); in main()
|
H A D | 3-1.c | 12 * aiocbp may be be used as an argument to aio_error() and aio_return(). 87 if (aio_return(&aiocb) != BUF_SIZE) { in main() 88 printf(TNAME " Error at aio_return()\n"); in main()
|