Searched refs:ReceiveAll (Results 1 – 5 of 5) sorted by relevance
/system/core/fastboot/device/ |
D | tcp_client.cpp | 69 if (socket_->ReceiveAll(buffer, 8, 0) == 8) { in Read() 86 socket_->ReceiveAll(reinterpret_cast<char*>(data) + total_read, read_length, 0); in Read() 146 if (socket_->ReceiveAll(buffer, kHandshakeLength, kHandshakeTimeoutMs) != in ListenFastbootSocket()
|
/system/core/fastboot/ |
D | tcp.cpp | 105 if (socket_->ReceiveAll(buffer, kHandshakeLength, kHandshakeTimeoutMs) != kHandshakeLength) { in InitializeProtocol() 136 if (socket_->ReceiveAll(buffer, 8, 0) != 8) { in Read() 147 ssize_t bytes_read = socket_->ReceiveAll(data, length, 0); in Read()
|
D | socket.h | 88 virtual ssize_t ReceiveAll(void* data, size_t length, int timeout_ms);
|
D | socket.cpp | 51 ssize_t Socket::ReceiveAll(void* data, size_t length, int timeout_ms) { in ReceiveAll() function in Socket
|
D | socket_test.cpp | 72 ssize_t bytes = sock->ReceiveAll(&received[0], received.length(), kTestTimeoutMs); in ReceiveString()
|