/third_party/musl/include/ |
D | mqueue.h | 16 typedef int mqd_t; typedef 22 int mq_close(mqd_t); 23 int mq_getattr(mqd_t, struct mq_attr *); 24 int mq_notify(mqd_t, const struct sigevent *); 25 mqd_t mq_open(const char *, int, ...); 26 ssize_t mq_receive(mqd_t, char *, size_t, unsigned *); 27 int mq_send(mqd_t, const char *, size_t, unsigned); 28 int mq_setattr(mqd_t, const struct mq_attr *__restrict, struct mq_attr *__restrict); 29 ssize_t mq_timedreceive(mqd_t, char *__restrict, size_t, unsigned *__restrict, const struct timespe… 30 int mq_timedsend(mqd_t, const char *, size_t, unsigned, const struct timespec *);
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | mqueue.h | 16 typedef int mqd_t; typedef 22 int mq_close(mqd_t); 23 int mq_getattr(mqd_t, struct mq_attr *); 24 int mq_notify(mqd_t, const struct sigevent *); 25 mqd_t mq_open(const char *, int, ...); 26 ssize_t mq_receive(mqd_t, char *, size_t, unsigned *); 27 int mq_send(mqd_t, const char *, size_t, unsigned); 28 int mq_setattr(mqd_t, const struct mq_attr *__restrict, struct mq_attr *__restrict); 29 ssize_t mq_timedreceive(mqd_t, char *__restrict, size_t, unsigned *__restrict, const struct timespe… 30 int mq_timedsend(mqd_t, const char *, size_t, unsigned, const struct timespec *);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | mqueue.h | 16 typedef int mqd_t; typedef 22 int mq_close(mqd_t); 23 int mq_getattr(mqd_t, struct mq_attr *); 24 int mq_notify(mqd_t, const struct sigevent *); 25 mqd_t mq_open(const char *, int, ...); 26 ssize_t mq_receive(mqd_t, char *, size_t, unsigned *); 27 int mq_send(mqd_t, const char *, size_t, unsigned); 28 int mq_setattr(mqd_t, const struct mq_attr *__restrict, struct mq_attr *__restrict); 29 ssize_t mq_timedreceive(mqd_t, char *__restrict, size_t, unsigned *__restrict, const struct timespe… 30 int mq_timedsend(mqd_t, const char *, size_t, unsigned, const struct timespec *);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | mqueue.h | 16 typedef int mqd_t; typedef 22 int mq_close(mqd_t); 23 int mq_getattr(mqd_t, struct mq_attr *); 24 int mq_notify(mqd_t, const struct sigevent *); 25 mqd_t mq_open(const char *, int, ...); 26 ssize_t mq_receive(mqd_t, char *, size_t, unsigned *); 27 int mq_send(mqd_t, const char *, size_t, unsigned); 28 int mq_setattr(mqd_t, const struct mq_attr *__restrict, struct mq_attr *__restrict); 29 ssize_t mq_timedreceive(mqd_t, char *__restrict, size_t, unsigned *__restrict, const struct timespe… 30 int mq_timedsend(mqd_t, const char *, size_t, unsigned, const struct timespec *);
|
/third_party/musl/libc-test/src/api/ |
D | mqueue.c | 8 T(mqd_t) in f() 21 {int(*p)(mqd_t) = mq_close;} in f() 22 {int(*p)(mqd_t,struct mq_attr*) = mq_getattr;} in f() 23 {int(*p)(mqd_t,const struct sigevent*) = mq_notify;} in f() 24 {mqd_t(*p)(const char*,int,...) = mq_open;} in f() 25 {ssize_t(*p)(mqd_t,char*,size_t,unsigned*) = mq_receive;} in f() 26 {int(*p)(mqd_t,const char*,size_t,unsigned) = mq_send;} in f() 27 {int(*p)(mqd_t,const struct mq_attr*restrict,struct mq_attr*restrict) = mq_setattr;} in f() 33 {ssize_t(*p)(mqd_t,char*restrict,size_t,unsigned*restrict,const struct timespec*restrict) = mq_time… in g() 34 {int(*p)(mqd_t,const char*,size_t,unsigned,const struct timespec*) = mq_timedsend;} in g()
|
/third_party/ltp/testcases/open_posix_testsuite/functional/mqueues/ |
D | send_rev_2.c | 42 mqd_t mq1 = *(mqd_t *) mq; in send_1() 60 mqd_t mq2 = *(mqd_t *) mq; in send_2() 77 mqd_t mq1 = *(mqd_t *) mq; in receive_1() 94 mqd_t mq2 = *(mqd_t *) mq; in receive_2() 111 mqd_t mq1 = 0, mq2 = 0; in main() 120 if ((mq1 = mq_open(MQ_NAME_1, oflag, 0777, &mqstat)) == (mqd_t)-1) { in main() 124 if ((mq2 = mq_open(MQ_NAME_2, oflag, 0777, &mqstat)) == (mqd_t)-1) { in main()
|
/third_party/ltp/testcases/kernel/containers/pidns/ |
D | pidns31.c | 83 mqd_t mqd; 93 static void remove_mqueue(mqd_t mqd) in remove_mqueue() 103 static void cleanup_resources(int step, mqd_t mqd) in cleanup_resources() 138 void cleanup_mqueue(int result, int step, mqd_t mqd) in cleanup_mqueue() 152 mqd_t mqd; in child_fn() 176 if (mqd == (mqd_t) - 1) { in child_fn() 183 if (mq_send(mqd, MSG, strlen(MSG), MSG_PRIO) == (mqd_t) - 1) { in child_fn() 254 mqd_t mqd; in main() 271 if (mqd == (mqd_t) - 1) { in main() 292 if (ltp_syscall(__NR_mq_notify, mqd, ¬if) == (mqd_t) -1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/ |
D | 2-1.c | 40 static mqd_t open_queue(char *qname, int oflag, int mode); 98 mqd_t queue; in parent_process() 104 if (queue == (mqd_t) - 1) { in parent_process() 158 mqd_t queue; in child_process() 175 if (queue == (mqd_t) - 1) { in child_process() 205 static mqd_t open_queue(char *qname, int oflag, int mode) in open_queue() 207 mqd_t queue; in open_queue() 210 if (queue == (mqd_t) - 1) { in open_queue()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
D | 16-1.c | 47 mqd_t childqueue, queue; in main() 52 childqueue = (mqd_t) - 1; in main() 53 queue = (mqd_t) - 1; in main() 95 if (childqueue != (mqd_t) - 1) { in main() 112 if (queue != (mqd_t) - 1) { in main()
|
D | 7-3.c | 31 mqd_t roqueue, roqueue2; in main() 36 if (roqueue == (mqd_t) - 1) { in main() 43 if (roqueue2 == (mqd_t) - 1) { in main()
|
D | 15-1.c | 28 mqd_t queue, queue2; in main() 33 if (queue == (mqd_t) - 1) { in main() 44 if (queue2 != (mqd_t) - 1) { in main()
|
D | 2-1.c | 56 mqd_t childqueue; in main() 81 if (childqueue == (mqd_t) - 1) { in main() 102 mqd_t queue; in main() 110 if (queue == (mqd_t) - 1) { in main()
|
D | 23-1.c | 29 mqd_t queue, queue2; in main() 34 if (queue == (mqd_t) - 1) { in main() 45 if (queue2 != (mqd_t) - 1) { in main()
|
D | 7-2.c | 53 mqd_t roqueue; in main() 78 if (roqueue == (mqd_t) - 1) { in main() 108 mqd_t rdwrqueue; in main() 116 if (rdwrqueue == (mqd_t) - 1) { in main()
|
D | 11-1.c | 34 mqd_t queue, queue2; in main() 39 if (queue == (mqd_t) - 1) { in main() 57 if (queue2 == (mqd_t) - 1) { in main()
|
D | 9-2.c | 53 mqd_t rdwrqueuechild; in main() 79 if (rdwrqueuechild == (mqd_t) - 1) { in main() 111 mqd_t rdwrqueue; in main() 121 if (rdwrqueue == (mqd_t) - 1) { in main()
|
D | 8-2.c | 53 mqd_t woqueue; in main() 78 if (woqueue == (mqd_t) - 1) { in main() 108 mqd_t woqueue; in main() 118 if (woqueue == (mqd_t) - 1) { in main()
|
D | 19-1.c | 42 mqd_t queue; in main() 54 if (queue == (mqd_t) - 1) { in main() 76 if (queue == (mqd_t) - 1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/ |
D | 2-1.c | 99 mqd_t mqdes; in parent_process() 104 if (mqdes == (mqd_t)-1) { in parent_process() 119 (mqd_t)-1) { in parent_process() 141 mqd_t mqdes; in child_process() 154 if (mqdes == (mqd_t)-1) { in child_process()
|
D | 2-2.c | 94 mqd_t mqdes; in parent_process() 99 if (mqdes == (mqd_t)-1) { in parent_process() 123 (mqd_t)-1) { in parent_process() 143 mqd_t mqdes; in child_process() 156 if (mqdes == (mqd_t)-1) { in child_process()
|
D | 1-1.c | 34 mqd_t mqdes; in main() 39 if (mqdes == (mqd_t)-1) { in main() 44 if (mq_open(mqname, O_RDWR, S_IRUSR | S_IWUSR, 0) == (mqd_t)-1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_notify/ |
D | 2-1.c | 36 static void mqclean(mqd_t queue, const char *qname) in mqclean() 45 mqd_t mqdes; in main() 53 if (mqdes == (mqd_t) - 1) { in main()
|
D | 9-1.c | 35 static void mqclean(mqd_t queue, const char *qname) in mqclean() 44 mqd_t mqdes; in main() 52 if (mqdes == (mqd_t) - 1) { in main()
|
D | 1-1.c | 46 static void mqclean(mqd_t queue, const char *qname) in mqclean() 55 mqd_t mqdes; in main() 64 if (mqdes == (mqd_t) - 1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/speculative/ |
D | 26-1.c | 46 mqd_t queue[_POSIX_OPEN_MAX + _POSIX_MQ_OPEN_MAX + 1]; in main() 55 if (queue[i] == (mqd_t) - 1) { in main() 64 if (queue[numqueues] != (mqd_t) - 1) { in main()
|