Searched refs:remaining_bytes (Results 1 – 13 of 13) sorted by relevance
/external/chromium_org/content/browser/speech/ |
D | chunked_byte_buffer.cc | 41 size_t remaining_bytes = length; in Append() local 44 while (remaining_bytes > 0) { in Append() 54 insert_length = std::min(bytes_to_complete_header, remaining_bytes); in Append() 56 header_completed = (remaining_bytes >= bytes_to_complete_header); in Append() 63 insert_length = std::min(bytes_to_complete_chunk, remaining_bytes); in Append() 65 content_completed = (remaining_bytes >= bytes_to_complete_chunk); in Append() 69 DCHECK_LE(insert_length, remaining_bytes); in Append() 75 remaining_bytes -= insert_length; in Append()
|
/external/chromium_org/mojo/system/ |
D | raw_channel.cc | 304 size_t remaining_bytes = read_buffer_->num_valid_bytes_; in OnReadCompleted() local 313 while (remaining_bytes > 0 && MessageInTransit::GetNextMessageSize( in OnReadCompleted() 315 remaining_bytes, in OnReadCompleted() 317 remaining_bytes >= message_size) { in OnReadCompleted() 378 remaining_bytes -= message_size; in OnReadCompleted() 383 read_buffer_->num_valid_bytes_ = remaining_bytes; in OnReadCompleted() 387 remaining_bytes); in OnReadCompleted()
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
D | rtp_format_vp8.cc | 348 int remaining_bytes, in CalcNextSize() argument 350 if (max_payload_len == 0 || remaining_bytes == 0) { in CalcNextSize() 354 return max_payload_len >= remaining_bytes ? remaining_bytes : 0; in CalcNextSize() 361 int num_frags = remaining_bytes / max_payload_len + 1; in CalcNextSize() 363 return static_cast<int>(static_cast<double>(remaining_bytes) / num_frags + in CalcNextSize() 366 return max_payload_len >= remaining_bytes ? remaining_bytes in CalcNextSize()
|
D | rtp_format_vp8.h | 118 int remaining_bytes,
|
/external/chromium_org/media/cast/net/rtcp/ |
D | rtcp_builder_unittest.cc | 255 int remaining_bytes = kMaxReceiverLogBytes; in TEST_F() local 256 remaining_bytes -= kRtcpCastLogHeaderSize; in TEST_F() 258 remaining_bytes -= kRtcpReceiverFrameLogSize; in TEST_F() 259 int num_events = remaining_bytes / kRtcpReceiverEventLogSize; in TEST_F() 319 int remaining_bytes = kMaxReceiverLogBytes; in TEST_F() local 320 remaining_bytes -= kRtcpCastLogHeaderSize; in TEST_F() 323 remaining_bytes / (kRtcpReceiverFrameLogSize + kRtcpReceiverEventLogSize); in TEST_F()
|
/external/chromium_org/content/browser/streams/ |
D | stream.cc | 150 const size_t remaining_bytes = data_length_ - data_bytes_read_; in ReadRawData() local 152 static_cast<size_t>(buf_size) < remaining_bytes ? in ReadRawData() 153 buf_size : remaining_bytes; in ReadRawData()
|
/external/chromium_org/net/url_request/ |
D | url_request_simple_job.cc | 88 int remaining_bytes = byte_range_.last_byte_position() - in OnGetDataCompleted() local 90 set_expected_content_size(remaining_bytes); in OnGetDataCompleted()
|
D | url_request_file_job.h | 58 int64 remaining_bytes() const { return remaining_bytes_; } in remaining_bytes() function
|
/external/chromium_org/third_party/zlib/google/ |
D | zip_internal.cc | 168 size_t remaining_bytes = buffer->length - buffer->offset; in ReadZipBuffer() local 169 if (!buffer || !buffer->data || !remaining_bytes) in ReadZipBuffer() 171 size = std::min(size, static_cast<uLong>(remaining_bytes)); in ReadZipBuffer()
|
/external/chromium_org/ui/base/x/ |
D | selection_owner.cc | 65 unsigned long remaining_bytes = 0; in GetAtomPairArrayProperty() local 78 &remaining_bytes, in GetAtomPairArrayProperty()
|
D | x11_util.cc | 90 unsigned long remaining_bytes = 0; in GetProperty() local 101 &remaining_bytes, in GetProperty()
|
/external/chromium_org/extensions/browser/ |
D | extension_protocols.cc | 253 if (!remaining_bytes()) in OnReadComplete()
|
/external/chromium_org/third_party/cld/encodings/compact_lang_det/ |
D | compact_lang_det_impl.cc | 988 int remaining_bytes = srclimit - src; in CheapSqueezeInplace() local 989 int len = cld::minint(chunksize, remaining_bytes); in CheapSqueezeInplace() 1023 remaining_bytes -= n; // Shrink remaining length in CheapSqueezeInplace()
|