/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
D | 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},
|
D | msgsnd01.c | 36 char text[MSGSIZE]; 43 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); in verify_msgsnd() 51 if (qs_buf.msg_cbytes == MSGSIZE && qs_buf.msg_qnum == 1) in verify_msgsnd() 56 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, 1, 0); in verify_msgsnd()
|
D | msgsnd06.c | 38 char text[MSGSIZE]; 43 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); in verify_msgsnd() 63 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in do_test()
|
D | msgsnd05.c | 41 char text[MSGSIZE]; 56 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, tc->flag)); in verify_msgsnd() 106 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in setup()
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 71 #define MSGSIZE 150 macro 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/ipc/msgrcv/ |
D | msgrcv01.c | 117 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, 0) == -1) { in main() 146 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0)); in do_child() 157 init_buf(&cmp_buf, MSGTYPE, MSGSIZE); in do_child() 196 init_buf(&snd_buf, MSGTYPE, MSGSIZE); in setup()
|
D | msgrcv07.c | 83 if (msgsnd(msgq_id, &snd_buf1, MSGSIZE, 0) == -1) in test_msg_except() 86 if (msgsnd(msgq_id, &snd_buf2, MSGSIZE, 0) == -1) in test_msg_except() 96 TEST(msgrcv(msgq_id, &rcv_buf, MSGSIZE, MSGTYPE2, MSG_EXCEPT)); in test_msg_except() 124 if (msgsnd(msgq_id, &snd_buf1, MSGSIZE, 0) == -1) in test_msg_noerror()
|
D | msgrcv04.c | 88 MSGSIZE, 2, IPC_NOWAIT, ENOMSG} 162 init_buf(&snd_buf, MSGTYPE, MSGSIZE); in setup() 165 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, 0) == -1) { in setup()
|
D | msgrcv02.c | 113 TEST(msgrcv(*(TC[i].queue_id), TC[i].mbuf, MSGSIZE, in main() 177 init_buf(&snd_buf, MSGTYPE, MSGSIZE); in setup() 180 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, IPC_NOWAIT) == -1) { in setup()
|
D | msgrcv03.c | 74 &bad_q, MSGSIZE, EINVAL},
|
D | msgrcv06.c | 152 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0)); in do_child()
|
D | msgrcv05.c | 133 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0)); in do_child()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open10.c | 60 #define MSGSIZE 150 macro 71 char DIR_A[MSGSIZE], DIR_B[MSGSIZE]; in main() 72 char setgid_A[MSGSIZE], nosetgid_A[MSGSIZE]; in main() 73 char setgid_B[MSGSIZE], nosetgid_B[MSGSIZE], root_setgid_B[MSGSIZE]; in main()
|
/external/python/cpython3/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() 224 wchar_t message[MSGSIZE]; in locate_pythons_for_key() 246 winerror(status, message, MSGSIZE); in locate_pythons_for_key() 259 winerror(status, message, MSGSIZE); in locate_pythons_for_key() 269 winerror(status, message, MSGSIZE); in locate_pythons_for_key() [all …]
|
/external/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()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgget/ |
D | msgget01.c | 39 char text[MSGSIZE]; 52 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); in verify_msgget() 54 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, MSGTYPE, IPC_NOWAIT); in verify_msgget()
|
/external/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()
|
/external/ltp/testcases/kernel/syscalls/ipc/lib/ |
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 */
|
/external/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()
|
/external/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()
|
/external/ltp/testcases/kernel/containers/sysvipc/ |
D | msg_comm.c | 41 #define MSGSIZE 50 macro 47 char mtext[MSGSIZE];
|
/external/ltp/testcases/kernel/syscalls/ipc/libnewipc/ |
D | libnewipc.h | 28 #define MSGSIZE 1024 macro
|