Lines Matching refs:buffers
177 std::vector<cutils_socket_buffer_t> buffers{{data[0].data(), data[0].length()}, in TEST() local
184 sock->socket_send_buffers_function_ = [&buffers, &mock_return_value]( in TEST()
187 EXPECT_EQ(buffers.size(), num_sent_buffers); in TEST()
189 EXPECT_EQ(buffers[i].data, sent_buffers[i].data); in TEST()
190 EXPECT_EQ(buffers[i].length, sent_buffers[i].length); in TEST()
196 EXPECT_TRUE(sock->Send(buffers)); in TEST()
199 EXPECT_FALSE(sock->Send(buffers)); in TEST()
202 EXPECT_FALSE(sock->Send(buffers)); in TEST()
205 EXPECT_FALSE(sock->Send(buffers)); in TEST()
214 std::vector<cutils_socket_buffer_t> buffers{{data[0].data(), data[0].length()}, in TEST() local
244 cutils_socket_t /*cutils_sock*/, cutils_socket_buffer_t* buffers, in TEST()
269 EXPECT_EQ(expected_next_byte, buffers[0].data); in TEST()
270 EXPECT_EQ(expected_next_size, buffers[0].length); in TEST()
278 EXPECT_EQ(expect_success, sock->Send(buffers)); in TEST()