Home
last modified time | relevance | path

Searched refs:tosend (Results 1 – 5 of 5) 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.c221 ulong tosend = len; in load_block() local
223 tosend = min(net_boot_file_size - offset, tosend); in load_block()
224 (void)memcpy(dst, (void *)(save_addr + offset), tosend); in load_block()
226 block, offset, len, tosend); in load_block()
227 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()
/external/wayland/tests/
Ddisplay-test.c1176 feed_pipe(int fd, char tosend) in feed_pipe() argument
1181 count = write(fd, &tosend, 1); in feed_pipe()