/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/ |
D | 2-1.c | 38 static int parent_process(char *qname, int read_pipe, int write_pipe, pid_t child_pid); 39 static int child_process(char *qname, int read_pipe, int write_pipe); 40 static mqd_t open_queue(char *qname, int oflag, int mode); 45 char qname[50]; in main() local 52 sprintf(qname, "/" FUNCTION "_" TEST "_%d", getpid()); in main() 81 return child_process(qname, to_child[PIPE_READ], in main() 88 return parent_process(qname, to_parent[PIPE_READ], in main() 95 static int parent_process(char *qname, int read_pipe, int write_pipe, in parent_process() argument 103 queue = open_queue(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); in parent_process() 114 mq_unlink(qname); in parent_process() [all …]
|
D | 3-1.c | 32 char qname[50]; in main() local 35 sprintf(qname, "/" FUNCTION "_" TEST "_%d", getpid()); in main() 37 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 45 mq_unlink(qname); in main() 49 if (mq_unlink(qname) != 0) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/mq_open/ |
D | mq_open01.c | 23 static char *qname; variable 32 char *qname; member 53 .qname = QUEUE_NAME, 61 .qname = QUEUE_NAME, 68 .qname = "/caaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" 81 .qname = "/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" 95 .qname = "", 102 .qname = QUEUE_NAME, 110 .qname = QUEUE_NAME, 119 .qname = QUEUE_NAME, [all …]
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-struct.h | 85 #define LSM_SIGNED(type, name, qname) \ argument 87 qname, \ 97 #define LSM_UNSIGNED(type, name, qname) \ argument 99 qname, \ 109 #define LSM_BOOLEAN(type, name, qname) \ argument 111 qname, \ 121 #define LSM_CARRAY(type, name, qname) \ argument 123 qname, \ 133 #define LSM_STRING_PTR(type, name, qname) \ argument 135 qname, \ [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
D | 9-1.c | 38 char qname[NAMESIZE], msgrcd[BUFFER], msgrcd2[BUFFER]; in main() local 44 sprintf(qname, "/mq_open_9-1_%d", getpid()); in main() 48 rdwrqueue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); in main() 60 mq_unlink(qname); in main() 72 mq_unlink(qname); in main() 79 rdwrqueue2 = mq_open(qname, O_RDWR, S_IRUSR | S_IWUSR, &attr); in main() 84 mq_unlink(qname); in main() 94 mq_unlink(qname); in main() 106 mq_unlink(qname); in main() 115 mq_unlink(qname); in main()
|
D | 8-1.c | 34 char qname[NAMESIZE], msgrcd[BUFFER]; in main() local 40 sprintf(qname, "/mq_open_8-1_%d", getpid()); in main() 44 woqueue = mq_open(qname, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR, &attr); in main() 56 mq_unlink(qname); in main() 68 mq_unlink(qname); in main() 75 woqueue2 = mq_open(qname, O_WRONLY, S_IRUSR | S_IWUSR, &attr); in main() 81 mq_unlink(qname); in main() 91 mq_unlink(qname); in main() 104 mq_unlink(qname); in main() 113 mq_unlink(qname); in main()
|
D | 7-1.c | 34 char qname[NAMESIZE], msgrcd[BUFFER]; in main() local 40 sprintf(qname, "/mq_open_7-1_%d", getpid()); in main() 44 rdwrqueue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); in main() 56 mq_unlink(qname); in main() 63 roqueue = mq_open(qname, O_RDONLY, S_IRUSR | S_IWUSR, &attr); in main() 69 mq_unlink(qname); in main() 82 mq_unlink(qname); in main() 95 mq_unlink(qname); in main() 104 mq_unlink(qname); in main()
|
D | 11-1.c | 32 char qname[NAMESIZE]; in main() local 36 sprintf(qname, "/mq_open_11-1_%d", getpid()); in main() 38 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 49 mq_unlink(qname); in main() 56 queue2 = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 61 mq_unlink(qname); in main() 70 mq_unlink(qname); in main() 76 mq_unlink(qname); in main()
|
D | 23-1.c | 28 char qname[NAMESIZE]; in main() local 31 sprintf(qname, "/mq_open_23-1_%d", getpid()); in main() 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() 51 mq_unlink(qname); in main() 62 mq_unlink(qname); in main() 70 mq_unlink(qname); in main()
|
D | 19-1.c | 40 char qname[NAMESIZE], msgrcd[BUFFER]; in main() local 47 sprintf(qname, "/mq_open_19-1_%d", getpid()); in main() 52 queue = mq_open(qname, O_CREAT | O_RDWR | O_NONBLOCK, in main() 71 mq_unlink(qname); in main() 75 queue = mq_open(qname, O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, NULL); in main() 81 mq_unlink(qname); in main() 92 mq_unlink(qname); in main()
|
D | 27-1.c | 27 char qname[PATH_MAX * 2]; in main() local 31 sprintf(qname, "/mq_open_27-1_%d", getpid()); in main() 35 strcat(qname, "0"); in main() 37 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 40 qname); in main() 43 mq_unlink(qname); in main()
|
D | 27-2.c | 30 char qname[NAME_MAX * 2]; in main() local 34 sprintf(qname, "/mq_open_27-1_%d", getpid()); in main() 38 strcat(qname, "0"); in main() 40 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 43 qname); in main() 46 mq_unlink(qname); in main()
|
D | 15-1.c | 27 char qname[NAMESIZE]; in main() local 30 sprintf(qname, "/mq_open_15-1_%d", getpid()); in main() 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() 50 mq_unlink(qname); in main() 55 mq_unlink(qname); in main()
|
D | 9-2.c | 45 char qname[NAMESIZE]; in main() local 49 sprintf(qname, "/mq_open_9-2_%d", getpid()); in main() 77 rdwrqueuechild = mq_open(qname, O_RDWR, in main() 119 rdwrqueue = mq_open(qname, O_CREAT | O_RDWR, in main() 137 mq_unlink(qname); in main() 150 mq_unlink(qname); in main() 166 mq_unlink(qname); in main() 174 mq_unlink(qname); in main()
|
D | 8-2.c | 45 char qname[NAMESIZE]; in main() local 49 sprintf(qname, "/mq_open_8-2_%d", getpid()); in main() 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() 135 mq_unlink(qname); in main() 148 mq_unlink(qname); in main() 163 mq_unlink(qname); in main() 171 mq_unlink(qname); in main()
|
D | 13-1.c | 29 char qname[NAMESIZE]; in main() local 34 sprintf(qname, "/mq_open_13-1_%d", getpid()); in main() 38 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); in main() 49 mq_unlink(qname); in main() 61 mq_unlink(qname); in main() 66 mq_unlink(qname); in main()
|
D | 2-1.c | 48 char qname[NAMESIZE]; in main() local 52 sprintf(qname, "/mq_open_2-1_%d", getpid()); in main() 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() 123 mq_unlink(qname); in main() 136 mq_unlink(qname); in main() 141 mq_unlink(qname); in main()
|
D | 29-1.c | 28 char qname[NAMESIZE]; in main() local 31 sprintf(qname, "/mq_open_29-1_%d", getpid()); in main() 33 queue = mq_open(qname, O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 38 mq_unlink(qname); in main() 46 mq_unlink(qname); in main()
|
D | 12-1.c | 33 char qname[NAMESIZE]; in main() local 37 sprintf(qname, "/mq_open_12-1_%d", getpid()); in main() 39 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in main() 50 mq_unlink(qname); in main() 55 mq_unlink(qname); in main()
|
D | 25-2.c | 34 char qname[NAMESIZE]; in main() local 39 sprintf(qname, "/mq_open_25-1_%d", getpid()); in main() 44 queue = mq_open(qname, O_CREAT | O_RDWR, in main() 50 mq_unlink(qname); in main() 74 queue = mq_open(qname, O_CREAT | O_RDWR, in main() 80 mq_unlink(qname); in main()
|
D | 7-2.c | 45 char qname[NAMESIZE]; in main() local 49 sprintf(qname, "/mq_open_7-2_%d", getpid()); in main() 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() 132 mq_unlink(qname); in main() 148 mq_unlink(qname); in main() 156 mq_unlink(qname); in main()
|
D | 7-3.c | 30 char qname[NAMESIZE]; in main() local 33 sprintf(qname, "/mq_open_7-3_%d", getpid()); in main() 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() 51 mq_unlink(qname); in main()
|
D | 18-1.c | 28 char qname[NAMESIZE]; in main() local 32 sprintf(qname, "/mq_open_18-1_%d", getpid()); in main() 34 queue = mq_open(qname, O_CREAT | O_RDWR | O_NONBLOCK, in main() 47 mq_unlink(qname); in main() 52 mq_unlink(qname); in main()
|
/third_party/ltp/testcases/kernel/syscalls/mq_unlink/ |
D | mq_unlink01.c | 24 char *qname; member 31 .qname = QUEUE_NAME, 37 .qname = QUEUE_NAME, 42 .qname = "/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" 53 .qname = "/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" 76 tst_res(TINFO, "queue name %s", tc->qname); in do_test() 93 TEST(mq_unlink(tc->qname)); in do_test()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/speculative/ |
D | 26-1.c | 45 char qname[NAMESIZE]; in main() 51 sprintf(qname, "/msgqueue%d_%d", i, getpid()); in main() 53 queue[i] = mq_open(qname, O_CREAT | O_RDWR, in main() 62 queue[numqueues] = mq_open(qname, O_CREAT | O_RDWR, in main() 80 sprintf(qname, "/msgqueue%d_%d", i, getpid()); in main() 81 mq_unlink(qname); in main()
|