Home
last modified time | relevance | path

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

/external/chromium_org/net/quic/congestion_control/
Dtcp_cubic_sender_test.cc51 QuicByteCount bytes_to_send = sender_->AvailableSendWindow(); in SendAvailableSendWindow() local
52 while (bytes_to_send > 0) { in SendAvailableSendWindow()
53 QuicByteCount bytes_in_packet = std::min(kDefaultTCPMSS, bytes_to_send); in SendAvailableSendWindow()
56 bytes_to_send -= bytes_in_packet; in SendAvailableSendWindow()
57 if (bytes_to_send > 0) { in SendAvailableSendWindow()
125 QuicByteCount bytes_to_send = sender_->SendWindow(); in TEST_F() local
127 bytes_to_send); in TEST_F()
/external/chromium_org/chrome_frame/test/
Dtest_server.cc353 int bytes_to_send = std::min(options_.chunk_size_, size - cur_pos_); in SendChunk() local
355 socket_->Send(chunk_ptr, bytes_to_send); in SendChunk()
356 VLOG(1) << "Sent(" << cur_pos_ << "," << bytes_to_send << "): " in SendChunk()
357 << base::StringPiece(chunk_ptr, bytes_to_send); in SendChunk()
359 cur_pos_ += bytes_to_send; in SendChunk()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
Dstandalone.py707 bytes_to_send = request_array[0]
709 bytes_to_send = int(bytes_to_send)
711 self._logger.debug('Malformed size parameter: %r', bytes_to_send)
713 self._logger.debug('Requested to send %s bytes', bytes_to_send)
733 'Content-Length: %d\r\n\r\n' % bytes_to_send)
740 while bytes_to_send > 0:
741 bytes_to_send_in_this_loop = bytes_to_send
752 bytes_to_send -= bytes_to_send_in_this_loop
/external/bluetooth/bluedroid/hci/src/
Dhci_h4.c597 uint16_t bytes_to_send, lay_spec; in hci_h4_send_msg() local
643 bytes_to_send = acl_pkt_size + 1; /* packet_size + message type */ in hci_h4_send_msg()
645 bytes_sent = userial_write(event,(uint8_t *) p,bytes_to_send); in hci_h4_send_msg()
697 bytes_to_send = p_msg->len + 1; /* message_size + message type */ in hci_h4_send_msg()
699 bytes_sent = userial_write(event,(uint8_t *) p, bytes_to_send); in hci_h4_send_msg()
/external/chromium/net/spdy/
Dspdy_framer.cc486 size_t bytes_to_send = std::min(data_len, remaining_control_payload_); in ProcessControlFrameHeaderBlock() local
487 DCHECK_GT(bytes_to_send, 0u); in ProcessControlFrameHeaderBlock()
489 &control_frame, data, bytes_to_send); in ProcessControlFrameHeaderBlock()
490 data_len -= bytes_to_send; in ProcessControlFrameHeaderBlock()
491 remaining_control_payload_ -= bytes_to_send; in ProcessControlFrameHeaderBlock()