Home
last modified time | relevance | path

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

/external/chromium_org/net/server/
Dhttp_connection.cc102 return pending_data_.empty(); in IsEmpty()
116 pending_data_.push(data); in Append()
120 if (pending_data_.size() == 1) in Append()
121 data_ = const_cast<char*>(pending_data_.front().data()); in Append()
134 pending_data_.pop(); in DidConsume()
135 data_ = IsEmpty() ? NULL : const_cast<char*>(pending_data_.front().data()); in DidConsume()
145 DCHECK_GE(data_, pending_data_.front().data()); in GetSizeToWrite()
146 int consumed = static_cast<int>(data_ - pending_data_.front().data()); in GetSizeToWrite()
147 DCHECK_GT(static_cast<int>(pending_data_.front().size()), consumed); in GetSizeToWrite()
148 return pending_data_.front().size() - consumed; in GetSizeToWrite()
Dhttp_connection.h106 std::queue<std::string> pending_data_; variable
/external/chromium_org/components/pairing/
Dmessage_buffer.cc27 scoped_refptr<net::IOBuffer> io_buffer = pending_data_.front().first; in ReadBytes()
28 int io_buffer_size = pending_data_.front().second; in ReadBytes()
41 pending_data_.pop_front(); in ReadBytes()
52 pending_data_.push_back(std::make_pair(io_buffer, size)); in AddIOBuffer()
Dmessage_buffer.h45 std::deque<std::pair<scoped_refptr<net::IOBuffer>, int> > pending_data_; variable
/external/chromium_org/chrome/browser/chromeos/drive/
Ddrive_file_stream_reader.cc199 if (pending_data_.empty()) { in Read()
207 int result = ReadInternal(&pending_data_, buffer, buffer_length); in Read()
236 pending_data_.push_back(data.release()); in OnGetContent()
242 int result = ReadInternal(&pending_data_, buffer_.get(), buffer_length_); in OnGetContent()
266 pending_data_.clear(); in OnCompleted()
Ddrive_file_stream_reader.h106 ScopedVector<std::string> pending_data_;
/external/chromium_org/media/midi/
Dusb_midi_output_stream.cc56 pending_data_[i - current] = Get(data, i); in Send()
68 return pending_data_[index]; in Get()
Dusb_midi_output_stream.h49 uint8 pending_data_[kPacketContentSize]; variable