Home
last modified time | relevance | path

Searched refs:bytes_available_ (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/mojo/core/
Ddata_pipe_consumer_dispatcher.cc120 *num_bytes = static_cast<uint32_t>(bytes_available_); in ReadData()
143 if (min_num_bytes_to_read > bytes_available_) { in ReadData()
150 uint32_t bytes_to_read = std::min(max_num_bytes_to_read, bytes_available_); in ReadData()
180 bytes_available_ -= bytes_to_read; in ReadData()
206 if (bytes_available_ == 0) { in BeginReadData()
215 std::min(bytes_available_, options_.capacity_num_bytes - read_offset_); in BeginReadData()
251 DCHECK_GE(bytes_available_, num_bytes_read); in EndReadData()
252 bytes_available_ -= num_bytes_read; in EndReadData()
311 state->bytes_available = bytes_available_; in EndSerialize()
406 dispatcher->bytes_available_ = state->bytes_available; in Deserialize()
[all …]
Ddata_pipe_consumer_dispatcher.h117 uint32_t bytes_available_ = 0; variable