/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
msgsnd01.c | 36 char text[MSGSIZE]; 43 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); 51 if (qs_buf.msg_cbytes == MSGSIZE && qs_buf.msg_qnum == 1) 56 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, 1, 0);
|
msgsnd02.c | 51 char text[MSGSIZE]; 66 {&queue_id, &snd_buf[0], MSGSIZE, EACCES, 1}, 67 {&queue_id, NULL, MSGSIZE, EFAULT, 0}, 68 {&bad_id, &snd_buf[0], MSGSIZE, EINVAL, 0}, 69 {&queue_id, &snd_buf[1], MSGSIZE, EINVAL, 0}, 70 {&queue_id, &snd_buf[2], MSGSIZE, EINVAL, 0},
|
msgsnd05.c | 41 char text[MSGSIZE]; 56 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, tc->flag)); 106 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1)
|
msgsnd06.c | 38 char text[MSGSIZE]; 43 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); 63 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1)
|
/external/ltp/testcases/kernel/syscalls/ipc/msgget/ |
msgget01.c | 39 char text[MSGSIZE]; 52 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); 54 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, MSGTYPE, IPC_NOWAIT);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_send/ |
2-1.c | 24 #define MSGSIZE 10 // < strlen(MSGSTR) 36 attr.mq_msgsize = MSGSIZE; 37 attr.mq_maxmsg = MSGSIZE;
|
/external/ltp/testcases/kernel/syscalls/ipc/lib/ |
ipcmsg.h | 41 #define MSGSIZE 1024 /* a resonable size for a message */ 50 char mtext[MSGSIZE + 1]; /* add 1 here so the message can be 1024 */
|
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
msgrcv01.c | 117 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, 0) == -1) { 146 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0)); 157 init_buf(&cmp_buf, MSGTYPE, MSGSIZE); 196 init_buf(&snd_buf, MSGTYPE, MSGSIZE);
|
msgrcv04.c | 88 MSGSIZE, 2, IPC_NOWAIT, ENOMSG} 162 init_buf(&snd_buf, MSGTYPE, MSGSIZE); 165 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, 0) == -1) {
|
msgrcv02.c | 113 TEST(msgrcv(*(TC[i].queue_id), TC[i].mbuf, MSGSIZE, 177 init_buf(&snd_buf, MSGTYPE, MSGSIZE); 180 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, IPC_NOWAIT) == -1) {
|
msgrcv07.c | 83 if (msgsnd(msgq_id, &snd_buf1, MSGSIZE, 0) == -1) 86 if (msgsnd(msgq_id, &snd_buf2, MSGSIZE, 0) == -1) 96 TEST(msgrcv(msgq_id, &rcv_buf, MSGSIZE, MSGTYPE2, MSG_EXCEPT)); 124 if (msgsnd(msgq_id, &snd_buf1, MSGSIZE, 0) == -1)
|
msgrcv03.c | 74 &bad_q, MSGSIZE, EINVAL},
|
msgrcv05.c | 133 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0));
|
msgrcv06.c | 152 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/ |
2-1.c | 25 #define MSGSIZE 10 // < strlen(MSGSTR) 38 attr.mq_msgsize = MSGSIZE; 39 attr.mq_maxmsg = MSGSIZE;
|
/external/ltp/testcases/kernel/syscalls/ipc/libnewipc/ |
libnewipc.h | 28 #define MSGSIZE 1024
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_getattr/ |
3-1.c | 33 #define MSGSIZE 50 46 mqstat.mq_msgsize = MSGSIZE;
|
4-1.c | 31 #define MSGSIZE 50 46 mqstat.mq_msgsize = MSGSIZE;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
13-1.c | 25 #define MSGSIZE 5 37 attr.mq_msgsize = MSGSIZE;
|
/external/ltp/testcases/kernel/syscalls/creat/ |
creat08.c | 71 #define MSGSIZE 150 77 static char DIR_A[MSGSIZE], DIR_B[MSGSIZE]; 78 static char setgid_A[MSGSIZE], nosetgid_A[MSGSIZE]; 79 static char setgid_B[MSGSIZE], nosetgid_B[MSGSIZE], root_setgid_B[MSGSIZE];
|
/external/ltp/testcases/kernel/syscalls/open/ |
open10.c | 60 #define MSGSIZE 150 71 char DIR_A[MSGSIZE], DIR_B[MSGSIZE]; 72 char setgid_A[MSGSIZE], nosetgid_A[MSGSIZE]; 73 char setgid_B[MSGSIZE], nosetgid_B[MSGSIZE], root_setgid_B[MSGSIZE];
|
/external/ltp/testcases/kernel/containers/sysvipc/ |
msg_comm.c | 41 #define MSGSIZE 50 47 char mtext[MSGSIZE];
|
/external/python/cpython3/PC/ |
launcher.c | 17 #define MSGSIZE 1024 90 wchar_t message[MSGSIZE]; 91 wchar_t win_message[MSGSIZE]; 95 len = _vsnwprintf_s(message, MSGSIZE, _TRUNCATE, format, va); 99 winerror(GetLastError(), win_message, MSGSIZE); 101 _snwprintf_s(&message[len], MSGSIZE - len, _TRUNCATE, L": %ls", 224 wchar_t message[MSGSIZE]; 246 winerror(status, message, MSGSIZE); 259 winerror(status, message, MSGSIZE); 269 winerror(status, message, MSGSIZE); [all...] |