/third_party/rust/crates/nix/test/ |
D | test_mq.rs | 6 use nix::mqueue::{mq_attr_member_t, mq_close, mq_open, mq_receive, mq_send}; 37 let r0 = mq_open(mq_name, oflag0, mode, Some(&attr)); in test_mq_send_and_receive() 47 let mqd1 = mq_open(mq_name, oflag1, mode, Some(&attr)).unwrap(); in test_mq_send_and_receive() 66 let r = mq_open(mq_name, oflag, mode, Some(&initial_attr)); in test_mq_getattr() 91 let r = mq_open(mq_name, oflag, mode, Some(&initial_attr)); in test_mq_setattr() 141 let r = mq_open(mq_name, oflag, mode, Some(&initial_attr)); in test_mq_set_nonblocking() 168 let r = mq_open(mq_name_opened, oflag, mode, Some(&initial_attr)); in test_mq_unlink()
|
/third_party/ltp/testcases/kernel/containers/mqns/ |
D | mqns_01.c | 38 TST_EXP_FAIL(mq_open(MQNAME, O_RDONLY), ENOENT); in run() 46 TST_EXP_FAIL(mq_open(MQNAME, O_RDONLY), ENOENT); in run() 53 TST_EXP_POSITIVE(mq_open(MQNAME, O_RDONLY)); in run()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/ |
D | 2-1.c | 103 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0); in parent_process() 118 if (mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0) == in parent_process() 153 mqdes = mq_open(mqname, O_RDWR, 0, 0); in child_process()
|
D | 1-1.c | 38 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0); in main() 44 if (mq_open(mqname, O_RDWR, S_IRUSR | S_IWUSR, 0) == (mqd_t)-1) { in main()
|
D | 2-2.c | 98 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0); in parent_process() 122 if (mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0) != in parent_process() 155 mqdes = mq_open(mqname, O_RDWR, 0, 0); in child_process()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
D | 7-3.c | 35 roqueue = mq_open(qname, O_CREAT | O_RDONLY, S_IRUSR | S_IWUSR, NULL); in main() 42 roqueue2 = mq_open(qname, O_RDONLY, S_IRUSR | S_IWUSR, NULL); in main()
|
D | 15-1.c | 32 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 42 queue2 = mq_open(qname, O_CREAT | O_EXCL | O_RDWR, in main()
|
D | 23-1.c | 33 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 43 queue2 = mq_open(qname, O_CREAT | O_EXCL | O_RDWR, in main()
|
D | 11-1.c | 38 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 56 queue2 = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main()
|
D | 19-1.c | 52 queue = mq_open(qname, O_CREAT | O_RDWR | O_NONBLOCK, in main() 75 queue = mq_open(qname, O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, NULL); in main()
|
D | 25-2.c | 44 queue = mq_open(qname, O_CREAT | O_RDWR, in main() 74 queue = mq_open(qname, O_CREAT | O_RDWR, in main()
|
D | 7-1.c | 44 rdwrqueue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); in main() 63 roqueue = mq_open(qname, O_RDONLY, S_IRUSR | S_IWUSR, &attr); in main()
|
D | 9-1.c | 48 rdwrqueue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); in main() 79 rdwrqueue2 = mq_open(qname, O_RDWR, S_IRUSR | S_IWUSR, &attr); in main()
|
D | 8-1.c | 44 woqueue = mq_open(qname, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR, &attr); in main() 75 woqueue2 = mq_open(qname, O_WRONLY, S_IRUSR | S_IWUSR, &attr); in main()
|
D | 16-1.c | 93 childqueue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR, in main() 110 queue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR, in main()
|
D | 2-1.c | 80 childqueue = mq_open(qname, O_RDWR, S_IRUSR | S_IWUSR, &attr); in main() 108 queue = mq_open(qname, O_CREAT | O_RDWR, in main()
|
D | 7-2.c | 77 roqueue = mq_open(qname, O_RDONLY, S_IRUSR | S_IWUSR, &attr); in main() 114 rdwrqueue = mq_open(qname, O_CREAT | O_RDWR, in main()
|
D | 9-2.c | 77 rdwrqueuechild = mq_open(qname, O_RDWR, in main() 119 rdwrqueue = mq_open(qname, O_CREAT | O_RDWR, in main()
|
D | 8-2.c | 77 woqueue = mq_open(qname, O_WRONLY, S_IRUSR | S_IWUSR, &attr); in main() 116 woqueue = mq_open(qname, O_CREAT | O_WRONLY, in main()
|
D | 21-1.c | 36 queue = mq_open(qname, O_RDWR, S_IRUSR | S_IWUSR, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/speculative/ |
D | 26-1.c | 53 queue[i] = mq_open(qname, O_CREAT | O_RDWR, in main() 62 queue[numqueues] = mq_open(qname, O_CREAT | O_RDWR, in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/ |
D | 19-1.c | 52 queue = mq_open(qname, O_CREAT | O_RDWR | O_NONBLOCK, in main() 84 queue = mq_open(qname, O_RDWR, S_IRUSR | S_IWUSR, NULL); in main()
|
/third_party/rust/crates/nix/src/ |
D | mqueue.rs | 144 pub fn mq_open( in mq_open() function 152 libc::mq_open( in mq_open() 159 None => unsafe { libc::mq_open(name.as_ptr(), oflag.bits()) }, in mq_open()
|
/third_party/ltp/testcases/open_posix_testsuite/functional/mqueues/ |
D | send_rev_2.c | 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/definitions/mqueue_h/ |
D | 5-1-buildonly.c | 17 res = mq_open(name, oflag); in test_mq_open_prototype()
|