Lines Matching refs:MESSAGE_SIZE
16 #define MESSAGE_SIZE 16 macro
21 static char send_data[MESSAGE_SIZE] = "timed data send";
30 static char rec_data[MESSAGE_SIZE];
40 zassert_false(mq_timedsend(mqd, send_data, MESSAGE_SIZE, 0, &curtime), in sender_thread()
58 mq_timedreceive(mqd, rec_data, MESSAGE_SIZE, 0, &curtime); in receiver_thread()
77 attrs.mq_msgsize = MESSAGE_SIZE; in ZTEST()
108 mq_receive(mqd, rec_data, MESSAGE_SIZE, 0); in notify_function_basic()
121 .mq_msgsize = MESSAGE_SIZE, in ZTEST()
133 memset(rec_data, 0, MESSAGE_SIZE); in ZTEST()
139 zassert_ok(mq_send(mqd, send_data, MESSAGE_SIZE, 0), "Unable to send message"); in ZTEST()
157 mq_receive(mqd, rec_data, MESSAGE_SIZE, 0); in notify_function_thread()
170 .mq_msgsize = MESSAGE_SIZE, in ZTEST()
182 memset(rec_data, 0, MESSAGE_SIZE); in ZTEST()
188 zassert_ok(mq_send(mqd, send_data, MESSAGE_SIZE, 0), "Unable to send message"); in ZTEST()
202 .mq_msgsize = MESSAGE_SIZE, in ZTEST()
214 memset(rec_data, 0, MESSAGE_SIZE); in ZTEST()
218 zassert_ok(mq_send(mqd, send_data, MESSAGE_SIZE, 0), "Unable to send message"); in ZTEST()
224 mq_receive(mqd, rec_data, MESSAGE_SIZE, 0); in ZTEST()
228 memset(rec_data, 0, MESSAGE_SIZE); in ZTEST()
230 zassert_ok(mq_send(mqd, send_data, MESSAGE_SIZE, 0), "Unable to send message"); in ZTEST()
242 .mq_msgsize = MESSAGE_SIZE, in ZTEST()