Home
last modified time | relevance | path

Searched refs:buffStart (Results 1 – 1 of 1) sorted by relevance

/external/qemu/android/
Dhw-pipe-net.c254 int buffStart = 0; in netPipe_sendBuffers() local
267 int avail = buff->size - buffStart; in netPipe_sendBuffers()
268 int len = socket_send(pipe->io->fd, buff->data + buffStart, avail); in netPipe_sendBuffers()
272 buffStart += len; in netPipe_sendBuffers()
273 if (buffStart >= buff->size) { in netPipe_sendBuffers()
275 buffStart = 0; in netPipe_sendBuffers()
312 int buffStart = 0; in netPipe_recvBuffers() local
321 int avail = buff->size - buffStart; in netPipe_recvBuffers()
322 int len = socket_recv(pipe->io->fd, buff->data + buffStart, avail); in netPipe_recvBuffers()
326 buffStart += len; in netPipe_recvBuffers()
[all …]