Searched refs:capacity_num_bytes (Results 1 – 13 of 13) sorted by relevance
/external/chromium_org/mojo/system/ |
D | local_data_pipe.cc | 57 if (min_num_bytes_to_write > capacity_num_bytes()) in ProducerWriteDataImplNoLock() 61 capacity_num_bytes()); in ProducerWriteDataImplNoLock() 62 if (num_bytes_to_write > capacity_num_bytes() - current_num_bytes_) { in ProducerWriteDataImplNoLock() 65 (capacity_num_bytes() - current_num_bytes_)); in ProducerWriteDataImplNoLock() 70 if (min_num_bytes_to_write > capacity_num_bytes() - current_num_bytes_) { in ProducerWriteDataImplNoLock() 77 capacity_num_bytes() - current_num_bytes_); in ProducerWriteDataImplNoLock() 87 (start_index_ + current_num_bytes_) % capacity_num_bytes(); in ProducerWriteDataImplNoLock() 99 DCHECK_LE(current_num_bytes_, capacity_num_bytes()); in ProducerWriteDataImplNoLock() 112 (start_index_ + current_num_bytes_) % capacity_num_bytes(); in ProducerBeginWriteDataImplNoLock() 119 min_num_bytes_to_write <= capacity_num_bytes() - write_index) { in ProducerBeginWriteDataImplNoLock() [all …]
|
D | data_pipe_unittest.cc | 30 EXPECT_GT(validated_options.capacity_num_bytes, 0u); in RevalidateCreateOptions() 32 validated_options.capacity_num_bytes % in RevalidateCreateOptions() 42 EXPECT_EQ(validated_options.capacity_num_bytes, in RevalidateCreateOptions() 43 revalidated_options.capacity_num_bytes); in RevalidateCreateOptions() 50 EXPECT_LE(validated_options.capacity_num_bytes, in CheckDefaultCapacity() 52 EXPECT_GT(validated_options.capacity_num_bytes + in CheckDefaultCapacity() 121 EXPECT_EQ(options.capacity_num_bytes, in TEST() 122 validated_options.capacity_num_bytes); in TEST() 144 EXPECT_EQ(options.capacity_num_bytes, in TEST() 145 validated_options.capacity_num_bytes); in TEST() [all …]
|
D | data_pipe.cc | 59 MojoCreateDataPipeOptions, capacity_num_bytes, reader) || in ValidateCreateOptions() 60 reader.options().capacity_num_bytes == 0) { in ValidateCreateOptions() 63 out_options->capacity_num_bytes = in ValidateCreateOptions() 70 if (reader.options().capacity_num_bytes % out_options->element_num_bytes != 0) in ValidateCreateOptions() 72 if (reader.options().capacity_num_bytes > kMaxDataPipeCapacityBytes) in ValidateCreateOptions() 74 out_options->capacity_num_bytes = reader.options().capacity_num_bytes; in ValidateCreateOptions() 436 capacity_num_bytes_(validated_options.capacity_num_bytes), in DataPipe()
|
D | data_pipe.h | 143 size_t capacity_num_bytes() const { return capacity_num_bytes_; } in capacity_num_bytes() function
|
D | local_data_pipe_unittest.cc | 1511 ASSERT_EQ(100u, validated_options.capacity_num_bytes); in TEST()
|
/external/chromium_org/mojo/public/c/system/ |
D | data_pipe.h | 54 uint32_t capacity_num_bytes; member
|
/external/chromium_org/mojo/services/html_viewer/ |
D | blink_url_request_type_converters.cc | 70 options.capacity_num_bytes = num_bytes; in AddRequestBody()
|
/external/chromium_org/mojo/public/python/mojo/ |
D | c_core.pxd | 116 uint32_t capacity_num_bytes
|
D | system.pyx | 643 self.capacity_num_bytes = 0 663 coptions.capacity_num_bytes = options.capacity_num_bytes
|
/external/chromium_org/mojo/bindings/js/ |
D | core.cc | 168 !options_dict.Get("capacityNumBytes", &options.capacity_num_bytes)) { in CreateDataPipe()
|
/external/chromium_org/media/mojo/services/ |
D | media_type_converters.cc | 152 options.capacity_num_bytes = input->data_size(); in Convert()
|
/external/chromium_org/mojo/python/tests/ |
D | system_unittest.py | 221 options.capacity_num_bytes = DATA_SIZE
|
/external/chromium_org/mojo/public/cpp/bindings/tests/ |
D | sample_service_unittest.cc | 69 options.capacity_num_bytes = 1024; in MakeFoo()
|