Home
last modified time | relevance | path

Searched refs:max_num_bytes_to_read (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/mojo/system/
Dlocal_data_pipe.cc179 uint32_t max_num_bytes_to_read, in ConsumerReadDataImplNoLock() argument
181 DCHECK_EQ(max_num_bytes_to_read % element_num_bytes(), 0u); in ConsumerReadDataImplNoLock()
183 DCHECK_GT(max_num_bytes_to_read, 0u); in ConsumerReadDataImplNoLock()
193 std::min(static_cast<size_t>(max_num_bytes_to_read), current_num_bytes_); in ConsumerReadDataImplNoLock()
254 size_t max_num_bytes_to_read = GetMaxNumBytesToReadNoLock(); in ConsumerBeginReadDataImplNoLock() local
255 if (min_num_bytes_to_read > max_num_bytes_to_read) { in ConsumerBeginReadDataImplNoLock()
263 if (max_num_bytes_to_read == 0) { in ConsumerBeginReadDataImplNoLock()
269 buffer_num_bytes.Put(static_cast<uint32_t>(max_num_bytes_to_read)); in ConsumerBeginReadDataImplNoLock()
271 static_cast<uint32_t>(max_num_bytes_to_read)); in ConsumerBeginReadDataImplNoLock()
Ddata_pipe.cc270 uint32_t max_num_bytes_to_read = num_bytes.Get(); in ConsumerReadData() local
271 if (max_num_bytes_to_read % element_num_bytes_ != 0) in ConsumerReadData()
274 if (max_num_bytes_to_read == 0) in ConsumerReadData()
277 uint32_t min_num_bytes_to_read = all_or_none ? max_num_bytes_to_read : 0; in ConsumerReadData()
282 elements, num_bytes, max_num_bytes_to_read, min_num_bytes_to_read); in ConsumerReadData()
Dlocal_data_pipe.h51 uint32_t max_num_bytes_to_read,
Ddata_pipe.h122 uint32_t max_num_bytes_to_read,