Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
Dxhr_benchmark_handler.py61 bytes_to_send = request_array[0]
63 bytes_to_send = int(bytes_to_send)
65 self._logger.debug('Malformed size parameter: %r', bytes_to_send)
67 self._logger.debug('Requested to send %s bytes', bytes_to_send)
87 'Content-Length: %d\r\n\r\n' % bytes_to_send)
94 while bytes_to_send > 0:
95 bytes_to_send_in_this_loop = bytes_to_send
106 bytes_to_send -= bytes_to_send_in_this_loop
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_format_h264.cc199 size_t* bytes_to_send, in NextPacket() argument
201 *bytes_to_send = 0; in NextPacket()
203 *bytes_to_send = 0; in NextPacket()
212 *bytes_to_send = packet.size; in NextPacket()
215 assert(*bytes_to_send <= max_payload_len_); in NextPacket()
217 NextAggregatePacket(buffer, bytes_to_send); in NextPacket()
218 assert(*bytes_to_send <= max_payload_len_); in NextPacket()
220 NextFragmentPacket(buffer, bytes_to_send); in NextPacket()
221 assert(*bytes_to_send <= max_payload_len_); in NextPacket()
228 size_t* bytes_to_send) { in NextAggregatePacket() argument
[all …]
Drtp_format_h264.h41 size_t* bytes_to_send,
79 void NextAggregatePacket(uint8_t* buffer, size_t* bytes_to_send);
80 void NextFragmentPacket(uint8_t* buffer, size_t* bytes_to_send);
Drtp_format_video_generic.cc48 size_t* bytes_to_send, in NextPacket() argument
55 *bytes_to_send = payload_length_ + kGenericHeaderLength; in NextPacket()
Drtp_format.h43 size_t* bytes_to_send,
Drtp_format_video_generic.h44 size_t* bytes_to_send,
Drtp_format_vp8.h79 size_t* bytes_to_send,
Drtp_format_vp8.cc295 size_t* bytes_to_send, in NextPacket() argument
318 *bytes_to_send = bytes; in NextPacket()
Drtp_sender.cc459 int RTPSender::TrySendRedundantPayloads(int bytes_to_send) { in TrySendRedundantPayloads() argument
467 int bytes_left = bytes_to_send; in TrySendRedundantPayloads()
482 return bytes_to_send - bytes_left; in TrySendRedundantPayloads()
/external/chromium_org/device/serial/
Ddata_sender.cc258 uint32_t bytes_to_send = static_cast<uint32_t>(data_.size()) - bytes_sent_; in SendData() local
261 &bytes_to_send, in SendData()
266 bytes_sent_ += bytes_to_send; in SendData()
/external/chromium_org/net/websockets/
Dwebsocket_channel.cc430 const size_t bytes_to_send = in SendFlowControl() local
432 const bool final = front.final() && data_size == bytes_to_send; in SendFlowControl()
435 DCHECK(!bytes_to_send || data) << "Non empty data should not be null."; in SendFlowControl()
436 const std::vector<char> data_vector(data, data + bytes_to_send); in SendFlowControl()
439 << " bytes_to_send=" << bytes_to_send; in SendFlowControl()
443 if (bytes_to_send < data_size) { in SendFlowControl()
444 front.DidConsume(bytes_to_send); in SendFlowControl()
448 const int64 signed_bytes_to_send = base::checked_cast<int64>(bytes_to_send); in SendFlowControl()
/external/bluetooth/bluedroid/hci/src/
Dhci_h4.c586 uint16_t bytes_to_send, lay_spec; in hci_h4_send_msg() local
632 bytes_to_send = acl_pkt_size + 1; /* packet_size + message type */ in hci_h4_send_msg()
634 bytes_sent = userial_write(event,(uint8_t *) p,bytes_to_send); in hci_h4_send_msg()
686 bytes_to_send = p_msg->len + 1; /* message_size + message type */ in hci_h4_send_msg()
688 bytes_sent = userial_write(event,(uint8_t *) p, bytes_to_send); in hci_h4_send_msg()
/external/chromium_org/net/quic/congestion_control/
Dtcp_cubic_sender_test.cc174 QuicByteCount bytes_to_send = sender_->SendWindow(); in TEST_F() local
178 bytes_to_send); in TEST_F()
197 QuicByteCount bytes_to_send = sender_->SendWindow(); in TEST_F() local
199 bytes_to_send); in TEST_F()
/external/chromium_org/media/cast/test/utility/
Dudp_proxy.cc82 int64 bytes_to_send = static_cast<int64>( in ProcessBuffer() local
85 if (bytes_to_send < static_cast<int64>(buffer_.front()->size())) { in ProcessBuffer()
86 bytes_to_send = buffer_.front()->size(); in ProcessBuffer()
89 static_cast<int64>(buffer_.front()->size()) <= bytes_to_send) { in ProcessBuffer()
92 bytes_to_send -= packet->size(); in ProcessBuffer()