Searched refs:buffer_length_ (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/components/nacl/loader/ |
D | nacl_validation_query.cc | 46 buffer_length_(0) { in NaClValidationQuery() 62 CHECK(buffer_length_ <= sizeof(buffer_)); in AddData() 66 if (buffer_length_ + kDigestLength > sizeof(buffer_)) { in AddData() 73 reinterpret_cast<unsigned char*>(buffer_ + buffer_length_), in AddData() 75 buffer_length_ += kDigestLength; in AddData() 89 CHECK(buffer_length_ >= kDigestLength); in QueryKnownToValidate() 90 CHECK(buffer_length_ <= sizeof(buffer_)); in QueryKnownToValidate() 94 return db_->QueryKnownToValidate(std::string(buffer_, buffer_length_)); in QueryKnownToValidate() 99 CHECK(buffer_length_ == kDigestLength); in SetKnownToValidate() 101 db_->SetKnownToValidate(std::string(buffer_, buffer_length_)); in SetKnownToValidate() [all …]
|
D | nacl_validation_query.h | 84 size_t buffer_length_; variable
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | stream.cc | 554 : buffer_(NULL), buffer_length_(0), data_length_(0), in MemoryStreamBase() 582 size_t available = buffer_length_ - seek_position_; in Write() 588 buffer_length_ * 2); in Write() 593 ASSERT(buffer_length_ >= new_buffer_length); in Write() 594 available = buffer_length_ - seek_position_; in Write() 645 return (buffer_length_ >= size) ? SR_SUCCESS : SR_EOS; in DoReserve() 669 data_length_ = buffer_length_ = length; in SetData() 671 buffer_alloc_ = new char[buffer_length_ + kAlignment]; in SetData() 678 if (buffer_length_ >= size) in DoReserve() 688 buffer_length_ = size; in DoReserve() [all …]
|
D | stream.h | 512 size_t buffer_length_; variable 579 size_t buffer_length_; // size of the allocated buffer variable
|
D | httpbase.cc | 254 return (buffer_length_ >= size) ? SR_SUCCESS : SR_BLOCK; in DoReserve()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | stream.cc | 751 : buffer_(NULL), buffer_length_(0), data_length_(0), in MemoryStreamBase() 779 size_t available = buffer_length_ - seek_position_; in Write() 785 buffer_length_ * 2); in Write() 790 ASSERT(buffer_length_ >= new_buffer_length); in Write() 791 available = buffer_length_ - seek_position_; in Write() 842 return (buffer_length_ >= size) ? SR_SUCCESS : SR_EOS; in DoReserve() 866 data_length_ = buffer_length_ = length; in SetData() 868 buffer_alloc_ = new char[buffer_length_ + kAlignment]; in SetData() 875 if (buffer_length_ >= size) in DoReserve() 885 buffer_length_ = size; in DoReserve() [all …]
|
D | stream.h | 601 size_t buffer_length_; variable 695 size_t buffer_length_; // size of the allocated buffer variable
|
D | httpbase.cc | 258 return (buffer_length_ >= size) ? SR_SUCCESS : SR_BLOCK; in DoReserve()
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
D | drive_file_stream_reader.cc | 137 buffer_length_(0), in NetworkReaderProxy() 153 DCHECK_EQ(buffer_length_, 0); in Read() 178 buffer_length_ = buffer_length; in Read() 211 int result = ReadInternal(&pending_data_, buffer_.get(), buffer_length_); in OnGetContent() 216 buffer_length_ = 0; in OnGetContent() 240 buffer_length_ = 0; in OnCompleted()
|
D | drive_file_stream_reader.h | 117 int buffer_length_; variable
|