Searched refs:capacity_num_bytes (Results 1 – 8 of 8) sorted by relevance
/external/libchrome/mojo/core/ |
D | data_pipe_producer_dispatcher.cc | 124 DCHECK_LE(available_capacity_, options_.capacity_num_bytes); in WriteData() 138 DCHECK_LE(write_offset_, options_.capacity_num_bytes); in WriteData() 140 std::min(options_.capacity_num_bytes - write_offset_, num_bytes_to_write); in WriteData() 151 (write_offset_ + num_bytes_to_write) % options_.capacity_num_bytes; in WriteData() 179 *buffer_num_bytes = std::min(options_.capacity_num_bytes - write_offset_, in BeginWriteData() 204 write_offset_ + num_bytes_written > options_.capacity_num_bytes) { in EndWriteData() 207 DCHECK_LE(num_bytes_written + write_offset_, options_.capacity_num_bytes); in EndWriteData() 210 (write_offset_ + num_bytes_written) % options_.capacity_num_bytes; in EndWriteData() 334 if (!state->options.capacity_num_bytes || !state->options.element_num_bytes || in Deserialize() 335 state->options.capacity_num_bytes < state->options.element_num_bytes) { in Deserialize() [all …]
|
D | data_pipe_consumer_dispatcher.cc | 166 DCHECK_LE(read_offset_, options_.capacity_num_bytes); in ReadData() 168 std::min(options_.capacity_num_bytes - read_offset_, bytes_to_read); in ReadData() 179 read_offset_ = (read_offset_ + bytes_to_read) % options_.capacity_num_bytes; in ReadData() 213 DCHECK_LT(read_offset_, options_.capacity_num_bytes); in BeginReadData() 215 std::min(bytes_available_, options_.capacity_num_bytes - read_offset_); in BeginReadData() 249 (read_offset_ + num_bytes_read) % options_.capacity_num_bytes; in EndReadData() 373 if (!state->options.capacity_num_bytes || !state->options.element_num_bytes || in Deserialize() 374 state->options.capacity_num_bytes < state->options.element_num_bytes) { in Deserialize() 388 state->options.capacity_num_bytes, in Deserialize() 568 options_.capacity_num_bytes) { in UpdateSignalsStateNoLock()
|
D | core.cc | 666 create_options.capacity_num_bytes = options && options->capacity_num_bytes in CreateDataPipe() 667 ? options->capacity_num_bytes in CreateDataPipe() 669 if (!create_options.element_num_bytes || !create_options.capacity_num_bytes || in CreateDataPipe() 670 create_options.capacity_num_bytes < create_options.element_num_bytes) { in CreateDataPipe() 677 create_options.capacity_num_bytes)); in CreateDataPipe() 696 create_options.capacity_num_bytes, ring_buffer_region.GetGUID())); in CreateDataPipe()
|
/external/libchrome/mojo/public/cpp/system/ |
D | data_pipe.h | 141 explicit DataPipe(uint32_t capacity_num_bytes); 156 inline DataPipe::DataPipe(uint32_t capacity_num_bytes) { in DataPipe() argument 161 options.capacity_num_bytes = capacity_num_bytes; in DataPipe()
|
/external/libchrome/mojo/public/c/system/ |
D | data_pipe.h | 41 uint32_t capacity_num_bytes; member
|
/external/libchrome/libchrome_tools/patch/ |
D | alignof_int64.patch | 66 uint32_t capacity_num_bytes;
|
/external/libchrome/mojo/core/test/ |
D | mojo_test_base.cc | 247 options.capacity_num_bytes = static_cast<uint32_t>(capacity); in CreateDataPipe()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | sample_service_unittest.cc | 62 options.capacity_num_bytes = 1024; in MakeFoo()
|