Home
last modified time | relevance | path

Searched refs:MSG_SIZE (Results 1 – 8 of 8) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/functional/mqueues/
Dsend_rev_2.c30 #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()
Dsend_rev_1.c25 #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/
D5-1.c44 #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()
D1-1.c37 #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()
D4-1.c33 #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()
D3-1.c36 #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/
Dmulti_send_rev_2.c29 #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()
Dmulti_send_rev_1.c28 #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()