Home
last modified time | relevance | path

Searched refs:remaining_bytes (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/content/browser/speech/
Dchunked_byte_buffer.cc41 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/
Draw_channel.cc304 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/
Drtp_format_vp8.cc348 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()
Drtp_format_vp8.h118 int remaining_bytes,
/external/chromium_org/media/cast/net/rtcp/
Drtcp_builder_unittest.cc255 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/
Dstream.cc150 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/
Durl_request_simple_job.cc88 int remaining_bytes = byte_range_.last_byte_position() - in OnGetDataCompleted() local
90 set_expected_content_size(remaining_bytes); in OnGetDataCompleted()
Durl_request_file_job.h58 int64 remaining_bytes() const { return remaining_bytes_; } in remaining_bytes() function
/external/chromium_org/third_party/zlib/google/
Dzip_internal.cc168 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/
Dselection_owner.cc65 unsigned long remaining_bytes = 0; in GetAtomPairArrayProperty() local
78 &remaining_bytes, in GetAtomPairArrayProperty()
Dx11_util.cc90 unsigned long remaining_bytes = 0; in GetProperty() local
101 &remaining_bytes, in GetProperty()
/external/chromium_org/extensions/browser/
Dextension_protocols.cc253 if (!remaining_bytes()) in OnReadComplete()
/external/chromium_org/third_party/cld/encodings/compact_lang_det/
Dcompact_lang_det_impl.cc988 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()