/third_party/musl/porting/uniproton/kernel/include/ |
H A D | mqueue.h | 29 ssize_t mq_timedreceive(mqd_t, char *__restrict, size_t, unsigned *__restrict, const struct timespec *__restrict); 34 __REDIR(mq_timedreceive, __mq_timedreceive_time64);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | mqueue.h | 29 ssize_t mq_timedreceive(mqd_t, char *__restrict, size_t, unsigned *__restrict, const struct timespec *__restrict); 34 __REDIR(mq_timedreceive, __mq_timedreceive_time64);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | mqueue.h | 29 ssize_t mq_timedreceive(mqd_t, char *__restrict, size_t, unsigned *__restrict, const struct timespec *__restrict); 34 __REDIR(mq_timedreceive, __mq_timedreceive_time64);
|
/third_party/musl/include/ |
H A D | mqueue.h | 29 ssize_t mq_timedreceive(mqd_t, char *__restrict, size_t, unsigned *__restrict, const struct timespec *__restrict); 34 __REDIR(mq_timedreceive, __mq_timedreceive_time64);
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/ |
H A D | 1-1.c | 10 * mq_timedreceive test plan: 11 * mq_timedreceive will receive the oldest of the highest priority messages 27 #define FUNCTION "mq_timedreceive" 65 if (mq_timedreceive(mqdes, msgrv1, BUFFER, &rvprio, &ts) == -1) { in main() 66 perror(ERROR_PREFIX "mq_timedreceive"); in main() 71 printf("FAIL: mq_timedreceive didn't receive the highest " in main() 82 if (mq_timedreceive(mqdes, msgrv2, BUFFER, &rvprio, &ts) == -1) { in main() 83 perror(ERROR_PREFIX "mq_timedreceive"); in main() 87 printf("FAIL: mq_timedreceive didn't receive the correct " in main()
|
H A D | 11-1.c | 10 * mq_timedreceive test plan: 11 * On success, mq_timedreceive will return the length of the selected message 15 * 2. call mq_timedreceive() twice, if the two received messages are the same, 16 * which means the first mq_timedreceive does not remove the message from 31 #define FUNCTION "mq_timedreceive" 68 if (mq_timedreceive(mqdes, msgrv1, BUFFER, NULL, &ts) != in main() 70 printf("FAIL: mq_timedreceive didn't return the selected " in main() 74 if (mq_timedreceive(mqdes, msgrv2, BUFFER, NULL, &ts) != in main() 76 printf("FAIL: mq_timedreceive didn't return the selected " in main() 81 printf("FAIL: mq_timedreceive receive in main() [all...] |
H A D | 2-1.c | 10 * mq_timedreceive test plan: 26 #define FUNCTION "mq_timedreceive" 59 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) > 0) { in main() 60 printf("FAIL: mq_timedreceive succeed unexpectly\n"); in main()
|
H A D | 17-2.c | 10 * mq_timedreceive() test plan: 11 * mq_timedreceive() will fail with EINVAL if message queue is 31 #define FUNCTION "mq_timedreceive" 56 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) == -1) { in main() 62 printf("FAIL: mq_timedreceive() succeed unexpectly\n"); in main()
|
H A D | 17-3.c | 10 * mq_timedreceive() test plan: 11 * mq_timedreceive() will fail with EINVAL if message queue is 31 #define FUNCTION "mq_timedreceive" 56 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) == -1) { in main() 62 printf("FAIL: mq_timedreceive() succeed unexpectly\n"); in main()
|
H A D | 10-2.c | 30 #define FUNCTION "mq_timedreceive" 65 if (mq_timedreceive(mqdes, msgrv, BUFFER, &rvprio, &ts) == -1) { in main() 67 printf("FAIL: mq_timedreceive returned " in main() 70 perror("Unexpected error at mq_timedreceive"); in main()
|
H A D | 10-1.c | 10 * mq_timedreceive test plan: 12 * mq_timedreceive will never fail with a timeout. 26 #define FUNCTION "mq_timedreceive" 59 if (mq_timedreceive(mqdes, msgrv, BUFFER, &rvprio, &ts) == -1) { in main()
|
H A D | 17-1.c | 10 * mq_timedreceive() test plan: 11 * mq_timedreceive() will fail with EINVAL if message queue is 30 #define FUNCTION "mq_timedreceive" 55 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) == -1) { in main() 61 printf("FAIL: mq_timedreceive() succeed unexpectly\n"); in main()
|
H A D | 13-1.c | 10 * mq_timedreceive() test plan: 11 * mq_timedreceive() will fail with EAGAIN, if message queue is empty and 28 #define FUNCTION "mq_timedreceive" 54 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) == -1) { in main() 60 printf("mq_timedreceive() succeed unexpectly\n"); in main()
|
H A D | 14-1.c | 10 * mq_timedreceive() test plan: 11 * mq_timedreceive() will fail with EBADF, if mqdes is not a valid message 28 #define FUNCTION "mq_timedreceive" 55 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) == -1) { in main() 61 printf("mq_timedreceive() succeed unexpectly\n"); in main()
|
H A D | 7-1.c | 10 * mq_timedreceive() test plan: 12 * no message will be removed from the queue, mq_timedreceive will return an 28 #define FUNCTION "mq_timedreceive" 55 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) != -1) { in main() 56 printf("mq_timedreceive succeed unexpectly\n"); in main()
|
H A D | 5-2.c | 10 * mq_timedreceive() test plan: 12 * mq_timedreceive() will block until timeout expires. 30 #define FUNCTION "mq_timedreceive" 78 mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts); in main() 81 printf("FAIL: mq_timedreceive didn't block until " in main()
|
H A D | 18-1.c | 10 * mq_timedreceive() test plan: 11 * mq_timedreceive() will fail with ETIMEDOUT when O_NONBLOCK is not 31 #define FUNCTION "mq_timedreceive" 75 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) == -1) { in main() 81 printf("FAIL: mq_timedreceive() succeed unexpectly\n"); in main() 84 /* parent is not blocking on mq_timedreceive, kill child */ in main()
|
H A D | 18-2.c | 10 * mq_timedreceive() test plan: 12 * at the time mq_timedreceive() called, the timeout will expire. 13 * mq_timedreceive() will return with ETIMEDOUT. 32 #define FUNCTION "mq_timedreceive" 77 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) != -1) { in main() 78 printf("FAIL: mq_timedreceive succeed unexpectely\n"); in main()
|
/third_party/musl/src/mq/ |
H A D | mq_receive.c | 5 return mq_timedreceive(mqd, msg, len, prio, 0); in mq_receive()
|
H A D | mq_timedreceive.c | 8 ssize_t mq_timedreceive(mqd_t mqd, char *restrict msg, size_t len, unsigned *restrict prio, const struct timespec *restrict at) in mq_timedreceive() function
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/ |
H A D | 9-1-buildonly.c | 3 of the mq_timedreceive function as specified on 24 size = mq_timedreceive(mqdes, msgp, msg_len, &msg_prio, &abstime); in test_mq_timedreceive_prototype()
|
/third_party/musl/compat/time32/ |
H A D | mq_timedreceive_time32.c | 7 return mq_timedreceive(mqd, msg, len, prio, ts32 ? (&(struct timespec){ in __mq_timedreceive_time32()
|
/third_party/musl/libc-test/src/api/ |
H A D | mqueue.c | 33 {ssize_t(*p)(mqd_t,char*restrict,size_t,unsigned*restrict,const struct timespec*restrict) = mq_timedreceive;} in g()
|
/third_party/ltp/testcases/kernel/syscalls/ |
H A D | Makefile | 26 linkat kill mallopt memmap mq_notify mq_open mq_timedreceive \
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/speculative/ |
H A D | 10-2.c | 10 * mq_timedreceive test plan: 29 #define FUNCTION "mq_timedreceive" 62 if (mq_timedreceive(mqdes, msgrv, BUFFER, &rvprio, &ts) == -1) { in main() 63 printf("mq_timedreceive() did fail on invalid abs_time\n"); in main() 65 printf("mq_timedreceive() did not fail on invalid abs_time\n"); in main()
|