Home
last modified time | relevance | path

Searched refs:data_size_ (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/chrome/common/
Dpartial_circular_buffer.cc23 data_size_(0), in PartialCircularBuffer()
28 data_size_ = memory_buffer_size_ - header_size; in PartialCircularBuffer()
32 DCHECK_LE(buffer_data_->total_written, data_size_); in PartialCircularBuffer()
33 DCHECK_LT(buffer_data_->wrap_position, data_size_); in PartialCircularBuffer()
34 DCHECK_LT(buffer_data_->end_position, data_size_); in PartialCircularBuffer()
43 data_size_(0), in PartialCircularBuffer()
48 data_size_ = memory_buffer_size_ - header_size; in PartialCircularBuffer()
54 DCHECK_LT(buffer_data_->wrap_position, data_size_); in PartialCircularBuffer()
57 DCHECK_LT(wrap_position, data_size_); in PartialCircularBuffer()
82 buffer_data_->total_written == data_size_) { in Read()
[all …]
Dpartial_circular_buffer.h60 uint32 data_size_; variable
/external/chromium_org/media/base/
Ddecoder_buffer_queue.cc16 data_size_(0) { in DecoderBufferQueue()
28 data_size_ += base::checked_cast<size_t, int>(buffer->data_size()); in Push()
60 DCHECK_LE(buffer_data_size, data_size_); in Pop()
61 data_size_ -= buffer_data_size; in Pop()
73 data_size_ = 0; in Clear()
Ddata_buffer.cc13 data_size_(0) { in DataBuffer()
21 data_size_(buffer_size) { in DataBuffer()
28 data_size_(data_size) { in DataBuffer()
36 memcpy(data_.get(), data, data_size_); in DataBuffer()
Ddata_buffer.h77 return data_size_; in data_size()
83 data_size_ = data_size; in set_data_size()
106 int data_size_; variable
Ddecoder_buffer_queue.h55 size_t data_size() const { return data_size_; } in data_size()
69 size_t data_size_; variable
/external/chromium_org/media/base/android/
Dwebaudio_media_codec_bridge.cc44 data_size_(data_size) { in WebAudioMediaCodecBridge()
81 if (!encoded_data.Map(data_size_)) { in SaveEncodedAudioToFile()
86 if (static_cast<uint32_t>(write(fd, encoded_data.memory(), data_size_)) in SaveEncodedAudioToFile()
87 != data_size_) { in SaveEncodedAudioToFile()
113 data_size_); in DecodeInMemoryAudioFile()
Dwebaudio_media_codec_bridge.h74 uint32_t data_size_; variable
/external/chromium_org/net/disk_cache/simple/
Dsimple_entry_impl.cc185 COMPILE_ASSERT(arraysize(data_size_) == arraysize(crc32s_end_offset_), in SimpleEntryImpl()
187 COMPILE_ASSERT(arraysize(data_size_) == arraysize(crc32s_), in SimpleEntryImpl()
189 COMPILE_ASSERT(arraysize(data_size_) == arraysize(have_written_), in SimpleEntryImpl()
191 COMPILE_ASSERT(arraysize(data_size_) == arraysize(crc_check_state_), in SimpleEntryImpl()
330 DCHECK_LE(0, data_size_[stream_index]); in GetDataSize()
331 return data_size_[stream_index]; in GetDataSize()
548 std::memset(data_size_, 0, sizeof(data_size_)); in MakeUninitialized()
685 SimpleEntryStat(last_used_, last_modified_, data_size_, in OpenEntryInternal()
734 SimpleEntryStat(last_used_, last_modified_, data_size_, in CreateEntryInternal()
782 SimpleEntryStat(last_used_, last_modified_, data_size_, in CloseInternal()
[all …]
Dsimple_synchronous_entry.h56 int32 data_size(int stream_index) const { return data_size_[stream_index]; } in data_size()
58 data_size_[stream_index] = data_size; in set_data_size()
69 int32 data_size_[kSimpleEntryStreamCount]; variable
Dsimple_synchronous_entry.cc130 memcpy(data_size_, data_size, sizeof(data_size_)); in SimpleEntryStat()
138 stream_index == 0 ? data_size_[1] + sizeof(SimpleFileEOF) : 0; in GetOffsetInFile()
144 return GetOffsetInFile(key, data_size_[stream_index], stream_index); in GetEOFOffsetInFile()
151 file_index == 0 ? data_size_[0] + data_size_[1] + sizeof(SimpleFileEOF) in GetLastEOFOffsetInFile()
152 : data_size_[2]; in GetLastEOFOffsetInFile()
158 file_index == 0 ? data_size_[0] + data_size_[1] + sizeof(SimpleFileEOF) in GetFileSize()
159 : data_size_[2]; in GetFileSize()
Dsimple_entry_impl.h317 int32 data_size_[kSimpleEntryStreamCount]; variable
/external/chromium_org/gpu/command_buffer/service/
Dasync_pixel_transfer_delegate.h54 uint32 data_size() const { return data_size_; } in data_size()
57 return buffer_->GetDataAddress(data_offset_, data_size_); in GetDataAddress()
63 uint32 data_size_; variable
Dasync_pixel_transfer_delegate.cc12 : buffer_(buffer), data_offset_(data_offset), data_size_(data_size) { in AsyncMemoryParams()
/external/chromium_org/third_party/webrtc/base/
Dhttpbase.cc56 data_size_ = SIZE_UNKNOWN; in reset()
91 } else if (data_size_ == 0) { in Process()
102 if ((data_size_ != SIZE_UNKNOWN) && (available > data_size_)) { in Process()
103 available = data_size_; in Process()
115 if (data_size_ != SIZE_UNKNOWN) { in Process()
116 data_size_ -= read; in Process()
158 data_size_ = static_cast<size_t>(temp_size); in ProcessLine()
172 return ProcessHeaderComplete(chunked_, data_size_, error); in ProcessLine()
179 data_size_ = strtoul(line, &ptr, 16); in ProcessLine()
184 state_ = (data_size_ == 0) ? ST_TRAILERS : ST_DATA; in ProcessLine()
[all …]
Dhttpbase.h40 size_t GetDataRemaining() const { return data_size_; } in GetDataRemaining()
64 size_t data_size_; variable
/external/chromium_org/third_party/libjingle/source/talk/base/
Dhttpbase.cc76 data_size_ = SIZE_UNKNOWN; in reset()
111 } else if (data_size_ == 0) { in Process()
122 if ((data_size_ != SIZE_UNKNOWN) && (available > data_size_)) { in Process()
123 available = data_size_; in Process()
135 if (data_size_ != SIZE_UNKNOWN) { in Process()
136 data_size_ -= read; in Process()
178 data_size_ = static_cast<size_t>(temp_size); in ProcessLine()
192 return ProcessHeaderComplete(chunked_, data_size_, error); in ProcessLine()
199 data_size_ = strtoul(line, &ptr, 16); in ProcessLine()
204 state_ = (data_size_ == 0) ? ST_TRAILERS : ST_DATA; in ProcessLine()
[all …]
Dhttpbase.h60 size_t GetDataRemaining() const { return data_size_; } in GetDataRemaining()
84 size_t data_size_; variable
/external/chromium_org/content/browser/appcache/
Dappcache_service_unittest.cc49 data_(data), data_size_(data_size) { in MockResponseReader()
58 info_buffer_->response_data_size = data_size_; in ReadInfo()
71 DCHECK(buf_len >= data_size_); in ReadData()
72 memcpy(buf->data(), data_, data_size_); in ReadData()
73 ScheduleUserCallback(data_size_); in ReadData()
74 data_size_ = 0; in ReadData()
87 int data_size_; member in content::__anon85bb75080111::MockResponseReader
/external/chromium_org/net/disk_cache/memory/
Dmem_entry_impl.cc72 data_size_[i] = 0; in MemEntryImpl()
183 return data_size_[index]; in GetDataSize()
277 backend_->ModifyStorageSize(data_size_[i], 0); in ~MemEntryImpl()
330 data_size_[index] = offset + buf_len; in InternalWriteData()
334 data_size_[index] = offset + buf_len; in InternalWriteData()
Dmem_entry_impl.h162 int32 data_size_[NUM_STREAMS]; variable
/external/chromium_org/content/renderer/media/android/
Daudio_decoder_android.cc169 size_t data_size_; member in content::WAVEDecoder
189 : data_size_(data_size), in WAVEDecoder()
255 if (chunk_size_ > data_size_) in ReadChunkHeader()
/external/chromium_org/media/audio/win/
Daudio_output_win_unittest.cc565 data_size_ = AudioBus::CalculateMemorySize(params); in SyncSocketSource()
567 base::AlignedAlloc(data_size_, AudioBus::kChannelAlignment))); in SyncSocketSource()
576 uint32 size = socket_->Receive(data_.get(), data_size_); in OnMoreData()
593 int data_size_; member in media::SyncSocketSource
/external/chromium_org/third_party/libjingle/
Dmods-since-v0_4_0.diff1641 < if (sscanf(value, "%d", &data_size_) != 1) {
1643 > if (sscanf(value, "%zu", &data_size_) != 1) {