Lines Matching refs:UnixSocketMessage
45 send_msg.len = sizeof(UnixSocketMessage) + n; in TEST()
48 *reinterpret_cast<UnixSocketMessage*>(&send_msg))) { in TEST()
67 read_func(sizeof(UnixSocketMessage)); in TEST()
72 ASSERT_EQ(msg->len, msg->type + sizeof(UnixSocketMessage)); in TEST()
86 auto receive_message_callback = [&](const UnixSocketMessage& msg) { in ClientToTestUndelayedMessage()
87 if (msg.len != sizeof(UnixSocketMessage)) { in ClientToTestUndelayedMessage()
90 UnixSocketMessage reply_msg; in ClientToTestUndelayedMessage()
91 reply_msg.len = sizeof(UnixSocketMessage); in ClientToTestUndelayedMessage()
116 auto receive_message_callback = [&](const UnixSocketMessage& msg) { in TEST()
117 if (msg.len != sizeof(UnixSocketMessage) || msg.type != need_reply_type) { in TEST()
123 UnixSocketMessage new_msg; in TEST()
124 new_msg.len = sizeof(UnixSocketMessage); in TEST()
132 UnixSocketMessage msg; in TEST()
133 msg.len = sizeof(UnixSocketMessage); in TEST()
148 auto receive_message_callback = [&](const UnixSocketMessage& msg) { in ClientToTestBufferedMessage()
149 if (msg.len != sizeof(UnixSocketMessage) || msg.type != 0) { in ClientToTestBufferedMessage()
158 UnixSocketMessage msg; in ClientToTestBufferedMessage()
159 msg.len = sizeof(UnixSocketMessage); in ClientToTestBufferedMessage()
183 auto receive_message_callback = [&](const UnixSocketMessage& msg) { in TEST()
186 if (msg.len != sizeof(UnixSocketMessage) || msg.type != need_reply_type) { in TEST()
191 UnixSocketMessage new_msg; in TEST()
192 new_msg.len = sizeof(UnixSocketMessage); in TEST()