/external/chromium_org/media/base/ |
data_buffer.cc | 12 : buffer_size_(buffer_size), 15 data_.reset(new uint8[buffer_size_]); 20 buffer_size_(buffer_size), 27 : buffer_size_(data_size), 35 data_.reset(new uint8[buffer_size_]);
|
data_buffer.h | 82 CHECK_LE(data_size, buffer_size_); 105 int buffer_size_; member in class:media::DataBuffer
|
/system/keymaster/ |
serializable.cpp | 53 size_t new_size = buffer_size_ + size - available_write(); 58 memset_s(buffer_.get(), 0, buffer_size_); 60 buffer_size_ = new_size; 72 buffer_size_ = size; 83 buffer_size_ = data_len; 86 write_position_ = buffer_size_; 91 return buffer_size_ - write_position_; 124 if (!copy_size_and_data_from_buf(buf_ptr, end, &buffer_size_, &buffer_)) { 126 buffer_size_ = 0; 129 write_position_ = buffer_size_; [all...] |
/external/chromium_org/net/tools/flip_server/ |
ring_buffer.cc | 12 buffer_size_(buffer_size), 21 int RingBuffer::BufferSize() const { return buffer_size_; } 65 if (this->write_idx_ >= this->buffer_size_) { 79 if (bytes_used_ == buffer_size_) { 84 *size = buffer_size_ - write_idx_; 98 *size = buffer_size_ - read_idx_; 136 if (this->read_idx_ >= this->buffer_size_) { 184 DCHECK_LE(size, buffer_size_ - write_idx_); 195 read_idx_ %= buffer_size_; 203 write_idx_ %= buffer_size_; [all...] |
/frameworks/compile/libbcc/bcinfo/Wrap/ |
bitcode_wrapperer.cpp | 60 buffer_size_(0), 92 buffer_size_ = 0; 120 if (cursor_ < buffer_size_) { 122 while (cursor_ < buffer_size_) { 126 buffer_size_ = i; 131 buffer_size_ = 0; 140 size_t needed = buffer_.size() - buffer_size_; 142 while (buffer_.size() > buffer_size_) { 143 int actually_read = infile_->Read(&buffer_[buffer_size_], needed); 148 buffer_size_ += actually_read [all...] |
/external/chromium_org/ppapi/shared_impl/ |
media_stream_buffer_manager.cc | 18 : delegate_(delegate), buffer_size_(0), number_of_buffers_(0) { 35 buffer_size_ = buffer_size; 49 p += buffer_size_;
|
media_stream_buffer_manager.h | 54 int32_t buffer_size() const { return buffer_size_; } 84 int32_t buffer_size_; member in class:ppapi::MediaStreamBufferManager
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
printer.cc | 47 buffer_size_(0), 54 if (buffer_size_ > 0 && !failed_) { 55 output_->BackUp(buffer_size_); 178 while (size > buffer_size_) { 181 memcpy(buffer_, data, buffer_size_); 182 data += buffer_size_; 183 size -= buffer_size_; 185 failed_ = !output_->Next(&void_buffer, &buffer_size_); 193 buffer_size_ -= size;
|
zero_copy_stream_impl_lite.cc | 212 buffer_size_(block_size > 0 ? block_size : kDefaultBlockSize), 240 buffer_used_ = copying_stream_->Read(buffer_.get(), buffer_size_); 298 buffer_.reset(new uint8[buffer_size_]); 318 buffer_size_(block_size > 0 ? block_size : kDefaultBlockSize), 334 if (buffer_used_ == buffer_size_) { 341 *size = buffer_size_ - buffer_used_; 342 buffer_used_ = buffer_size_; 348 GOOGLE_CHECK_EQ(buffer_used_, buffer_size_) 382 buffer_.reset(new uint8[buffer_size_]);
|
coded_stream.cc | 556 buffer_size_(0), 568 if (buffer_size_ > 0) { 569 output_->BackUp(buffer_size_); 576 while (count > buffer_size_) { 577 count -= buffer_size_; 586 if (buffer_size_ == 0 && !Refresh()) return false; 589 *size = buffer_size_; 594 while (buffer_size_ < size) { 595 memcpy(buffer_, data, buffer_size_); 596 size -= buffer_size_; [all...] |
/external/protobuf/src/google/protobuf/io/ |
printer.cc | 48 buffer_size_(0), 55 if (buffer_size_ > 0) { 56 output_->BackUp(buffer_size_); 168 while (size > buffer_size_) { 171 memcpy(buffer_, data, buffer_size_); 172 data += buffer_size_; 173 size -= buffer_size_; 175 failed_ = !output_->Next(&void_buffer, &buffer_size_); 183 buffer_size_ -= size;
|
zero_copy_stream_impl_lite.cc | 210 buffer_size_(block_size > 0 ? block_size : kDefaultBlockSize), 238 buffer_used_ = copying_stream_->Read(buffer_.get(), buffer_size_); 296 buffer_.reset(new uint8[buffer_size_]); 316 buffer_size_(block_size > 0 ? block_size : kDefaultBlockSize), 332 if (buffer_used_ == buffer_size_) { 339 *size = buffer_size_ - buffer_used_; 340 buffer_used_ = buffer_size_; 346 GOOGLE_CHECK_EQ(buffer_used_, buffer_size_) 380 buffer_.reset(new uint8[buffer_size_]);
|
/external/chromium_org/sandbox/mac/ |
mach_message_server.cc | 26 buffer_size_( 60 kr = vm_allocate(task, &buffer, buffer_size_, kMachMsgMemoryFlags); 65 request_buffer_.reset(buffer, buffer_size_); 67 kr = vm_allocate(task, &buffer, buffer_size_, kMachMsgMemoryFlags); 72 reply_buffer_.reset(buffer, buffer_size_); 147 bzero(request, buffer_size_); 148 bzero(reply, buffer_size_); 154 kern_return_t kr = mach_msg(request, kRcvOptions, 0, buffer_size_,
|
/external/chromium_org/ash/wm/ |
video_detector.cc | 27 WindowInfo() : buffer_start_(0), buffer_size_(0) {} 37 if (buffer_size_ == static_cast<size_t>(kMinFramesPerSecond)) { 39 buffer_size_--; 42 update_times_[(buffer_start_ + buffer_size_) % kMinFramesPerSecond] = now; 43 buffer_size_++; 45 return buffer_size_ == static_cast<size_t>(kMinFramesPerSecond) && 58 size_t buffer_size_; member in class:ash::VideoDetector::WindowInfo
|
/external/chromium_org/media/formats/webm/ |
cluster_builder.cc | 81 if (bytes_needed > (buffer_size_ - bytes_used_)) 123 if (bytes_needed > (buffer_size_ - bytes_used_)) 195 buffer_size_ = kInitialBufferSize; 196 buffer_.reset(new uint8[buffer_size_]); 203 int new_buffer_size = 2 * buffer_size_; 212 buffer_size_ = new_buffer_size; 216 DCHECK_LE(offset + 7, buffer_size_);
|
/external/chromium_org/third_party/webrtc/test/gl/ |
gl_renderer.cc | 59 buffer_size_ = width * height * 4; // BGRA 62 buffer_ = new uint8_t[buffer_size_]; 64 memset(buffer_, 0, buffer_size_);
|
gl_renderer.h | 44 size_t width_, height_, buffer_size_; member in class:webrtc::test::GlRenderer
|
/external/chromium_org/ui/events/gestures/ |
velocity_calculator.cc | 13 buffer_size_(buffer_size), 38 index_ = (index_ + 1) % buffer_size_; 39 if (num_valid_entries_ < buffer_size_)
|
velocity_calculator.h | 41 const size_t buffer_size_; member in class:ui::VelocityCalculator
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
rtp_format_vp8_test_helper.h | 44 int buffer_size() const { return buffer_size_; } 64 int buffer_size_; member in class:webrtc::test::RtpFormatVp8TestHelper
|
/external/chromium_org/media/audio/ |
fake_audio_input_stream.cc | 51 buffer_size_((params.channels() * params.bits_per_sample() * 71 buffer_.reset(new uint8[buffer_size_]); 72 memset(buffer_.get(), 0, buffer_size_); 106 memset(buffer_.get(), 0, buffer_size_); 137 while (position + high_bytes <= buffer_size_) { 151 callback_->OnData(this, audio_bus_.get(), buffer_size_, 1.0);
|
/external/chromium_org/net/dns/ |
address_sorter_win.cc | 46 buffer_size_(sizeof(SOCKET_ADDRESS_LIST) + 50 malloc(buffer_size_))), 52 malloc(buffer_size_))), 95 buffer_size_, output_buffer_.get(), buffer_size_, 126 const size_t buffer_size_; member in class:net::__anon13203::AddressSorterWin::Job
|
/external/chromium_org/remoting/protocol/ |
buffered_socket_writer.cc | 29 : buffer_size_(0), 55 buffer_size_ += data->size(); 147 return buffer_size_; 192 buffer_size_ -= written; 224 buffer_size_ -= queue_.front()->data->size();
|
/external/chromium_org/extensions/browser/api/socket/ |
udp_socket.h | 93 int buffer_size() const { return buffer_size_; } 94 void set_buffer_size(int buffer_size) { buffer_size_ = buffer_size; } 109 int buffer_size_; member in class:extensions::ResumableUDPSocket
|
/external/chromium_org/gpu/gles2_conform_support/egl/ |
config.cc | 10 : buffer_size_(0), 51 *value = buffer_size_;
|