/external/ltp/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/ |
2-1-buildonly.c | 12 mqd_t mqdes; local 15 err = mq_close(mqdes);
|
3-1-buildonly.c | 12 mqd_t mqdes; local 16 err = mq_getattr(mqdes, &mqs);
|
4-1-buildonly.c | 12 mqd_t mqdes; local 16 err = mq_notify(mqdes, notification);
|
8-1-buildonly.c | 13 mqd_t mqdes; local 17 err = mq_setattr(mqdes, &mqs, &omqs);
|
10-1-buildonly.c | 13 mqd_t mqdes; local 20 mqdes = NULL; 25 err = mq_timedsend(mqdes, msgp, msg_len, msg_prio, &timeout);
|
6-1-buildonly.c | 12 mqd_t mqdes; local 18 msg_size = mq_receive(mqdes, msgp, msg_len, &msg_prio);
|
7-1-buildonly.c | 12 mqd_t mqdes; local 18 err = mq_receive(mqdes, msgp, msg_len, &msg_prio);
|
9-1-buildonly.c | 13 mqd_t mqdes; local 20 size = mq_timedreceive(mqdes, msgp, msg_len, &msg_prio, &abstime);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_notify/ |
8-1.c | 11 * mq_notify() will fail with EBADF if the mqdes argument is not a 36 mqd_t mqdes; local 39 mqdes = (mqd_t) - 1; 44 if (mq_notify(mqdes, ¬ification) == -1) {
|
1-1.c | 55 mqd_t mqdes; local 63 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0); 64 if (mqdes == (mqd_t) - 1) { 74 if (mq_notify(mqdes, ¬ification) != 0) { 76 mqclean(mqdes, mqname); 79 if (mq_send(mqdes, s_msg_ptr, MSG_SIZE, prio) == -1) { 81 mqclean(mqdes, mqname); 87 mqclean(mqdes, mqname); 91 mqclean(mqdes, mqname);
|
2-1.c | 45 mqd_t mqdes; local 52 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0); 53 if (mqdes == (mqd_t) - 1) { 60 if (mq_notify(mqdes, ¬ification) != 0) { 62 mqclean(mqdes, mqname); 68 mqclean(mqdes, mqname); 73 if (mq_notify(mqdes, ¬ification) != -1) { 83 mqclean(mqdes, mqname);
|
3-1.c | 55 mqd_t mqdes; local 62 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0); 63 if (mqdes == (mqd_t) - 1) { 72 if (mq_notify(mqdes, ¬ification) != 0) { 74 mqclean(mqdes, mqname); 77 if (mq_notify(mqdes, NULL) != 0) { 79 mqclean(mqdes, mqname); 82 if (mq_send(mqdes, s_msg_ptr, MSG_SIZE, prio) == -1) { 84 mqclean(mqdes, mqname); 94 mqclean(mqdes, mqname) [all...] |
4-1.c | 52 mqd_t mqdes; local 60 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0); 61 if (mqdes == (mqd_t) - 1) { 71 if (mq_notify(mqdes, ¬ification) != 0) { 73 mqclean(mqdes, mqname); 76 if (mq_send(mqdes, s_msg_ptr, MSG_SIZE, prio) == -1) { 78 mqclean(mqdes, mqname); 83 mqclean(mqdes, mqname); 86 if (mq_notify(mqdes, ¬ification) != 0) { 88 mqclean(mqdes, mqname) [all...] |
9-1.c | 44 mqd_t mqdes; local 51 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0); 52 if (mqdes == (mqd_t) - 1) { 59 if (mq_notify(mqdes, ¬ification) != 0) { 61 mqclean(mqdes, mqname); 67 mqclean(mqdes, mqname); 72 if (mq_notify(mqdes, ¬ification) == -1) { 88 mqclean(mqdes, mqname);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/ |
1-1.c | 34 mqd_t mqdes; local 38 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0); 39 if (mqdes == (mqd_t) - 1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_getattr/speculative/ |
7-1.c | 11 * Test if mqdes argument is not a valid message queue descriptor, 34 mqd_t mqdes, mqdes_invalid; local 40 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0); 42 if (mqdes == (mqd_t) - 1) { 47 mqdes_invalid = mqdes + 1; 53 mq_close(mqdes);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_getattr/ |
2-1.c | 42 mqd_t mqdes; local 49 mqdes = mq_open(mqname, O_CREAT | O_RDWR | MQFLAGS, 51 if (mqdes == (mqd_t) - 1) { 56 if (mq_getattr(mqdes, &mqstat) != 0) { 60 mq_close(mqdes);
|
2-2.c | 36 mqd_t mqdes; local 43 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); 44 if (mqdes == (mqd_t) - 1) { 50 if (mq_getattr(mqdes, &mqstat) == -1) { 55 if (mq_setattr(mqdes, &mqstat, NULL) == -1) { 59 if (mq_getattr(mqdes, &nmqstat) != 0) { 69 mq_close(mqdes);
|
3-1.c | 38 mqd_t mqdes; local 48 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &mqstat); 49 if (mqdes == (mqd_t) - 1) { 54 if (mq_getattr(mqdes, &nmqstat) != 0) { 65 mq_close(mqdes);
|
4-1.c | 38 mqd_t mqdes; local 48 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &mqstat); 49 if (mqdes == (mqd_t) - 1) { 54 if (mq_send(mqdes, msgptr, strlen(msgptr), 1) == -1) { 60 if (mq_getattr(mqdes, &mqstat) != 0) { 71 mq_close(mqdes);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_receive/ |
10-1.c | 36 mqd_t mqdes; local 44 mqdes = 47 if (mqdes == (mqd_t) - 1) { 51 if (mq_receive(mqdes, msgrv, BUFFER, NULL) == -1) { 60 if (mq_close(mqdes) != 0) {
|
11-1.c | 11 * mq_receive() will fail with EBADF, if mqdes is not a valid message 36 mqd_t mqdes; local 45 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); 46 if (mqdes == (mqd_t) - 1) { 50 mqdes = mqdes + 1; 51 if (mq_receive(mqdes, msgrv, BUFFER, NULL) == -1) { 60 if (mq_close(mqdes - 1) != 0) {
|
11-2.c | 37 mqd_t mqdes; local 46 mqdes = mq_open(mqname, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR, &attr); 47 if (mqdes == (mqd_t) - 1) { 51 if (mq_receive(mqdes, msgrv, BUFFER, NULL) == -1) { 60 if (mq_close(mqdes) != 0) {
|
12-1.c | 36 mqd_t mqdes; local 46 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &mqstat); 47 if (mqdes == (mqd_t) - 1) { 52 if (mq_send(mqdes, msgptr, strlen(msgptr), prio) != 0) { 57 if (mq_receive(mqdes, msgrv, BUFFER, NULL) == 0) { 66 if (mq_close(mqdes) != 0) {
|
13-1.c | 44 mqd_t mqdes; local 53 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); 54 if (mqdes == (mqd_t) - 1) { 67 if (mq_receive(mqdes, msgrv, BUFFER, NULL) == -1) { 78 if (mq_close(mqdes) != 0) {
|