Home
last modified time | relevance | path

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

/external/webrtc/webrtc/p2p/base/
Dpseudotcp_unittest.cc287 size_t position, tosend; in WriteData() local
292 if (send_stream_.Read(block, sizeof(block), &tosend, NULL) != in WriteData()
294 sent = local_.Send(block, tosend); in WriteData()
304 sent = static_cast<int>(tosend = 0); in WriteData()
307 *done = (tosend == 0); in WriteData()
406 size_t position, tosend; in WriteData() local
411 tosend = bytes_per_send_ ? bytes_per_send_ : sizeof(block); in WriteData()
412 if (send_stream_.Read(block, tosend, &tosend, NULL) != in WriteData()
414 sent = sender_->Send(block, tosend); in WriteData()
424 sent = static_cast<int>(tosend = 0); in WriteData()
[all …]
/external/u-boot/net/
Dtftp.c232 ulong tosend = len; in load_block() local
234 tosend = min(net_boot_file_size - offset, tosend); in load_block()
235 (void)memcpy(dst, (void *)(save_addr + offset), tosend); in load_block()
237 block, offset, len, tosend); in load_block()
238 return tosend; in load_block()
/external/webrtc/webrtc/base/
Dsslstreamadapter_unittest.cc588 size_t position, tosend, size; in WriteData() local
599 if (send_stream_.Read(block, sizeof(block), &tosend, NULL) != in WriteData()
601 rv = client_ssl_->Write(block, tosend, &sent, 0); in WriteData()
Dsocket_unittest.cc724 int tosend = static_cast<int>(kDataSize - send_pos); in TcpInternal() local
725 int sent = accepted->Send(send_buffer.get() + send_pos, tosend); in TcpInternal()
733 EXPECT_LE(sent, tosend); in TcpInternal()