Home
last modified time | relevance | path

Searched refs:aio_return (Results 1 - 25 of 66) sorted by relevance

123

/third_party/rust/crates/nix/test/sys/
H A Dtest_aio.rs106 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 Daio.rs123 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 Daio.h45 ssize_t aio_return(struct aiocb *);
57 #define aio_return64 aio_return
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Daio.h45 ssize_t aio_return(struct aiocb *);
57 #define aio_return64 aio_return
/third_party/musl/porting/liteos_m/kernel/include/
H A Daio.h45 ssize_t aio_return(struct aiocb *);
57 #define aio_return64 aio_return
/third_party/musl/include/
H A Daio.h45 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 D3-1.c13 * 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 D3-2.c13 * 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 D4-1.c12 * 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 D2-1.c12 * 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 D1-1.c19 * 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 D4-1.c15 static ssize_t (*dummy4) (struct aiocb*) = aio_return;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_write/
H A D5-1.c79 ret = aio_return(&aiocb); in main()
88 printf(TNAME " Error at aio_return()\n"); in main()
H A D3-1.c83 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 Daio.c37 {ssize_t(*p)(struct aiocb*) = aio_return;} in f()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/
H A D4-1.c80 if (aio_return(&aiocb_fsync)) { in main()
81 printf(TNAME " Error at aio_return()\n"); in main()
H A D2-1.c73 ret = aio_return(&aiocb_fsync); in main()
75 printf(TNAME " Error at aio_return(): %d (%s)\n", in main()
H A D3-1.c72 ret = aio_return(&aiocb_fsync); in main()
74 printf(TNAME " Error at aio_return(): %d (%s)\n", in main()
H A D8-2.c83 ret = aio_return(&aiocb_fsync); in main()
85 printf(TNAME " Error at aio_return(): %d (%s)\n", in main()
H A D8-1.c83 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 D5-1.c91 ret = aio_return(&aiocb); in main()
100 printf(TNAME " Error at aio_return()\n"); in main()
H A D4-1.c90 ret = aio_return(&aiocb); in main()
99 printf(TNAME " Error at aio_return()\n"); in main()
H A D9-1.c88 ret = aio_return(&aiocbs[i]); in main()
H A D3-2.c12 * 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 D3-1.c12 * 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()

Completed in 8 milliseconds

123