/external/protobuf/src/google/protobuf/io/ |
D | printer.cc | 47 buffer_size_(0), in Printer() 54 if (buffer_size_ > 0 && !failed_) { in ~Printer() 55 output_->BackUp(buffer_size_); in ~Printer() 178 while (size > buffer_size_) { in WriteRaw() 181 memcpy(buffer_, data, buffer_size_); in WriteRaw() 182 data += buffer_size_; in WriteRaw() 183 size -= buffer_size_; in WriteRaw() 185 failed_ = !output_->Next(&void_buffer, &buffer_size_); in WriteRaw() 193 buffer_size_ -= size; in WriteRaw()
|
D | coded_stream.cc | 588 buffer_size_(0), in CodedOutputStream() 601 if (buffer_size_ > 0) { in ~CodedOutputStream() 602 output_->BackUp(buffer_size_); in ~CodedOutputStream() 609 while (count > buffer_size_) { in Skip() 610 count -= buffer_size_; in Skip() 619 if (buffer_size_ == 0 && !Refresh()) return false; in GetDirectBufferPointer() 622 *size = buffer_size_; in GetDirectBufferPointer() 627 while (buffer_size_ < size) { in WriteRaw() 628 memcpy(buffer_, data, buffer_size_); in WriteRaw() 629 size -= buffer_size_; in WriteRaw() [all …]
|
D | zero_copy_stream_impl_lite.cc | 222 buffer_size_(block_size > 0 ? block_size : kDefaultBlockSize), in CopyingInputStreamAdaptor() 250 buffer_used_ = copying_stream_->Read(buffer_.get(), buffer_size_); in Next() 308 buffer_.reset(new uint8[buffer_size_]); in AllocateBufferIfNeeded() 328 buffer_size_(block_size > 0 ? block_size : kDefaultBlockSize), in CopyingOutputStreamAdaptor() 344 if (buffer_used_ == buffer_size_) { in Next() 351 *size = buffer_size_ - buffer_used_; in Next() 352 buffer_used_ = buffer_size_; in Next() 358 GOOGLE_CHECK_EQ(buffer_used_, buffer_size_) in BackUp() 392 buffer_.reset(new uint8[buffer_size_]); in AllocateBufferIfNeeded()
|
D | tokenizer.cc | 191 buffer_size_(0), in Tokenizer() 214 if (buffer_size_ > buffer_pos_) { in ~Tokenizer() 215 input_->BackUp(buffer_size_ - buffer_pos_); in ~Tokenizer() 236 if (buffer_pos_ < buffer_size_) { in NextChar() 250 if (record_target_ != NULL && record_start_ < buffer_size_) { in Refresh() 251 record_target_->append(buffer_ + record_start_, buffer_size_ - record_start_); in Refresh() 259 if (!input_->Next(&data, &buffer_size_)) { in Refresh() 261 buffer_size_ = 0; in Refresh() 266 } while (buffer_size_ == 0); in Refresh()
|
D | zero_copy_stream_impl_lite.h | 236 const int buffer_size_; variable 325 const int buffer_size_; variable
|
D | coded_stream.h | 756 int buffer_size_; variable 1000 if (buffer_size_ < size) { in GetDirectBufferForNBytesAndAdvance() 1122 return total_bytes_ - buffer_size_; in ByteCount() 1131 buffer_size_ -= amount; in Advance()
|
D | printer.h | 123 int buffer_size_; variable
|
D | tokenizer.h | 259 int buffer_size_; // Size of buffer_. 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/ceres-solver/internal/ceres/ |
D | schur_eliminator_impl.h | 91 buffer_size_ = 1; in Init() 142 buffer_size_ = max(buffer_size, buffer_size_); in Init() 156 buffer_.reset(new double[buffer_size_ * num_threads_]); in Init() 161 chunk_outer_product_buffer_.reset(new double[buffer_size_ * num_threads_]); in Init() 229 double* buffer = buffer_.get() + thread_id * buffer_size_; in Eliminate() 234 VectorRef(buffer, buffer_size_).setZero(); in Eliminate() 517 chunk_outer_product_buffer_.get() + thread_id * buffer_size_; in ChunkOuterProduct()
|
D | schur_eliminator.h | 343 int buffer_size_; variable
|
/external/protobuf/src/google/protobuf/ |
D | text_format.cc | 1024 buffer_size_(0), in TextGenerator() 1035 if (!failed_ && buffer_size_ > 0) { in ~TextGenerator() 1036 output_->BackUp(buffer_size_); in ~TextGenerator() 1109 while (size > buffer_size_) { in Write() 1112 memcpy(buffer_, data, buffer_size_); in Write() 1113 data += buffer_size_; in Write() 1114 size -= buffer_size_; in Write() 1116 failed_ = !output_->Next(&void_buffer, &buffer_size_); in Write() 1124 buffer_size_ -= size; in Write() 1129 int buffer_size_; member in google::protobuf::TextFormat::Printer::TextGenerator
|
/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/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
|
/external/v8/src/debug/ |
D | liveedit.cc | 1221 buffer_size_ = buffer_initial_capicity + kBufferGap; in RelocInfoBuffer() 1222 buffer_ = NewArray<byte>(buffer_size_); in RelocInfoBuffer() 1224 reloc_info_writer_.Reposition(buffer_ + buffer_size_, pc); in RelocInfoBuffer() 1242 static_cast<int>((buffer_ + buffer_size_) - reloc_info_writer_.pos()); in GetResult() 1250 if (buffer_size_ < 2 * KB) { in Grow() 1253 new_buffer_size = 2 * buffer_size_; in Grow() 1266 static_cast<int>(buffer_ + buffer_size_ - reloc_info_writer_.pos()); in Grow() 1276 buffer_size_ = new_buffer_size; in Grow() 1281 int buffer_size_; member in v8::internal::RelocInfoBuffer
|
/external/v8/src/x87/ |
D | assembler-x87.cc | 202 memset(buffer_, 0xCC, buffer_size_); // int3 in Assembler() 206 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler() 221 desc->buffer_size = buffer_size_; in GetCode() 223 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode() 1937 desc.buffer_size = 2 * buffer_size_; in GrowBuffer() 1950 desc.reloc_size = (buffer_ + buffer_size_) - (reloc_info_writer.pos()); in GrowBuffer() 1960 int rc_delta = (desc.buffer + desc.buffer_size) - (buffer_ + buffer_size_); in GrowBuffer() 1967 buffer_size_ = desc.buffer_size; in GrowBuffer()
|
/external/vixl/src/vixl/a64/ |
D | disasm-a64.h | 158 uint32_t buffer_size_; variable
|
/external/v8/src/ppc/ |
D | assembler-ppc.cc | 200 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler() 224 desc->buffer_size = buffer_size_; in GetCode() 226 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode() 2328 if (buffer_size_ < 4 * KB) { in GrowBuffer() 2330 } else if (buffer_size_ < 1 * MB) { in GrowBuffer() 2331 desc.buffer_size = 2 * buffer_size_; in GrowBuffer() 2333 desc.buffer_size = buffer_size_ + 1 * MB; in GrowBuffer() 2335 int space = buffer_space() + (desc.buffer_size - buffer_size_); in GrowBuffer() 2346 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer() 2351 (desc.buffer + desc.buffer_size) - (buffer_ + buffer_size_); in GrowBuffer() [all …]
|