/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 | 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 | 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 | 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 1067 if (buffer_size_ < size) { in GetDirectBufferForNBytesAndAdvance() 1138 if (buffer_size_ >= 5) { in WriteVarint32() 1194 return total_bytes_ - buffer_size_; in ByteCount() 1203 buffer_size_ -= amount; in Advance()
|
/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()
|
/external/tensorflow/tensorflow/lite/core/api/ |
D | flatbuffer_conversions_test.cc | 30 MockErrorReporter() : buffer_size_(0) {} in MockErrorReporter() 32 buffer_size_ = vsnprintf(buffer_, kBufferSize, format, args); in Report() 33 return buffer_size_; in Report() 36 int GetBufferSize() { return buffer_size_; } in GetBufferSize() 38 string GetAsString() const { return string(buffer_, buffer_size_); } in GetAsString() 43 int buffer_size_; member in tflite::__anone56a4f1f0111::MockErrorReporter
|
D | op_resolver_test.cc | 66 MockErrorReporter() : buffer_size_(0) {} in MockErrorReporter() 68 buffer_size_ = vsnprintf(buffer_, kBufferSize, format, args); in Report() 69 return buffer_size_; in Report() 72 int GetBufferSize() { return buffer_size_; } in GetBufferSize() 77 int buffer_size_; member in tflite::__anon8e48ea960111::MockErrorReporter
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | shuffle_dataset_op.cc | 51 buffer_size_(buffer_size), in ShuffleDatasetBase() 83 params.dataset->buffer_size_); in Iterator() 99 while (input_impl_ && num_elements_ < this->dataset()->buffer_size_) { in GetNextInternal() 105 << this->dataset()->buffer_size_; in GetNextInternal() 133 buffer_[slices_.back()->end % this->dataset()->buffer_size_] = in GetNextInternal() 166 (slices_.front()->start + offset) % this->dataset()->buffer_size_; in GetNextInternal() 171 buffer_[slices_.front()->start % this->dataset()->buffer_size_]); in GetNextInternal() 229 size_t index = j % this->dataset()->buffer_size_; in SaveInternal() 277 this->dataset()->buffer_size_); in RestoreInternal() 287 size_t index = j % this->dataset()->buffer_size_; in RestoreInternal() [all …]
|
D | reader_dataset_ops.cc | 349 buffer_size_(buffer_size), in Dataset() 395 TF_RETURN_IF_ERROR(b->AddScalar(buffer_size_, &buffer_size)); in AsGraphDefInternal() 470 file_.get(), dataset()->buffer_size_); in GetNextInternal() 513 file_.get(), dataset()->buffer_size_); in RestoreInternal() 637 file_stream_.get(), dataset()->buffer_size_, in GetNextInternal() 638 dataset()->buffer_size_, zlib_options); in GetNextInternal() 641 file_.get(), dataset()->buffer_size_); in GetNextInternal() 698 file_stream_.get(), dataset()->buffer_size_, in RestoreInternal() 699 dataset()->buffer_size_, zlib_options); in RestoreInternal() 727 const int64 buffer_size_; member in tensorflow::data::__anon94ec6c760111::FixedLengthRecordDatasetOp::Dataset
|
D | prefetch_dataset_op.cc | 41 buffer_size_(buffer_size) { in Dataset() 72 TF_RETURN_IF_ERROR(b->AddScalar(buffer_size_, &buffer_size)); in AsGraphDefInternal() 83 auto_tuner_(params.dataset->buffer_size_) {} in Iterator() 379 const int64 buffer_size_; member in tensorflow::data::PrefetchDatasetOp::Dataset
|
/external/autotest/client/deps/glbench/src/ |
D | bufferuploadsubtest.cc | 15 : buffer_size_(1572864), in BufferUploadSubTest() 29 GLsizeiptr buffer_size_; member in glbench::BufferUploadSubTest 39 if (offset + size_ > buffer_size_) { in TestFunc() 67 glBufferData(target_, buffer_size_, NULL, usage); in Run()
|
/external/perfetto/src/tracing/core/ |
D | trace_stats.cc | 176 return (buffer_size_ == other.buffer_size_) && in operator ==() 200 static_assert(sizeof(buffer_size_) == sizeof(proto.buffer_size()), in FromProto() 202 buffer_size_ = static_cast<decltype(buffer_size_)>(proto.buffer_size()); in FromProto() 298 static_assert(sizeof(buffer_size_) == sizeof(proto->buffer_size()), in ToProto() 301 static_cast<decltype(proto->buffer_size())>(buffer_size_)); in ToProto()
|
/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/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()
|
/external/libtextclassifier/utils/zlib/ |
D | zlib.cc | 129 buffer_size_ = tmp_buffer_size; in ZlibCompressor() 130 buffer_.reset(new Bytef[buffer_size_]); in ZlibCompressor() 154 stream_.avail_out = buffer_size_; in Compress() 173 stream_.avail_out = buffer_size_; in Compress()
|
/external/v8/src/s390/ |
D | assembler-s390.cc | 353 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler() 366 desc->buffer_size = buffer_size_; in GetCode() 368 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode() 726 if (buffer_size_ < 4 * KB) { in GrowBuffer() 728 } else if (buffer_size_ < 1 * MB) { in GrowBuffer() 729 desc.buffer_size = 2 * buffer_size_; in GrowBuffer() 731 desc.buffer_size = buffer_size_ + 1 * MB; in GrowBuffer() 733 int space = buffer_space() + (desc.buffer_size - buffer_size_); in GrowBuffer() 749 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer() 754 (desc.buffer + desc.buffer_size) - (buffer_ + buffer_size_); in GrowBuffer() [all …]
|
/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/tensorflow/tensorflow/lite/tools/ |
D | verifier_test.cc | 38 MockErrorReporter() : buffer_size_(0) {} in MockErrorReporter() 40 buffer_size_ = vsnprintf(buffer_, kBufferSize, format, args); in Report() 41 return buffer_size_; in Report() 43 int GetBufferSize() { return buffer_size_; } in GetBufferSize() 45 string GetAsString() const { return string(buffer_, buffer_size_); } in GetAsString() 50 int buffer_size_; member in tflite::MockErrorReporter
|
/external/perfetto/include/perfetto/tracing/core/ |
D | trace_stats.h | 67 uint64_t buffer_size() const { return buffer_size_; } in buffer_size() 68 void set_buffer_size(uint64_t value) { buffer_size_ = value; } in set_buffer_size() 132 uint64_t buffer_size_ = {};
|
/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/tensorflow/tensorflow/core/util/tensor_bundle/ |
D | tensor_bundle.h | 314 : file_(file), position_(0), buffer_size_(buffer_size) { in FileOutputBuffer() 340 const size_t buffer_size_; variable
|
/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
|