Home
last modified time | relevance | path

Searched refs:capacity_num_bytes (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/mojo/system/
Dlocal_data_pipe.cc57 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 …]
Ddata_pipe_unittest.cc30 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 …]
Ddata_pipe.cc59 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()
Ddata_pipe.h143 size_t capacity_num_bytes() const { return capacity_num_bytes_; } in capacity_num_bytes() function
Dlocal_data_pipe_unittest.cc1511 ASSERT_EQ(100u, validated_options.capacity_num_bytes); in TEST()
/external/chromium_org/mojo/public/c/system/
Ddata_pipe.h54 uint32_t capacity_num_bytes; member
/external/chromium_org/mojo/services/html_viewer/
Dblink_url_request_type_converters.cc70 options.capacity_num_bytes = num_bytes; in AddRequestBody()
/external/chromium_org/mojo/public/python/mojo/
Dc_core.pxd116 uint32_t capacity_num_bytes
Dsystem.pyx643 self.capacity_num_bytes = 0
663 coptions.capacity_num_bytes = options.capacity_num_bytes
/external/chromium_org/mojo/bindings/js/
Dcore.cc168 !options_dict.Get("capacityNumBytes", &options.capacity_num_bytes)) { in CreateDataPipe()
/external/chromium_org/media/mojo/services/
Dmedia_type_converters.cc152 options.capacity_num_bytes = input->data_size(); in Convert()
/external/chromium_org/mojo/python/tests/
Dsystem_unittest.py221 options.capacity_num_bytes = DATA_SIZE
/external/chromium_org/mojo/public/cpp/bindings/tests/
Dsample_service_unittest.cc69 options.capacity_num_bytes = 1024; in MakeFoo()