/external/chromium/net/tools/flip_server/ |
D | ring_buffer.cc | 12 buffer_size_(buffer_size), in RingBuffer() 29 return buffer_size_; in BufferSize() 88 if (this->write_idx_ >= this->buffer_size_) { in Write() 104 if (bytes_used_ == buffer_size_) { in GetWritablePtr() 109 *size = buffer_size_ - write_idx_; in GetWritablePtr() 125 *size = buffer_size_ - read_idx_; in GetReadablePtr() 165 if (this->read_idx_ >= this->buffer_size_) { in Read() 217 DCHECK_LE(size, buffer_size_ - write_idx_); in Reserve() 230 read_idx_ %= buffer_size_; in AdvanceReadablePtr() 240 write_idx_ %= buffer_size_; in AdvanceWritablePtr() [all …]
|
D | ring_buffer.h | 93 int buffer_size() const { return buffer_size_; } in buffer_size() 101 int buffer_size_; variable
|
/external/protobuf/src/google/protobuf/io/ |
D | printer.cc | 48 buffer_size_(0), in Printer() 55 if (buffer_size_ > 0) { in ~Printer() 56 output_->BackUp(buffer_size_); in ~Printer() 168 while (size > buffer_size_) { in WriteRaw() 171 memcpy(buffer_, data, buffer_size_); in WriteRaw() 172 data += buffer_size_; in WriteRaw() 173 size -= buffer_size_; in WriteRaw() 175 failed_ = !output_->Next(&void_buffer, &buffer_size_); in WriteRaw() 183 buffer_size_ -= size; in WriteRaw()
|
D | coded_stream.cc | 529 buffer_size_(0), in CodedOutputStream() 541 if (buffer_size_ > 0) { in ~CodedOutputStream() 542 output_->BackUp(buffer_size_); in ~CodedOutputStream() 549 while (count > buffer_size_) { in Skip() 550 count -= buffer_size_; in Skip() 559 if (buffer_size_ == 0 && !Refresh()) return false; in GetDirectBufferPointer() 562 *size = buffer_size_; in GetDirectBufferPointer() 567 while (buffer_size_ < size) { in WriteRaw() 568 memcpy(buffer_, data, buffer_size_); in WriteRaw() 569 size -= buffer_size_; in WriteRaw() [all …]
|
D | zero_copy_stream_impl_lite.cc | 210 buffer_size_(block_size > 0 ? block_size : kDefaultBlockSize), in CopyingInputStreamAdaptor() 238 buffer_used_ = copying_stream_->Read(buffer_.get(), buffer_size_); in Next() 296 buffer_.reset(new uint8[buffer_size_]); in AllocateBufferIfNeeded() 316 buffer_size_(block_size > 0 ? block_size : kDefaultBlockSize), in CopyingOutputStreamAdaptor() 332 if (buffer_used_ == buffer_size_) { in Next() 339 *size = buffer_size_ - buffer_used_; in Next() 340 buffer_used_ = buffer_size_; in Next() 346 GOOGLE_CHECK_EQ(buffer_used_, buffer_size_) in BackUp() 380 buffer_.reset(new uint8[buffer_size_]); in AllocateBufferIfNeeded()
|
D | tokenizer.cc | 185 buffer_size_(0), in Tokenizer() 204 if (buffer_size_ > buffer_pos_) { in ~Tokenizer() 205 input_->BackUp(buffer_size_ - buffer_pos_); in ~Tokenizer() 226 if (buffer_pos_ < buffer_size_) { in NextChar() 240 if (token_start_ >= 0 && token_start_ < buffer_size_) { in Refresh() 241 current_.text.append(buffer_ + token_start_, buffer_size_ - token_start_); in Refresh() 249 if (!input_->Next(&data, &buffer_size_)) { in Refresh() 251 buffer_size_ = 0; in Refresh() 256 } while (buffer_size_ == 0); in Refresh()
|
D | zero_copy_stream_impl_lite.h | 235 const int buffer_size_; variable 324 const int buffer_size_; variable
|
D | coded_stream.h | 682 int buffer_size_; variable 880 if (buffer_size_ < size) { in GetDirectBufferForNBytesAndAdvance() 995 return total_bytes_ - buffer_size_; in ByteCount() 1004 buffer_size_ -= amount; in Advance()
|
D | printer.h | 119 int buffer_size_; variable
|
D | tokenizer.h | 189 int buffer_size_; // Size of buffer_. variable
|
/external/v8/src/ |
D | circular-queue.cc | 43 buffer_size_(chunk_size_ * buffer_size_in_chunks), in SamplingCircularQueue() 48 buffer_(NewArray<Cell>(buffer_size_ + 1)) { in SamplingCircularQueue() 52 for (int i = 0; i < buffer_size_; ++i) { in SamplingCircularQueue() 55 buffer_[buffer_size_] = kEnd; in SamplingCircularQueue()
|
D | circular-queue.h | 90 const int buffer_size_; variable
|
D | liveedit.cc | 1191 buffer_size_ = buffer_initial_capicity + kBufferGap; in RelocInfoBuffer() 1192 buffer_ = NewArray<byte>(buffer_size_); in RelocInfoBuffer() 1194 reloc_info_writer_.Reposition(buffer_ + buffer_size_, pc); in RelocInfoBuffer() 1212 static_cast<int>((buffer_ + buffer_size_) - reloc_info_writer_.pos()); in GetResult() 1220 if (buffer_size_ < 2 * KB) { in Grow() 1223 new_buffer_size = 2 * buffer_size_; in Grow() 1236 static_cast<int>(buffer_ + buffer_size_ - reloc_info_writer_.pos()); in Grow() 1246 buffer_size_ = new_buffer_size; in Grow() 1251 int buffer_size_; member in v8::internal::RelocInfoBuffer
|
/external/protobuf/src/google/protobuf/ |
D | text_format.cc | 653 buffer_size_(0), in TextGenerator() 664 if (buffer_size_ > 0) { in ~TextGenerator() 665 output_->BackUp(buffer_size_); in ~TextGenerator() 738 while (size > buffer_size_) { in Write() 741 memcpy(buffer_, data, buffer_size_); in Write() 742 data += buffer_size_; in Write() 743 size -= buffer_size_; in Write() 745 failed_ = !output_->Next(&void_buffer, &buffer_size_); in Write() 753 buffer_size_ -= size; in Write() 758 int buffer_size_; member in google::protobuf::TextFormat::Printer::TextGenerator
|
/external/ceres-solver/internal/ceres/ |
D | schur_eliminator_impl.h | 85 buffer_size_ = 1; in Init() 136 buffer_size_ = max(buffer_size, buffer_size_); in Init() 150 buffer_.reset(new double[buffer_size_ * num_threads_]); in Init() 220 double* buffer = buffer_.get() + thread_id * buffer_size_; in Eliminate() 225 VectorRef(buffer, buffer_size_).setZero(); in Eliminate()
|
D | schur_eliminator.h | 327 int buffer_size_; variable
|
/external/chromium/net/base/ |
D | mock_filter_context.h | 57 int buffer_size_;
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | socketadapters.cc | 59 : AsyncSocketAdapter(socket), buffer_size_(size), in BufferedReadAdapter() 61 buffer_ = new char[buffer_size_]; in BufferedReadAdapter() 117 if (data_len_ >= buffer_size_) { in OnReadEvent() 123 int len = socket_->Recv(buffer_ + data_len_, buffer_size_ - data_len_); in OnReadEvent()
|
D | socketadapters.h | 68 size_t buffer_size_, data_len_; variable
|
/external/v8/src/mips/ |
D | assembler-mips.cc | 293 buffer_size_ = buffer_size; in Assembler() 300 buffer_size_ = buffer_size; in Assembler() 329 buffer_size_ == kMinimalBufferSize) { in ~Assembler() 342 desc->buffer_size = buffer_size_; in GetCode() 344 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode() 1967 if (buffer_size_ < 4*KB) { in GrowBuffer() 1969 } else if (buffer_size_ < 1*MB) { in GrowBuffer() 1970 desc.buffer_size = 2*buffer_size_; in GrowBuffer() 1972 desc.buffer_size = buffer_size_ + 1*MB; in GrowBuffer() 1980 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer() [all …]
|
D | assembler-mips.h | 1084 int buffer_size_; variable
|
/external/v8/src/ia32/ |
D | assembler-ia32.cc | 334 buffer_size_ = buffer_size; in Assembler() 340 buffer_size_ = buffer_size; in Assembler() 367 buffer_size_ == kMinimalBufferSize) { in ~Assembler() 382 desc->buffer_size = buffer_size_; in GetCode() 384 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode() 2452 if (buffer_size_ < 4*KB) { in GrowBuffer() 2455 desc.buffer_size = 2*buffer_size_; in GrowBuffer() 2467 desc.reloc_size = (buffer_ + buffer_size_) - (reloc_info_writer.pos()); in GrowBuffer() 2477 int rc_delta = (desc.buffer + desc.buffer_size) - (buffer_ + buffer_size_); in GrowBuffer() 2484 buffer_size_ == kMinimalBufferSize) { in GrowBuffer() [all …]
|
D | assembler-ia32.h | 1099 return (buffer_ + buffer_size_) - reloc_info_writer.pos(); in relocation_writer_size() 1175 int buffer_size_; variable
|
/external/v8/src/x64/ |
D | assembler-x64.cc | 367 buffer_size_ = buffer_size; in Assembler() 373 buffer_size_ = buffer_size; in Assembler() 402 buffer_size_ == kMinimalBufferSize) { in ~Assembler() 417 desc->buffer_size = buffer_size_; in GetCode() 421 static_cast<int>((buffer_ + buffer_size_) - reloc_info_writer.pos()); in GetCode() 493 if (buffer_size_ < 4*KB) { in GrowBuffer() 496 desc.buffer_size = 2*buffer_size_; in GrowBuffer() 509 static_cast<int>((buffer_ + buffer_size_) - (reloc_info_writer.pos())); in GrowBuffer() 520 (buffer_ + buffer_size_); in GrowBuffer() 528 buffer_size_ == kMinimalBufferSize) { in GrowBuffer() [all …]
|
/external/v8/src/arm/ |
D | assembler-arm.cc | 312 buffer_size_ = buffer_size; in Assembler() 319 buffer_size_ = buffer_size; in Assembler() 341 buffer_size_ == kMinimalBufferSize) { in ~Assembler() 357 desc->buffer_size = buffer_size_; in GetCode() 359 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode() 2443 if (buffer_size_ < 4*KB) { in GrowBuffer() 2445 } else if (buffer_size_ < 1*MB) { in GrowBuffer() 2446 desc.buffer_size = 2*buffer_size_; in GrowBuffer() 2448 desc.buffer_size = buffer_size_ + 1*MB; in GrowBuffer() 2456 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer() [all …]
|