Home
last modified time | relevance | path

Searched refs:buffer_length_ (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/components/nacl/loader/
Dnacl_validation_query.cc46 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 …]
Dnacl_validation_query.h84 size_t buffer_length_; variable
/external/chromium_org/third_party/webrtc/base/
Dstream.cc734 : buffer_(NULL), buffer_length_(0), data_length_(0), in MemoryStreamBase()
762 size_t available = buffer_length_ - seek_position_; in Write()
768 buffer_length_ * 2); in Write()
773 ASSERT(buffer_length_ >= new_buffer_length); in Write()
774 available = buffer_length_ - seek_position_; in Write()
825 return (buffer_length_ >= size) ? SR_SUCCESS : SR_EOS; in DoReserve()
849 data_length_ = buffer_length_ = length; in SetData()
851 buffer_alloc_ = new char[buffer_length_ + kAlignment]; in SetData()
858 if (buffer_length_ >= size) in DoReserve()
868 buffer_length_ = size; in DoReserve()
[all …]
Dstream.h585 size_t buffer_length_; variable
679 size_t buffer_length_; // size of the allocated buffer variable
Dhttpbase.cc238 return (buffer_length_ >= size) ? SR_SUCCESS : SR_BLOCK; in DoReserve()
/external/chromium_org/chrome/browser/chromeos/drive/
Ddrive_file_stream_reader.cc161 buffer_length_(0), in NetworkReaderProxy()
177 DCHECK_EQ(buffer_length_, 0); in Read()
202 buffer_length_ = buffer_length; in Read()
242 int result = ReadInternal(&pending_data_, buffer_.get(), buffer_length_); in OnGetContent()
250 buffer_length_ = 0; in OnGetContent()
274 buffer_length_ = 0; in OnCompleted()
Ddrive_file_stream_reader.h123 int buffer_length_; variable
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtcp_packet.h1069 buffer_length_ = length; in RawPacket()
1076 return buffer_length_; in buffer_length()
1080 size_t buffer_length_;