/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
D | msgrcv02.c | 42 char mtext[MSGSIZE]; 54 {&queue_id, &rcv_buf, MSGSIZE - 1, 2, 0, 0, E2BIG}, 55 {&queue_id, &rcv_buf, MSGSIZE, 2, 0, 1, EACCES}, 56 {&queue_id, NULL, MSGSIZE, 2, 0, 0, EFAULT}, 57 {&bad_id, &rcv_buf, MSGSIZE, 2, 0, 0, EINVAL}, 59 {&queue_id, &rcv_buf, MSGSIZE, 3, IPC_NOWAIT, 0, ENOMSG}, 60 {&queue_id, &rcv_buf, MSGSIZE, -1, IPC_NOWAIT, 0, ENOMSG}, 61 {&queue_id, &rcv_buf, MSGSIZE, -1, IPC_NOWAIT | MSG_EXCEPT, 0, ENOMSG}, 77 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); in do_test()
|
D | msgrcv07.c | 44 char mtext[MSGSIZE]; 53 SAFE_MSGSND(queue_id, &snd_buf[0], MSGSIZE, 0); in prepare_queue() 54 SAFE_MSGSND(queue_id, &snd_buf[1], MSGSIZE, 0); in prepare_queue() 62 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, MSGTYPE2, MSG_EXCEPT)); in test_msg_except() 85 SAFE_MSGSND(queue_id, &snd_buf[0], MSGSIZE, 0); in test_msg_noerror() 122 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, 0, MSG_COPY | IPC_NOWAIT)); in test_msg_copy() 142 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, 1, MSG_COPY | IPC_NOWAIT)); in test_msg_copy() 172 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, 0, 0)); in test_zero_msgtyp() 194 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, MSGTYPE2, 0)); in test_positive_msgtyp() 219 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, -MSGTYPE2, 0)); in test_negative_msgtyp()
|
D | msgrcv03.c | 37 char mtext[MSGSIZE]; 62 …TST_EXP_FAIL2(msgrcv(queue_id, &rcv_buf, MSGSIZE, tc->msg_type, MSG_COPY | tc->msg_flag), tc->exp_… in verify_msgrcv() 63 "msgrcv(%i, %p, %i, %i, %i)", queue_id, &rcv_buf, MSGSIZE, tc->msg_type, MSG_COPY | tc->msg_flag); in verify_msgrcv() 70 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); in setup()
|
D | msgrcv06.c | 22 char text[MSGSIZE]; 27 TST_EXP_FAIL2(msgrcv(queue_id, &rcv_buf, MSGSIZE, 1, 0), EIDRM, in verify_msgrcv() 28 "msgrcv(%i, %p, %d, 1, 0)", queue_id, &rcv_buf, MSGSIZE); in verify_msgrcv()
|
D | msgrcv05.c | 20 char mtext[MSGSIZE]; 33 TST_EXP_FAIL2(msgrcv(queue_id, &rcv_buf, MSGSIZE, 1, 0), EINTR, in verify_msgrcv() 34 "msgrcv(%i, %p, %d, 1, 0)", queue_id, &rcv_buf, MSGSIZE); in verify_msgrcv()
|
D | msgrcv01.c | 19 char mtext[MSGSIZE]; 27 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); in verify_msgrcv() 30 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, 1, 0)); in verify_msgrcv()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
D | msgsnd02.c | 39 char text[MSGSIZE]; 54 {&queue_id, &snd_buf[0], MSGSIZE, EACCES, 1}, 55 {&queue_id, NULL, MSGSIZE, EFAULT, 0}, 56 {&bad_id, &snd_buf[0], MSGSIZE, EINVAL, 0}, 57 {&queue_id, &snd_buf[1], MSGSIZE, EINVAL, 0}, 58 {&queue_id, &snd_buf[2], MSGSIZE, EINVAL, 0},
|
D | msgsnd06.c | 26 char text[MSGSIZE]; 31 TST_EXP_FAIL(msgsnd(queue_id, &snd_buf, MSGSIZE, 0), EIDRM, in verify_msgsnd() 32 "msgsnd(%i, %p, %i, 0)", queue_id, &snd_buf, MSGSIZE); in verify_msgsnd() 41 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in do_test()
|
D | msgsnd01.c | 25 char text[MSGSIZE]; 34 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); in verify_msgsnd() 43 if (qs_buf.msg_cbytes == MSGSIZE && qs_buf.msg_qnum == 1) in verify_msgsnd() 63 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, 1, 0); in verify_msgsnd()
|
D | msgsnd05.c | 29 char text[MSGSIZE]; 44 TST_EXP_FAIL(msgsnd(queue_id, &snd_buf, MSGSIZE, tc->flag), tc->exp_err, in verify_msgsnd() 45 "msgsnd(%i, %p, %i, %i)", queue_id, &snd_buf, MSGSIZE, tc->flag); in verify_msgsnd() 84 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in setup()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_send/ |
D | 2-1.c | 24 #define MSGSIZE 10 // < strlen(MSGSTR) macro 36 attr.mq_msgsize = MSGSIZE; in main() 37 attr.mq_maxmsg = MSGSIZE; in main()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgget/ |
D | msgget01.c | 28 char text[MSGSIZE]; 41 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); in verify_msgget() 43 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, MSGTYPE, IPC_NOWAIT); in verify_msgget()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/ |
D | 2-1.c | 25 #define MSGSIZE 10 // < strlen(MSGSTR) macro 38 attr.mq_msgsize = MSGSIZE; in main() 39 attr.mq_maxmsg = MSGSIZE; in main()
|
/third_party/python/PC/ |
D | launcher.c | 17 #define MSGSIZE 1024 macro 90 wchar_t message[MSGSIZE]; in error() 91 wchar_t win_message[MSGSIZE]; in error() 95 len = _vsnwprintf_s(message, MSGSIZE, _TRUNCATE, format, va); in error() 99 winerror(GetLastError(), win_message, MSGSIZE); in error() 101 _snwprintf_s(&message[len], MSGSIZE - len, _TRUNCATE, L": %ls", in error() 254 wchar_t message[MSGSIZE]; in _locate_pythons_for_key() 276 winerror(status, message, MSGSIZE); in _locate_pythons_for_key() 297 winerror(status, message, MSGSIZE); in _locate_pythons_for_key() 316 winerror(status, message, MSGSIZE); in _locate_pythons_for_key() [all …]
|
/third_party/ltp/include/ |
D | ipcmsg.h | 41 #define MSGSIZE 1024 /* a resonable size for a message */ macro 50 char mtext[MSGSIZE + 1]; /* add 1 here so the message can be 1024 */
|
D | libnewipc.h | 31 #define MSGSIZE 1024 macro
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
D | 13-1.c | 25 #define MSGSIZE 5 macro 37 attr.mq_msgsize = MSGSIZE; in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_getattr/ |
D | 3-1.c | 33 #define MSGSIZE 50 macro 46 mqstat.mq_msgsize = MSGSIZE; in main()
|
D | 4-1.c | 31 #define MSGSIZE 50 macro 46 mqstat.mq_msgsize = MSGSIZE; in main()
|
/third_party/ltp/testcases/kernel/containers/sysvipc/ |
D | msg_comm.c | 41 #define MSGSIZE 50 macro 47 char mtext[MSGSIZE];
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
D | errno.rs | 369 pub const MSGSIZE: Self = Self::from_errno(errno::EMSGSIZE); constant
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
D | errno.rs | 542 pub const MSGSIZE: Self = Self(c::EMSGSIZE); constant
|