HomeSort by relevance Sort by last modified time
    Searched refs:aio_return (Results 1 - 25 of 60) sorted by null

1 2 3

  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/aio_h/
4-1.c 15 ssize_t(*dummy4) (struct aiocb *) = aio_return;
  /frameworks/av/media/mtp/tests/
PosixAsyncIO_test.cpp 63 EXPECT_EQ(aio_return(&aio), TEST_PACKET_SIZE);
79 EXPECT_EQ(aio_return(&aio), TEST_PACKET_SIZE);
96 EXPECT_EQ(aio_return(&aio), -1);
  /external/ltp/android/include/
aio.h 42 ssize_t aio_return(struct aiocb *);
  /frameworks/av/media/mtp/
PosixAsyncIO.h 61 ssize_t aio_return(struct aiocb *);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_return/
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
33 #define TNAME "aio_return/2-1.c"
76 retval = aio_return(&aiocb);
82 printf(TNAME " aio_return didn't return expected size: "
87 retval = aio_return(&aiocb);
91 printf(TNAME " Second call to aio_return() may "
92 "return -1; aio_return() returned %d\n", retval);
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)
38 #define TNAME "aio_return/3-1.c"
81 retval = aio_return(&aiocb);
85 printf(TNAME " Error at aio_return(): %d, %s\n", retval,
107 retval = aio_return(&aiocb);
111 printf(TNAME " Error at aio_return(): %s\n",
118 printf(TNAME " aio_return() didn't fail as expected: "
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
36 #define TNAME "aio_return/3-2.c"
79 retval = aio_return(&aiocb);
89 printf(TNAME " Error at aio_return(): %d, %s\n", retval,
94 retval = aio_return(&aiocb);
98 printf(TNAME " aio_return() may fail with (-1, %d); "
4-1.c 12 * aio_return() may fail with [EINVAL]
22 * - call aio_return with this last aiocb
35 #define TNAME "aio_return/4-1.c"
87 retval = aio_return(&aiocb2);
91 printf(TNAME "aio_return() have not failed\n");
95 retval = aio_return(&aiocb);
99 printf(TNAME " Error at aio_return(): %d, %s\n", retval,
1-1.c 12 * aio_return() shall return the status associated with aiocbp.
19 * - call aio_return to get the aiocb status (number of bytes written)
35 #define TNAME "aio_return/1-1.c"
77 retval = aio_return(&aiocb);
81 printf(TNAME " Error at aio_return(): %s\n",
86 printf(TNAME "aio_return didn't return expected size: %d\n",
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/
2-1.c 71 ret = aio_return(&aiocb_fsync);
73 printf(TNAME " Error at aio_return(): %d (%s)\n",
3-1.c 70 ret = aio_return(&aiocb_fsync);
72 printf(TNAME " Error at aio_return(): %d (%s)\n",
4-1.c 78 if (aio_return(&aiocb_fsync)) {
79 printf(TNAME " Error at aio_return()\n");
8-1.c 81 ret = aio_return(&aiocb_fsync);
83 printf(TNAME " Error at aio_return(): %d (%s)\n",
8-2.c 81 ret = aio_return(&aiocb_fsync);
83 printf(TNAME " Error at aio_return(): %d (%s)\n",
8-3.c 81 ret = aio_return(&aiocb_fsync);
83 printf(TNAME " Error at aio_return(): %d (%s)\n",
8-4.c 81 ret = aio_return(&aiocb_fsync);
83 printf(TNAME " Error at aio_return(): %d (%s)\n",
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_read/
11-1.c 78 int ret = aio_return(&aiocb);
3-1.c 12 * aiocbp may be be used as an argument to aio_error() and aio_return().
85 if (aio_return(&aiocb) != BUF_SIZE) {
86 printf(TNAME " Error at aio_return()\n");
3-2.c 12 * aiocbp may be be used as an argument to aio_error() and aio_return().
87 if (aio_return(&aiocb) != BUF_SIZE / 2) {
88 printf(TNAME " Error at aio_return()\n");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_write/
5-1.c 77 ret = aio_return(&aiocb);
86 printf(TNAME " Error at aio_return()\n");
7-1.c 82 ret = aio_return(&aiocbs[i]);
9-1.c 75 int ret = aio_return(&aiocb);
9-2.c 75 int ret = aio_return(&aiocb);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
1-1.c 19 * using aio_error() and aio_return().
31 * aio_return
177 ret = aio_return(aiocbs[WAIT_FOR_AIOCB]);
200 ret = aio_return(aiocbs[i]);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/
4-1.c 20 * if aio_error() is ECANCELED and aio_return() is -1
22 * if aio_error() is ECANCELED and aio_return() is NOT -1
123 if (aio_return(aiocb[i]) == -1) {
128 printf(TNAME " aio_return is not -1\n");

Completed in 213 milliseconds

1 2 3