Searched refs:MSG_SIZE (Results 1 – 8 of 8) sorted by relevance
/third_party/ltp/testcases/open_posix_testsuite/functional/mqueues/ |
D | send_rev_2.c | 30 #define MSG_SIZE 128 macro 35 static char r_msg_ptr_1[MAX_MSG][MSG_SIZE]; 36 static char r_msg_ptr_2[MAX_MSG][MSG_SIZE]; 46 if (-1 == mq_send(mq1, s_msg_ptr[i], MSG_SIZE, i)) { in send_1() 64 if (-1 == mq_send(mq2, s_msg_ptr[i], MSG_SIZE, i)) { in send_2() 81 if (-1 == mq_receive(mq1, r_msg_ptr_1[i], MSG_SIZE, NULL)) { in receive_1() 98 if (-1 == mq_receive(mq2, r_msg_ptr_2[i], MSG_SIZE, NULL)) { in receive_2() 117 mqstat.mq_msgsize = MSG_SIZE; in main()
|
D | send_rev_1.c | 25 #define MSG_SIZE 128 macro 31 char r_msg_ptr[MAX_MSG][MSG_SIZE]; in main() 41 mqstat.mq_msgsize = MSG_SIZE; in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_notify/ |
D | 5-1.c | 44 #define MSG_SIZE 40 macro 64 const char s_msg_ptr[MSG_SIZE] = "test message \n"; in main() 65 char r_msg_ptr[MSG_SIZE]; in main() 91 mq_receive(mqdes, r_msg_ptr, MSG_SIZE, NULL); in main() 106 if (mq_send(mqdes, s_msg_ptr, MSG_SIZE, prio) == -1) { in main()
|
D | 1-1.c | 37 #define MSG_SIZE 50 macro 56 const char s_msg_ptr[MSG_SIZE] = "test message \n"; in main() 79 if (mq_send(mqdes, s_msg_ptr, MSG_SIZE, prio) == -1) { in main()
|
D | 4-1.c | 33 #define MSG_SIZE 50 macro 53 const char s_msg_ptr[MSG_SIZE] = "test message \n"; in main() 76 if (mq_send(mqdes, s_msg_ptr, MSG_SIZE, prio) == -1) { in main()
|
D | 3-1.c | 36 #define MSG_SIZE 50 macro 56 const char s_msg_ptr[MSG_SIZE] = "test message \n"; in main() 82 if (mq_send(mqdes, s_msg_ptr, MSG_SIZE, prio) == -1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/mqueues/ |
D | multi_send_rev_2.c | 29 #define MSG_SIZE 128 macro 35 static char r_msg_ptr[Max_Threads][MAX_MSG][MSG_SIZE]; 45 if (-1 == mq_send(mq, s_msg_ptr[i], MSG_SIZE, i)) { in msend() 64 mq_receive(mq, r_msg_ptr[ThreadID][i], MSG_SIZE, NULL)) { in mreceive() 99 mqstat.mq_msgsize = MSG_SIZE; in main()
|
D | multi_send_rev_1.c | 28 #define MSG_SIZE 128 macro 49 if (-1 == mq_send(send_info.mqID, s_msg_ptr[i], MSG_SIZE, i)) { in msend() 63 char r_msg_ptr[MAX_MSG][MSG_SIZE]; in mreceive() 72 mq_receive(recv_info.mqID, r_msg_ptr[i], MSG_SIZE, NULL)) { in mreceive() 110 mqstat.mq_msgsize = MSG_SIZE; in main()
|