/external/protobuf/src/google/protobuf/io/ |
D | coded_stream.cc | 620 buffer_size_(0), in CodedOutputStream() 636 buffer_size_(0), in CodedOutputStream() 655 if (buffer_size_ > 0) { in Trim() 656 output_->BackUp(buffer_size_); in Trim() 657 total_bytes_ -= buffer_size_; in Trim() 658 buffer_size_ = 0; in Trim() 666 while (count > buffer_size_) { in Skip() 667 count -= buffer_size_; in Skip() 676 if (buffer_size_ == 0 && !Refresh()) return false; in GetDirectBufferPointer() 679 *size = buffer_size_; in GetDirectBufferPointer() [all …]
|
D | zero_copy_stream_impl_lite.cc | 255 buffer_size_(block_size > 0 ? block_size : kDefaultBlockSize), in CopyingInputStreamAdaptor() 283 buffer_used_ = copying_stream_->Read(buffer_.get(), buffer_size_); in Next() 341 buffer_.reset(new uint8[buffer_size_]); in AllocateBufferIfNeeded() 361 buffer_size_(block_size > 0 ? block_size : kDefaultBlockSize), in CopyingOutputStreamAdaptor() 377 if (buffer_used_ == buffer_size_) { in Next() 384 *size = buffer_size_ - buffer_used_; in Next() 385 buffer_used_ = buffer_size_; in Next() 391 GOOGLE_CHECK_EQ(buffer_used_, buffer_size_) in BackUp() 425 buffer_.reset(new uint8[buffer_size_]); in AllocateBufferIfNeeded()
|
D | printer.cc | 48 buffer_size_(0), in Printer() 59 buffer_size_(0), in Printer() 67 if (buffer_size_ > 0 && !failed_) { in ~Printer() 68 output_->BackUp(buffer_size_); in ~Printer() 324 while (size > buffer_size_) { in WriteRaw() 327 memcpy(buffer_, data, buffer_size_); in WriteRaw() 328 offset_ += buffer_size_; in WriteRaw() 329 data += buffer_size_; in WriteRaw() 330 size -= buffer_size_; in WriteRaw() 332 failed_ = !output_->Next(&void_buffer, &buffer_size_); in WriteRaw() [all …]
|
D | tokenizer.cc | 192 buffer_size_(0), in Tokenizer() 215 if (buffer_size_ > buffer_pos_) { in ~Tokenizer() 216 input_->BackUp(buffer_size_ - buffer_pos_); in ~Tokenizer() 237 if (buffer_pos_ < buffer_size_) { in NextChar() 251 if (record_target_ != NULL && record_start_ < buffer_size_) { in Refresh() 252 record_target_->append(buffer_ + record_start_, buffer_size_ - record_start_); in Refresh() 260 if (!input_->Next(&data, &buffer_size_)) { in Refresh() 262 buffer_size_ = 0; in Refresh() 267 } while (buffer_size_ == 0); in Refresh()
|
D | zero_copy_stream_impl_lite.h | 268 const int buffer_size_; variable 357 const int buffer_size_; variable
|
D | coded_stream.h | 808 int buffer_size_; variable 1063 if (buffer_size_ < size) { in GetDirectBufferForNBytesAndAdvance() 1134 if (buffer_size_ >= 5) { in WriteVarint32() 1190 return total_bytes_ - buffer_size_; in ByteCount() 1199 buffer_size_ -= amount; in Advance()
|
D | tokenizer.h | 267 int buffer_size_; // Size of buffer_. variable
|
D | printer.h | 297 int buffer_size_; variable
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
D | vad_circular_buffer.cc | 22 buffer_size_(buffer_size), in VadCircularBuffer() 51 m = sum_ / buffer_size_; in Mean() 68 if (index_ >= buffer_size_) { in Insert() 75 return buffer_size_; in BufferLevel() 99 if (*index < 0 || *index >= buffer_size_) in ConvertToLinearIndex() 107 *index += buffer_size_; in ConvertToLinearIndex()
|
D | vad_circular_buffer.h | 64 int buffer_size_; variable
|
/external/webrtc/webrtc/test/gl/ |
D | gl_renderer.cc | 59 buffer_size_ = width * height * 4; // BGRA in ResizeVideo() 62 buffer_ = new uint8_t[buffer_size_]; in ResizeVideo() 64 memset(buffer_, 0, buffer_size_); in ResizeVideo()
|
D | gl_renderer.h | 44 size_t width_, height_, buffer_size_; variable
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | differ_unittest.cc | 38 buffer_size_ = width_ * height_ * bytes_per_pixel_; in InitDiffer() 42 prev_.reset(new uint8_t[buffer_size_]); in InitDiffer() 43 memset(prev_.get(), 0, buffer_size_); in InitDiffer() 45 curr_.reset(new uint8_t[buffer_size_]); in InitDiffer() 46 memset(curr_.get(), 0, buffer_size_); in InitDiffer() 50 memset(buffer, 0, buffer_size_); in ClearBuffer() 200 int buffer_size_; member in webrtc::DifferTest
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtp_format_vp8_test_helper.h | 44 size_t buffer_size() const { return buffer_size_; } in buffer_size() 64 size_t buffer_size_; variable
|
D | rtp_format_vp8_test_helper.cc | 28 buffer_size_(0), in RtpFormatVp8TestHelper() 48 buffer_size_ = payload_size_ + 6; // Add space for payload descriptor. in Init() 50 buffer_ = new uint8_t[buffer_size_]; in Init()
|
/external/fmtlib/fmt/ |
D | format.cc | 129 std::size_t buffer_size_; in safe_strerror() member in fmt::__anonf934f7110111::safe_strerror::StrError 143 if (message == buffer_ && strlen(buffer_) == buffer_size_ - 1) in safe_strerror() 151 return fallback(strerror_s(buffer_, buffer_size_, error_code_)); in safe_strerror() 157 return result == 0 && strlen(buffer_) == buffer_size_ - 1 ? in safe_strerror() 170 : error_code_(err_code), buffer_(buf), buffer_size_(buf_size) {} in safe_strerror() 175 return handle(strerror_r(error_code_, buffer_, buffer_size_)); in safe_strerror()
|
/external/webrtc/webrtc/sound/ |
D | alsasoundsystem.cc | 245 buffer_size_(0) { in AlsaInputStream() 293 if (size > buffer_size_) { in OnHaveWork() 296 buffer_size_ = size; in OnHaveWork() 333 size_t buffer_size_; member in rtc::AlsaInputStream
|
/external/protobuf/src/google/protobuf/ |
D | text_format.cc | 1115 buffer_size_(0), in TextGenerator() 1126 if (!failed_ && buffer_size_ > 0) { in ~TextGenerator() 1127 output_->BackUp(buffer_size_); in ~TextGenerator() 1200 while (size > buffer_size_) { in Write() 1203 memcpy(buffer_, data, buffer_size_); in Write() 1204 data += buffer_size_; in Write() 1205 size -= buffer_size_; in Write() 1207 failed_ = !output_->Next(&void_buffer, &buffer_size_); in Write() 1215 buffer_size_ -= size; in Write() 1220 int buffer_size_; member in google::protobuf::TextFormat::Printer::TextGenerator
|
/external/webrtc/webrtc/base/ |
D | socketadapters.cc | 44 : AsyncSocketAdapter(socket), buffer_size_(size), in BufferedReadAdapter() 46 buffer_ = new char[buffer_size_]; in BufferedReadAdapter() 110 if (data_len_ >= buffer_size_) { in OnReadEvent() 116 int len = socket_->Recv(buffer_ + data_len_, buffer_size_ - data_len_); in OnReadEvent()
|
/external/v8/src/arm64/ |
D | disasm-arm64.h | 71 uint32_t buffer_size_; variable
|
D | assembler-arm64.cc | 571 DCHECK((pc_ >= buffer_) && (pc_ < buffer_ + buffer_size_)); in Reset() 578 reloc_info_writer.Reposition(reinterpret_cast<byte*>(buffer_ + buffer_size_), in Reset() 596 desc->buffer_size = buffer_size_; in GetCode() 599 static_cast<int>((reinterpret_cast<byte*>(buffer_) + buffer_size_) - in GetCode() 2897 if (buffer_size_ < 1 * MB) { in GrowBuffer() 2898 desc.buffer_size = 2 * buffer_size_; in GrowBuffer() 2900 desc.buffer_size = buffer_size_ + 1 * MB; in GrowBuffer() 2912 static_cast<int>((buffer + buffer_size_) - reloc_info_writer.pos()); in GrowBuffer() 2917 (buffer + buffer_size_); in GrowBuffer() 2925 buffer_size_ = desc.buffer_size; in GrowBuffer()
|
/external/v8/src/x87/ |
D | assembler-x87.cc | 220 memset(buffer_, 0xCC, buffer_size_); // int3 in Assembler() 224 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler() 234 desc->buffer_size = buffer_size_; in GetCode() 236 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode() 2051 desc.buffer_size = 2 * buffer_size_; in GrowBuffer() 2065 desc.reloc_size = (buffer_ + buffer_size_) - (reloc_info_writer.pos()); in GrowBuffer() 2075 int rc_delta = (desc.buffer + desc.buffer_size) - (buffer_ + buffer_size_); in GrowBuffer() 2082 buffer_size_ = desc.buffer_size; in GrowBuffer()
|
/external/vixl/src/aarch64/ |
D | disasm-aarch64.h | 162 uint32_t buffer_size_; variable
|
/external/v8/src/ppc/ |
D | assembler-ppc.cc | 227 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler() 251 desc->buffer_size = buffer_size_; in GetCode() 253 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode() 2371 if (buffer_size_ < 4 * KB) { in GrowBuffer() 2373 } else if (buffer_size_ < 1 * MB) { in GrowBuffer() 2374 desc.buffer_size = 2 * buffer_size_; in GrowBuffer() 2376 desc.buffer_size = buffer_size_ + 1 * MB; in GrowBuffer() 2378 int space = buffer_space() + (desc.buffer_size - buffer_size_); in GrowBuffer() 2389 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer() 2394 (desc.buffer + desc.buffer_size) - (buffer_ + buffer_size_); in GrowBuffer() [all …]
|
/external/v8/src/ia32/ |
D | assembler-ia32.cc | 305 memset(buffer_, 0xCC, buffer_size_); // int3 in Assembler() 309 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler() 319 desc->buffer_size = buffer_size_; in GetCode() 321 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode() 2911 desc.buffer_size = 2 * buffer_size_; in GrowBuffer() 2925 desc.reloc_size = (buffer_ + buffer_size_) - (reloc_info_writer.pos()); in GrowBuffer() 2935 int rc_delta = (desc.buffer + desc.buffer_size) - (buffer_ + buffer_size_); in GrowBuffer() 2943 buffer_size_ = desc.buffer_size; in GrowBuffer()
|