OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:aio_return
(Results
1 - 25
of
68
) 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
;
/external/valgrind/memcheck/tests/darwin/
aio.c
36
// assert(
aio_return
(&a) < 0); // (aiocbp hasn't been inited)
56
if (buf[0] == buf[9]) x++; // undefined --
aio_return
() not called yet
58
assert(
aio_return
(&a) > 0 ); // XXX: (undefined value error here)
62
assert(
aio_return
(&a) < 0 ); // (repeated
aio_return
(); fails because
81
assert(
aio_return
(&a) > 0 );
83
assert(
aio_return
(&a) < 0 ); // (repeated
aio_return
(); fails because
/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);
/frameworks/av/media/mtp/
PosixAsyncIO.h
55
ssize_t
aio_return
(struct aiocb *);
PosixAsyncIO.cpp
60
ssize_t
aio_return
(struct aiocb *aiocbp) {
function
/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
34
#define TNAME "
aio_return
/2-1.c"
77
retval =
aio_return
(&aiocb);
83
printf(TNAME "
aio_return
didn't return expected size: "
88
retval =
aio_return
(&aiocb);
92
printf(TNAME " Second call to
aio_return
() may "
93
"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)
39
#define TNAME "
aio_return
/3-1.c"
82
retval =
aio_return
(&aiocb);
86
printf(TNAME " Error at
aio_return
(): %d, %s\n", retval,
108
retval =
aio_return
(&aiocb);
112
printf(TNAME " Error at
aio_return
(): %s\n",
119
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
37
#define TNAME "
aio_return
/3-2.c"
80
retval =
aio_return
(&aiocb);
90
printf(TNAME " Error at
aio_return
(): %d, %s\n", retval,
95
retval =
aio_return
(&aiocb);
99
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
36
#define TNAME "
aio_return
/4-1.c"
88
retval =
aio_return
(&aiocb2);
92
printf(TNAME "
aio_return
() have not failed\n");
96
retval =
aio_return
(&aiocb);
100
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)
36
#define TNAME "
aio_return
/1-1.c"
78
retval =
aio_return
(&aiocb);
82
printf(TNAME " Error at
aio_return
(): %s\n",
87
printf(TNAME "
aio_return
didn't return expected size: %d\n",
/external/ltp/android/include/
aio.h
43
ssize_t
aio_return
(struct aiocb *);
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/
aio.h
158
extern __ssize_t
aio_return
(struct aiocb *__aiocbp) __THROW __nonnull ((1));
192
extern __ssize_t __REDIRECT_NTH (
aio_return
, (struct aiocb *__aiocbp),
213
# define
aio_return
aio_return64
macro
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_fsync/
2-1.c
72
ret =
aio_return
(&aiocb_fsync);
74
printf(TNAME " Error at
aio_return
(): %d (%s)\n",
3-1.c
71
ret =
aio_return
(&aiocb_fsync);
73
printf(TNAME " Error at
aio_return
(): %d (%s)\n",
4-1.c
79
if (
aio_return
(&aiocb_fsync)) {
80
printf(TNAME " Error at
aio_return
()\n");
8-1.c
82
ret =
aio_return
(&aiocb_fsync);
84
printf(TNAME " Error at
aio_return
(): %d (%s)\n",
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_read/
11-1.c
79
int ret =
aio_return
(&aiocb);
3-1.c
12
* aiocbp may be be used as an argument to aio_error() and
aio_return
().
86
if (
aio_return
(&aiocb) != BUF_SIZE) {
87
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
().
88
if (
aio_return
(&aiocb) != BUF_SIZE / 2) {
89
printf(TNAME " Error at
aio_return
()\n");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_write/
5-1.c
78
ret =
aio_return
(&aiocb);
87
printf(TNAME " Error at
aio_return
()\n");
7-1.c
83
ret =
aio_return
(&aiocbs[i]);
9-1.c
76
int ret =
aio_return
(&aiocb);
9-2.c
76
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
178
ret =
aio_return
(aiocbs[WAIT_FOR_AIOCB]);
201
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
124
if (
aio_return
(aiocb[i]) == -1) {
129
printf(TNAME "
aio_return
is not -1\n");
Completed in 565 milliseconds
1
2
3