/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_setattr/ |
D | 1-2.c | 38 struct mq_attr mqstat, nmqstat; in main() local 49 memset(&mqstat, 0, sizeof(mqstat)); in main() 50 memset(&nmqstat, 0, sizeof(mqstat)); in main() 52 if (mq_getattr(mqdes, &mqstat) == -1) { in main() 56 mqstat.mq_maxmsg = mqstat.mq_maxmsg + 1; in main() 57 mqstat.mq_msgsize = mqstat.mq_msgsize + 1; in main() 58 mqstat.mq_curmsgs = mqstat.mq_curmsgs + 1; in main() 60 if (mq_setattr(mqdes, &mqstat, NULL) != 0) { in main() 68 if ((nmqstat.mq_maxmsg == mqstat.mq_maxmsg) || in main() 69 (nmqstat.mq_msgsize == mqstat.mq_msgsize) || in main() [all …]
|
D | 1-1.c | 37 struct mq_attr mqstat, nmqstat; in main() local 48 memset(&mqstat, 0, sizeof(mqstat)); in main() 50 if (mq_getattr(mqdes, &mqstat) == -1) { in main() 54 mqstat.mq_flags |= MQFLAGS; in main() 55 if (mq_setattr(mqdes, &mqstat, NULL) != 0) { in main() 68 if (nmqstat.mq_flags != mqstat.mq_flags) { in main() 70 "setted is %ld\n", nmqstat.mq_flags, mqstat.mq_flags); in main()
|
D | 2-1.c | 40 struct mq_attr omqstat, mqstat, nmqstat; in main() local 51 memset(&mqstat, 0, sizeof(mqstat)); in main() 68 if (mq_setattr(mqdes, &nmqstat, &mqstat) != 0) { in main() 71 if ((omqstat.mq_flags != mqstat.mq_flags) || in main() 72 (omqstat.mq_maxmsg != mqstat.mq_maxmsg) || in main() 73 (omqstat.mq_msgsize != mqstat.mq_msgsize) || in main() 74 (omqstat.mq_curmsgs != mqstat.mq_curmsgs)) { in main()
|
D | 5-1.c | 39 struct mq_attr mqstat, nmqstat; in main() local 56 memset(&mqstat, 0, sizeof(mqstat)); in main() 60 if (mq_setattr(mqdes, &mqstat, NULL) == -1) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_getattr/ |
D | 4-1.c | 39 struct mq_attr mqstat; in main() local 45 memset(&mqstat, 0, sizeof(mqstat)); in main() 46 mqstat.mq_msgsize = MSGSIZE; in main() 47 mqstat.mq_maxmsg = MAXMSG; in main() 48 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &mqstat); in main() 59 memset(&mqstat, 0, sizeof(mqstat)); in main() 60 if (mq_getattr(mqdes, &mqstat) != 0) { in main() 64 if (mqstat.mq_curmsgs != MSG_NUM) { in main()
|
D | 3-1.c | 39 struct mq_attr mqstat, nmqstat; in main() local 45 memset(&mqstat, 0, sizeof(mqstat)); in main() 46 mqstat.mq_msgsize = MSGSIZE; in main() 47 mqstat.mq_maxmsg = MAXMSG; in main() 48 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &mqstat); in main() 58 if ((mqstat.mq_maxmsg != nmqstat.mq_maxmsg) || in main() 59 (mqstat.mq_msgsize != nmqstat.mq_msgsize)) { in main()
|
D | 2-2.c | 37 struct mq_attr mqstat, nmqstat; in main() local 48 memset(&mqstat, 0, sizeof(mqstat)); in main() 50 if (mq_getattr(mqdes, &mqstat) == -1) { in main() 54 mqstat.mq_flags |= MQFLAGS; in main() 55 if (mq_setattr(mqdes, &mqstat, NULL) == -1) { in main() 63 if (nmqstat.mq_flags != mqstat.mq_flags) { in main()
|
D | 2-1.c | 43 struct mq_attr mqstat; in main() local 55 memset(&mqstat, 0, sizeof(mqstat)); in main() 56 if (mq_getattr(mqdes, &mqstat) != 0) { in main() 65 if (!(mqstat.mq_flags & MQFLAGS)) { in main()
|
/external/ltp/testcases/open_posix_testsuite/functional/mqueues/ |
D | send_rev_1.c | 30 struct mq_attr mqstat, attr; in main() local 39 memset(&mqstat, 0, sizeof(mqstat)); in main() 40 mqstat.mq_maxmsg = MAX_MSG; in main() 41 mqstat.mq_msgsize = MSG_SIZE; in main() 42 mqstat.mq_flags = 0; in main() 49 if (((mqd_t) - 1) == (mq = mq_open(MQ_NAME, oflag, 0777, &mqstat))) { in main()
|
D | send_rev_2.c | 112 struct mq_attr mqstat; in main() local 115 memset(&mqstat, 0, sizeof(mqstat)); in main() 116 mqstat.mq_maxmsg = MAX_MSG; in main() 117 mqstat.mq_msgsize = MSG_SIZE; in main() 118 mqstat.mq_flags = 0; in main() 120 if ((mq1 = mq_open(MQ_NAME_1, oflag, 0777, &mqstat)) == -1) { in main() 124 if ((mq2 = mq_open(MQ_NAME_2, oflag, 0777, &mqstat)) == -1) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_receive/ |
D | 2-1.c | 37 struct mq_attr mqstat; in main() local 41 memset(&mqstat, 0, sizeof(mqstat)); in main() 42 mqstat.mq_msgsize = BUFFER + 1; in main() 43 mqstat.mq_maxmsg = BUFFER + 1; in main() 45 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &mqstat); in main()
|
D | 12-1.c | 38 struct mq_attr mqstat; in main() local 42 memset(&mqstat, 0, sizeof(mqstat)); in main() 43 mqstat.mq_msgsize = BUFFER + 1; in main() 44 mqstat.mq_maxmsg = BUFFER + 1; in main() 46 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &mqstat); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/ |
D | 15-1.c | 39 struct mq_attr mqstat; in main() local 44 memset(&mqstat, 0, sizeof(mqstat)); in main() 45 mqstat.mq_msgsize = BUFFER + 1; in main() 46 mqstat.mq_maxmsg = BUFFER + 1; in main() 48 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &mqstat); in main()
|
D | 2-1.c | 38 struct mq_attr mqstat; in main() local 43 memset(&mqstat, 0, sizeof(mqstat)); in main() 44 mqstat.mq_msgsize = BUFFER + 1; in main() 45 mqstat.mq_maxmsg = BUFFER + 1; in main() 47 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &mqstat); in main()
|
/external/ltp/testcases/open_posix_testsuite/stress/mqueues/ |
D | multi_send_rev_2.c | 78 struct mq_attr mqstat; in main() local 97 memset(&mqstat, 0, sizeof(mqstat)); in main() 98 mqstat.mq_maxmsg = MAX_MSG; in main() 99 mqstat.mq_msgsize = MSG_SIZE; in main() 100 mqstat.mq_flags = 0; in main() 102 if ((mq = mq_open(MQ_NAME, oflag, 0777, &mqstat)) == -1) { in main()
|
D | multi_send_rev_1.c | 89 struct mq_attr mqstat; in main() local 108 memset(&mqstat, 0, sizeof(mqstat)); in main() 109 mqstat.mq_maxmsg = MAX_MSG; in main() 110 mqstat.mq_msgsize = MSG_SIZE; in main() 111 mqstat.mq_flags = 0; in main() 114 if ((mq[i] = mq_open(MQ_NAME[i], oflag, 0777, &mqstat)) == -1) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_getattr/speculative/ |
D | 7-1.c | 35 struct mq_attr mqstat; in main() local 48 memset(&mqstat, 0, sizeof(mqstat)); in main() 50 ret = mq_getattr(mqdes_invalid, &mqstat); in main()
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 1393 #define __sanitizer_syscall_pre_mq_getsetattr(mqdes, mqstat, omqstat) \ argument 1394 __sanitizer_syscall_pre_impl_mq_getsetattr((long)(mqdes), (long)(mqstat), \ 1396 #define __sanitizer_syscall_post_mq_getsetattr(res, mqdes, mqstat, omqstat) \ argument 1398 (long)(mqstat), (long)(omqstat)) 2796 void __sanitizer_syscall_pre_impl_mq_getsetattr(long mqdes, long mqstat, 2799 long mqstat, long omqstat);
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_syscalls.inc | 2205 PRE_SYSCALL(mq_getsetattr)(long mqdes, const void *mqstat, void *omqstat) { 2206 if (mqstat) PRE_READ(mqstat, struct_mq_attr_sz); 2209 POST_SYSCALL(mq_getsetattr)(long res, long mqdes, const void *mqstat,
|
/external/valgrind/memcheck/tests/x86-linux/ |
D | scalar.stderr.exp | 3968 Syscall param mq_getsetattr(mqstat) contains uninitialised byte(s)
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-linux.c | 2131 vki_mqd_t, mqdes, const struct mq_attr *, mqstat, in PRE()
|