Home
last modified time | relevance | path

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

/external/chromium_org/mojo/system/
Dlocal_data_pipe.cc49 uint32_t min_num_bytes_to_write) { in ProducerWriteDataImplNoLock() argument
51 DCHECK_EQ(min_num_bytes_to_write % element_num_bytes(), 0u); in ProducerWriteDataImplNoLock()
57 if (min_num_bytes_to_write > capacity_num_bytes()) in ProducerWriteDataImplNoLock()
70 if (min_num_bytes_to_write > capacity_num_bytes() - current_num_bytes_) { in ProducerWriteDataImplNoLock()
107 uint32_t min_num_bytes_to_write) { in ProducerBeginWriteDataImplNoLock() argument
115 if (min_num_bytes_to_write > max_num_bytes_to_write) { in ProducerBeginWriteDataImplNoLock()
119 min_num_bytes_to_write <= capacity_num_bytes() - write_index) { in ProducerBeginWriteDataImplNoLock()
123 DCHECK_GT(min_num_bytes_to_write - max_num_bytes_to_write, 0u); in ProducerBeginWriteDataImplNoLock()
124 MarkDataAsConsumedNoLock(min_num_bytes_to_write - max_num_bytes_to_write); in ProducerBeginWriteDataImplNoLock()
125 max_num_bytes_to_write = min_num_bytes_to_write; in ProducerBeginWriteDataImplNoLock()
Ddata_pipe.cc119 uint32_t min_num_bytes_to_write = all_or_none ? max_num_bytes_to_write : 0; in ProducerWriteData() local
124 elements, num_bytes, max_num_bytes_to_write, min_num_bytes_to_write); in ProducerWriteData()
144 uint32_t min_num_bytes_to_write = 0; in ProducerBeginWriteData() local
146 min_num_bytes_to_write = buffer_num_bytes.Get(); in ProducerBeginWriteData()
147 if (min_num_bytes_to_write % element_num_bytes_ != 0) in ProducerBeginWriteData()
152 buffer, buffer_num_bytes, min_num_bytes_to_write); in ProducerBeginWriteData()
Dlocal_data_pipe.h38 uint32_t min_num_bytes_to_write) OVERRIDE;
42 uint32_t min_num_bytes_to_write) OVERRIDE;
Ddata_pipe.h106 uint32_t min_num_bytes_to_write) = 0;
110 uint32_t min_num_bytes_to_write) = 0;