Lines Matching refs:IPC
35 namespace IPC { namespace
42 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST()
74 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL); in TEST()
75 IPC::WriteParam(&msg, input); in TEST()
79 EXPECT_TRUE(IPC::ReadParam(&msg, &iter, &output)); in TEST()
84 IPC::Message bad_msg(1, 2, IPC::Message::PRIORITY_NORMAL); in TEST()
87 EXPECT_FALSE(IPC::ReadParam(&bad_msg, &iter, &output)); in TEST()
109 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL); in TEST()
110 IPC::WriteParam(&msg, input); in TEST()
114 EXPECT_TRUE(IPC::ReadParam(&msg, &iter, &output)); in TEST()
119 IPC::Message bad_msg(1, 2, IPC::Message::PRIORITY_NORMAL); in TEST()
122 EXPECT_FALSE(IPC::ReadParam(&bad_msg, &iter, &output)); in TEST()
126 IPC::Message message; in TEST()
136 IPC::Message::NextMessageInfo next; in TEST()
139 IPC::Message::FindNext(data_start, data_end + 1, &next); in TEST()
146 IPC::Message::FindNext(data_start, data_end, &next); in TEST()
154 IPC::Message::FindNext(data_start, data_end - 1, &next); in TEST()
160 IPC::Message::FindNext(data_start, in TEST()
161 data_start + sizeof(IPC::Message::Header) - 1, in TEST()
167 IPC::Message::FindNext(data_start, in TEST()
175 IPC::Message message; in TEST()
182 IPC::Message::NextMessageInfo next; in TEST()
186 IPC::Message::FindNext(data_start, data_end, &next); in TEST()
191 message.header()->payload_size + sizeof(IPC::Message::Header)); in TEST()
200 IPC::Message::FindNext(data_start, data_end, &next); in TEST()
203 message.header()->payload_size + sizeof(IPC::Message::Header)); in TEST()
212 bool OnMessageReceived(const IPC::Message& message) { in OnMessageReceived()