/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
H A D | msgrcv01.c | 19 char mtext[MSGSIZE]; member 37 if (strcmp(rcv_buf.mtext, snd_buf.mtext) == 0) in verify_msgrcv() 39 rcv_buf.mtext, snd_buf.mtext); in verify_msgrcv() 42 rcv_buf.mtext, snd_buf.mtext); in verify_msgrcv()
|
H A D | msgrcv07.c | 44 char mtext[MSGSIZE]; member 70 if (strcmp(rcv_buf.mtext, MSG1) == 0 && rcv_buf.type == MSGTYPE1) in test_msg_except() 97 if (strncmp(rcv_buf.mtext, MSG1, msg_len) == 0 && rcv_buf.type == MSGTYPE1) in test_msg_noerror() 136 if (strcmp(rcv_buf.mtext, MSG1) == 0 && rcv_buf.type == MSGTYPE1) in test_msg_copy() 150 if (strcmp(rcv_buf.mtext, MSG2) == 0 && rcv_buf.type == MSGTYPE2) in test_msg_copy() 180 if (strcmp(rcv_buf.mtext, MSG1) == 0 && rcv_buf.type == MSGTYPE1) in test_zero_msgtyp() 202 if (strcmp(rcv_buf.mtext, MSG2) == 0 && rcv_buf.type == MSGTYPE2) { in test_positive_msgtyp() 227 if (strcmp(rcv_buf.mtext, MSG1) == 0 && rcv_buf.type == MSGTYPE1) { in test_negative_msgtyp()
|
H A D | msgrcv08.c | 37 char mtext[16]; member 43 SAFE_MSGSND(queue_id, &snd_buf, sizeof(snd_buf.mtext), IPC_NOWAIT); in verify_msgrcv() 45 TEST(msgrcv(queue_id, &rcv_buf, sizeof(rcv_buf.mtext), -mtype, IPC_NOWAIT | MSG_NOERROR)); in verify_msgrcv() 55 if ((size_t)TST_RET != sizeof(snd_buf.mtext)) { in verify_msgrcv() 56 tst_res(TFAIL, "received %zi, expected %zu", (size_t)TST_RET, sizeof(snd_buf.mtext)); in verify_msgrcv()
|
H A D | msgrcv05.c | 20 char mtext[MSGSIZE]; member
|
H A D | msgrcv03.c | 37 char mtext[MSGSIZE]; member
|
H A D | msgrcv02.c | 42 char mtext[MSGSIZE]; member
|
/third_party/ltp/testcases/kernel/containers/sysvipc/ |
H A D | msg_comm.c | 38 char mtext[1]; member 46 .mtext = "A", in chld1_msg() 52 SAFE_MSGSND(id, &m, sizeof(m.mtext), 0); in chld1_msg() 56 TEST(msgrcv(id, &rec, sizeof(rec.mtext), 2, IPC_NOWAIT)); in chld1_msg() 76 .mtext = "B", in chld2_msg() 81 SAFE_MSGSND(id, &m, sizeof(m.mtext), 0); in chld2_msg()
|
H A D | mesgq_nstest.c | 42 char mtext[80]; member 64 n = SAFE_MSGRCV(id, &msg, sizeof(msg.mtext), MSG_TYPE, 0); in check_mesgq() 66 tst_res(TINFO, "Mesg read of %d bytes, Type %ld, Msg: %s", n, msg.mtype, msg.mtext); in check_mesgq() 68 if (strcmp(msg.mtext, MSG_TEXT)) in check_mesgq() 81 .mtext = MSG_TEXT, in run() 85 SAFE_MSGSND(ipc_id, &msg, strlen(msg.mtext), 0); in run()
|
/third_party/ltp/libs/libltpipc/ |
H A D | libipc.c | 106 m_buf->mtext[i] = ascii_a + (i % 26); in init_buf() 110 m_buf->mtext[i] = '\0'; in init_buf()
|
/third_party/ltp/include/ |
H A D | ipcmsg.h | 48 char mtext[MSGSIZE + 1]; /* add 1 here so the message can be 1024 */ member
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | msg.h | 45 char mtext[1]; member
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | msg.h | 45 char mtext[1]; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | msg.h | 45 char mtext[1]; member
|
/third_party/musl/include/sys/ |
H A D | msg.h | 45 char mtext[1]; member
|