Searched refs:recv_pos (Results 1 – 1 of 1) sorted by relevance
/external/webrtc/rtc_base/ |
D | virtual_socket_unittest.cc | 544 size_t send_pos = 0, recv_pos = 0; in TcpSendTest() local 570 result = b->Recv(recv_buffer + recv_pos, 500, nullptr); in TcpSendTest() 572 recv_pos += result; in TcpSendTest() 585 result = b->Recv(recv_buffer + recv_pos, kDataSize - recv_pos, nullptr); in TcpSendTest() 591 recv_pos += result; in TcpSendTest() 599 result = b->Recv(recv_buffer + recv_pos, kDataSize - recv_pos, nullptr); in TcpSendTest() 605 recv_pos += result; in TcpSendTest() 618 result = b->Recv(recv_buffer + recv_pos, kDataSize - recv_pos, nullptr); in TcpSendTest() 624 recv_pos += result; in TcpSendTest() 632 EXPECT_EQ(kDataSize, recv_pos); in TcpSendTest()
|