Home
last modified time | relevance | path

Searched refs:mqd_t (Results 1 – 25 of 194) sorted by relevance

12345678

/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dmqueue.h16 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/include/
Dmqueue.h16 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/
Dmqueue.h16 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/
Dmqueue.h16 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/
Dmqueue.c8 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/
Dsend_rev_2.c42 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/open_posix_testsuite/conformance/interfaces/mq_close/
D2-1.c40 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/
D16-1.c47 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()
D2-1.c56 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()
D7-3.c31 mqd_t roqueue, roqueue2; in main()
36 if (roqueue == (mqd_t) - 1) { in main()
43 if (roqueue2 == (mqd_t) - 1) { in main()
D7-2.c53 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()
D15-1.c28 mqd_t queue, queue2; in main()
33 if (queue == (mqd_t) - 1) { in main()
44 if (queue2 != (mqd_t) - 1) { in main()
D9-2.c53 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()
D8-2.c53 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()
D23-1.c29 mqd_t queue, queue2; in main()
34 if (queue == (mqd_t) - 1) { in main()
45 if (queue2 != (mqd_t) - 1) { in main()
D11-1.c34 mqd_t queue, queue2; in main()
39 if (queue == (mqd_t) - 1) { in main()
57 if (queue2 == (mqd_t) - 1) { in main()
D19-1.c42 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/
D2-1.c99 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()
D2-2.c94 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()
D1-1.c34 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/
D2-1.c36 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()
D9-1.c35 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()
D1-1.c46 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/
D26-1.c46 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()
/third_party/ltp/testcases/kernel/containers/mqns/
Dmqns_02.c21 static mqd_t mqd;
31 mqd_t mqd1 = -1; in shared_child()
43 mqd_t mqd1 = -1; in isolated_child()

12345678