Searched refs:tosend (Results 1 – 5 of 5) sorted by relevance
/external/webrtc/webrtc/p2p/base/ |
D | pseudotcp_unittest.cc | 287 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/ |
D | tftp.c | 221 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/ |
D | sslstreamadapter_unittest.cc | 588 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()
|
D | socket_unittest.cc | 724 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/ |
D | display-test.c | 1176 feed_pipe(int fd, char tosend) in feed_pipe() argument 1181 count = write(fd, &tosend, 1); in feed_pipe()
|