Home
last modified time | relevance | path

Searched refs:mq_timedsend (Results 1 - 25 of 43) sorted by relevance

12

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/
H A D3-2.c10 * Test that mq_timedsend() inserts messages into the message queue according
72 if (mq_timedsend(queue, msgptr3, strlen(msgptr3), PRI3, &ts) != 0) { in main()
73 perror("mq_timedsend() did not return success"); in main()
79 if (mq_timedsend(queue, msgptr1, strlen(msgptr1), PRI1, &ts) != 0) { in main()
80 perror("mq_timedsend() did not return success"); in main()
86 if (mq_timedsend(queue, msgptr4, strlen(msgptr4), PRI4, &ts) != 0) { in main()
87 perror("mq_timedsend() did not return success"); in main()
93 if (mq_timedsend(queue, msgptr2, strlen(msgptr2), PRI2, &ts) != 0) { in main()
94 perror("mq_timedsend() did not return success"); in main()
100 if (mq_timedsend(queu in main()
[all...]
H A D3-1.c10 * Test that mq_timedsend() inserts messages into the message queue according
70 if (mq_timedsend(queue, msgptr3, strlen(msgptr3), PRI3, &ts) != 0) { in main()
71 perror("mq_timedsend() did not return success"); in main()
76 if (mq_timedsend(queue, msgptr1, strlen(msgptr1), PRI1, &ts) != 0) { in main()
77 perror("mq_timedsend() did not return success"); in main()
82 if (mq_timedsend(queue, msgptr4, strlen(msgptr4), PRI4, &ts) != 0) { in main()
83 perror("mq_timedsend() did not return success"); in main()
88 if (mq_timedsend(queue, msgptr2, strlen(msgptr2), PRI2, &ts) != 0) { in main()
89 perror("mq_timedsend() did not return success"); in main()
94 if (mq_timedsend(queu in main()
[all...]
H A D19-1.c10 * Test that mq_timedsend() will return EINVAL if the message queue is
13 * Fill message queue until full and then call mq_timedsend with invalid
64 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) in main()
79 * Message queue is full -- call mq_timedsend() with invalid in main()
93 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) != -1) { in main()
94 printf("mq_timedsend() didn't fail w/invalid ts\n"); in main()
H A D11-1.c10 * Test that mq_timedsend() returns errno == EBADF if mqdes is not a valid
46 if (mq_timedsend(queue + 1, msgptr, strlen(msgptr), 1, &ts) != -1) { in main()
47 printf("mq_timedsend() did not return -1 on invalid queue\n"); in main()
H A D11-2.c10 * Test that mq_timedsend() returns errno == EBADF if mqdes is not open for
46 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) != -1) { in main()
47 printf("mq_timedsend() did not return -1 on invalid queue\n"); in main()
H A D18-1.c10 * Basic test that if the queue already has room, then mq_timedsend()
13 * Test by calling mq_timedsend() with an already expired timeout value
48 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) != 0) { in main()
49 perror("mq_timedsend() did not return success on empty queue"); in main()
H A D4-2.c45 if (mq_timedsend(queue, msgptr, strlen(msgptr), MQ_PRIO_MAX, &ts) in main()
47 printf("mq_timedsend() ret success with pri = MQ_PRIO_MAX\n"); in main()
H A D4-1.c45 if (mq_timedsend(queue, msgptr, strlen(msgptr), MQ_PRIO_MAX + 1, &ts) in main()
47 printf("mq_timedsend() ret success with pri > MQ_PRIO_MAX\n"); in main()
H A D14-1.c58 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) != -1) { in main()
59 printf("mq_timedsend() didn't ret -1 for EMSGSIZE\n"); in main()
H A D13-1.c53 if (mq_timedsend(queue, msgptr, in main()
55 printf("mq_timedsend() ret success on invalid %d\n", in main()
H A D9-1.c10 * Test that mq_timedsend() returns -1 on failure, no message is queued, and
54 // Verify mq_timedsend() returns -1 in main()
57 if (mq_timedsend(queue + 1, msgptr, strlen(msgptr), 1, &ts) != -1) { in main()
58 printf("mq_timedsend() did not return -1 on invalid queue\n"); in main()
H A D8-1.c10 * Test that mq_timedsend() returns 0 on success.
54 ret = mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts); in main()
83 printf("mq_timedsend() did not return 0 on success\n"); in main()
H A D1-1.c10 * Basic test that mq_timedsend() actually places a message into mqdes. Verify
54 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) != 0) { in main()
55 perror("mq_timedsend() did not return success"); in main()
H A D10-1.c10 * Test that if O_NONBLOCK is set and the message queue is full, mq_timedsend()
56 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) == -1) { in main()
59 printf("mq_timedsend() did not w/EAGAIN\n"); in main()
/third_party/musl/porting/uniproton/kernel/include/
H A Dmqueue.h30 int mq_timedsend(mqd_t, const char *, size_t, unsigned, const struct timespec *);
35 __REDIR(mq_timedsend, __mq_timedsend_time64);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dmqueue.h30 int mq_timedsend(mqd_t, const char *, size_t, unsigned, const struct timespec *);
35 __REDIR(mq_timedsend, __mq_timedsend_time64);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dmqueue.h30 int mq_timedsend(mqd_t, const char *, size_t, unsigned, const struct timespec *);
35 __REDIR(mq_timedsend, __mq_timedsend_time64);
/third_party/musl/include/
H A Dmqueue.h30 int mq_timedsend(mqd_t, const char *, size_t, unsigned, const struct timespec *);
35 __REDIR(mq_timedsend, __mq_timedsend_time64);
/third_party/musl/src/mq/
H A Dmq_send.c5 return mq_timedsend(mqd, msg, len, prio, 0); in mq_send()
H A Dmq_timedsend.c8 int mq_timedsend(mqd_t mqd, const char *msg, size_t len, unsigned prio, const struct timespec *at) in mq_timedsend() function
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/
H A D10-1-buildonly.c3 of the mq_timedsend function as specified on
25 err = mq_timedsend(mqdes, msgp, msg_len, msg_prio, &timeout); in test_mq_timedsend_prototype()
/third_party/musl/compat/time32/
H A Dmq_timedsend_time32.c7 return mq_timedsend(mqd, msg, len, prio, ts32 ? (&(struct timespec){ in __mq_timedsend_time32()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/speculative/
H A D18-2.c10 * Basic test that if the queue already has room, then mq_timedsend()
48 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) == -1) { in main()
49 printf("mq_timedsend() did fail on invalid abs_time\n"); in main()
58 printf("mq_timedsend() did not fail on invalid abs_time\n"); in main()
/third_party/musl/libc-test/src/api/
H A Dmqueue.c34 {int(*p)(mqd_t,const char*,size_t,unsigned,const struct timespec*) = mq_timedsend;} in g()
/third_party/ltp/testcases/kernel/syscalls/
H A DMakefile27 mq_timedsend mq_unlink mmap mremap open openat profil ptrace quotactl \

Completed in 4 milliseconds

12