Home
last modified time | relevance | path

Searched refs:buffers_ (Results 1 – 25 of 43) sorted by relevance

12

/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dconsuming_buffers.hpp164 : buffers_(buffers), in consuming_buffers()
165 at_end_(buffers_.begin() == buffers_.end()), in consuming_buffers()
166 begin_remainder_(buffers_.begin()), in consuming_buffers()
171 first_ = *buffers_.begin(); in consuming_buffers()
178 : buffers_(other.buffers_), in consuming_buffers()
181 begin_remainder_(buffers_.begin()), in consuming_buffers()
184 typename Buffers::const_iterator first = other.buffers_.begin(); in consuming_buffers()
192 buffers_ = other.buffers_; in operator =()
195 begin_remainder_ = buffers_.begin(); in operator =()
196 typename Buffers::const_iterator first = other.buffers_.begin(); in operator =()
[all …]
Dbuffer_sequence_adapter.hpp74 init_native_buffer(buffers_[count_], buffer); in buffer_sequence_adapter()
81 return buffers_; in buffers()
130 native_buffer_type buffers_[max_buffers]; member in asio::detail::buffer_sequence_adapter
237 init_native_buffer(buffers_[0], Buffer(buffer_sequence[0])); in buffer_sequence_adapter()
238 init_native_buffer(buffers_[1], Buffer(buffer_sequence[1])); in buffer_sequence_adapter()
245 return buffers_; in buffers()
277 native_buffer_type buffers_[2]; member in asio::detail::buffer_sequence_adapter
290 init_native_buffer(buffers_[0], Buffer(buffer_sequence[0])); in buffer_sequence_adapter()
291 init_native_buffer(buffers_[1], Buffer(buffer_sequence[1])); in buffer_sequence_adapter()
298 return buffers_; in buffers()
[all …]
Dreactive_socket_send_op.hpp37 buffers_(buffers), in reactive_socket_send_op_base()
48 ConstBufferSequence> bufs(o->buffers_); in do_perform()
57 ConstBufferSequence buffers_; member in asio::detail::reactive_socket_send_op_base
Dreactive_socket_recvmsg_op.hpp38 buffers_(buffers), in reactive_socket_recvmsg_op_base()
50 MutableBufferSequence> bufs(o->buffers_); in do_perform()
60 MutableBufferSequence buffers_; member in asio::detail::reactive_socket_recvmsg_op_base
Dreactive_socket_recv_op.hpp38 buffers_(buffers), in reactive_socket_recv_op_base()
49 MutableBufferSequence> bufs(o->buffers_); in do_perform()
60 MutableBufferSequence buffers_; member in asio::detail::reactive_socket_recv_op_base
Dreactive_socket_sendto_op.hpp37 buffers_(buffers), in reactive_socket_sendto_op_base()
49 ConstBufferSequence> bufs(o->buffers_); in do_perform()
59 ConstBufferSequence buffers_; member in asio::detail::reactive_socket_sendto_op_base
Dreactive_socket_recvfrom_op.hpp38 buffers_(buffers), in reactive_socket_recvfrom_op_base()
50 MutableBufferSequence> bufs(o->buffers_); in do_perform()
67 MutableBufferSequence buffers_; member in asio::detail::reactive_socket_recvfrom_op_base
/external/webrtc/webrtc/common_audio/
Daudio_ring_buffer.cc21 buffers_.reserve(channels); in AudioRingBuffer()
23 buffers_.push_back(WebRtc_CreateBuffer(max_frames, sizeof(float))); in AudioRingBuffer()
27 for (auto buf : buffers_) in ~AudioRingBuffer()
33 RTC_DCHECK_EQ(buffers_.size(), channels); in Write()
35 const size_t written = WebRtc_WriteBuffer(buffers_[i], data[i], frames); in Write()
41 RTC_DCHECK_EQ(buffers_.size(), channels); in Read()
44 WebRtc_ReadBuffer(buffers_[i], nullptr, data[i], frames); in Read()
51 return WebRtc_available_read(buffers_[0]); in ReadFramesAvailable()
56 return WebRtc_available_write(buffers_[0]); in WriteFramesAvailable()
60 for (auto buf : buffers_) { in MoveReadPositionForward()
[all …]
Daudio_converter.cc113 buffers_.push_back(new ChannelBuffer<float>((*it)->dst_frames(), in CompositionConverter()
120 converters_.front()->Convert(src, src_size, buffers_.front()->channels(), in Convert()
121 buffers_.front()->size()); in Convert()
123 auto src_buffer = buffers_[i - 2]; in Convert()
124 auto dst_buffer = buffers_[i - 1]; in Convert()
130 converters_.back()->Convert(buffers_.back()->channels(), in Convert()
131 buffers_.back()->size(), dst, dst_capacity); in Convert()
136 ScopedVector<ChannelBuffer<float>> buffers_; member in webrtc::CompositionConverter
/external/parameter-framework/asio-1.10.6/include/asio/impl/
Dread.hpp97 buffers_(buffers), in read_op()
107 buffers_(other.buffers_), in read_op()
117 buffers_(other.buffers_), in read_op()
130 buffers_.prepare(this->check_for_completion(ec, total_transferred_)); in operator ()()
133 stream_.async_read_some(buffers_, in operator ()()
137 buffers_.consume(bytes_transferred); in operator ()()
138 buffers_.prepare(this->check_for_completion(ec, total_transferred_)); in operator ()()
140 || buffers_.begin() == buffers_.end()) in operator ()()
151 mutable_buffer, MutableBufferSequence> buffers_; member in asio::detail::read_op
242 buffers_(buffers), in read_op()
[all …]
Dwrite.hpp95 buffers_(buffers), in write_op()
105 buffers_(other.buffers_), in write_op()
115 buffers_(other.buffers_), in write_op()
128 buffers_.prepare(this->check_for_completion(ec, total_transferred_)); in operator ()()
131 stream_.async_write_some(buffers_, in operator ()()
135 buffers_.consume(bytes_transferred); in operator ()()
136 buffers_.prepare(this->check_for_completion(ec, total_transferred_)); in operator ()()
138 || buffers_.begin() == buffers_.end()) in operator ()()
149 const_buffer, ConstBufferSequence> buffers_; member in asio::detail::write_op
315 buffers_(buffers), in write_op()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dshaped_buffer.cc41 buffers_(&on_device_shape_) {} in ShapedBuffer()
48 buffers_(std::move(s.buffers_)) { in ShapedBuffer()
52 buffers_.replace_shape_ptr(&on_device_shape_); in ShapedBuffer()
60 buffers_ = std::move(s.buffers_); in operator =()
64 buffers_.replace_shape_ptr(&on_device_shape_); in operator =()
71 for (auto& pair : buffers_) { in clear()
138 buffers_ = ShapeTree<se::DeviceMemoryBase>(); in release()
151 for (auto& pair : buffers_) { in Deallocate()
Dshaped_buffer.h79 return buffers_.element(index); in buffer()
84 *buffers_.mutable_element(index) = buffer; in set_buffer()
92 buffers_ = std::move(buffers); in set_buffers()
97 const ShapeTree<se::DeviceMemoryBase>& buffers() const { return buffers_; } in buffers()
98 ShapeTree<se::DeviceMemoryBase>& buffers() { return buffers_; } in buffers()
119 ShapeTree<se::DeviceMemoryBase> buffers_; variable
167 *buffers_.mutable_element(index) = buffer.Forget(); in set_buffer()
169 *buffers_.mutable_element(index) = se::DeviceMemoryBase(); in set_buffer()
Dhlo_alias_analysis.cc65 buffers_.reserve(dataflow_.values().size()); in BufferValueMap()
69 buffers_[buffer_number].insert(value); in BufferValueMap()
91 if (buffers_.at(current_buffer).size() == 1) { in MergeAliasedBuffers()
92 CHECK_EQ(*buffers_.at(current_buffer).begin(), value); in MergeAliasedBuffers()
117 for (const auto& pair : buffers_) { in ComputeSortedBufferNumbers()
127 return buffers_.at(buffer_number); in GetValuesInBuffer()
134 buffers_[buffer_number].insert(&value); in NewBuffer()
141 buffers_[new_buffer_number]; in MoveValueToNewBuffer()
149 buffers_.at(old_buffer_number); in MoveValueToBuffer()
152 buffers_.erase(old_buffer_number); in MoveValueToBuffer()
[all …]
Dhlo_alias_analysis.h60 return buffers_.at(buffer_id); in GetBuffer()
63 return buffers_.at(buffer_id); in GetBuffer()
82 const std::vector<HloBuffer>& buffers() const { return buffers_; } in buffers()
118 std::vector<HloBuffer> buffers_; variable
Dhlo_rematerialization.cc447 const Buffer& buffer = buffers_.at(buffer_id); in AllocatedSize()
475 const Buffer& buffer = buffers_[buffer_id]; in IsCurrentlyLive()
483 int buffer_id = buffers_.size(); in NewBuffer()
484 buffers_.push_back(Buffer{buffer_id, defining_instruction, size, live_out, in NewBuffer()
487 return buffers_.back(); in NewBuffer()
505 std::vector<Buffer> buffers_; member in xla::__anon4fe3fcd60111::MemoryUsageTracker
536 &buffers_.at(logical_buffer_to_buffer_id.at(source_logical_buffer)); in MemoryUsageTracker()
580 VLOG(3) << " Buffer " << buffers_.at(buffer_id).ToString() in BeginInstruction()
602 Buffer& buffer = buffers_.at(buffer_id); in EndInstruction()
617 const Buffer& buffer = buffers_.at(buffer_id); in EndInstruction()
[all …]
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_state.cc175 buffers_(&on_device_shape_) {} in XRTTupleAllocation()
178 for (auto& buffer : buffers_) { in ~XRTTupleAllocation()
257 buffers_.element(buffer_index)->DiscardAllocation(); in DiscardAllocation()
269 return buffers_.element({})->allocation(); in root_allocation()
310 (*allocation)->buffers_.CopySubtreeFrom(parent->buffers_, subshape, {}); in MakeSubBuffer()
313 ->buffers_.ForEachElement( in MakeSubBuffer()
320 ->buffers_.ForEachMutableElement( in MakeSubBuffer()
328 *buffer = parent->buffers_.element(parent_index); in MakeSubBuffer()
329 *parent->buffers_.mutable_element(parent_index) = in MakeSubBuffer()
445 allocation_tmp->buffers_.CopySubtreeFrom(element.allocation->buffers_, {}, in MakeTuple()
[all …]
/external/webrtc/webrtc/common_video/
Di420_buffer_pool.cc62 buffers_.clear(); in Release()
69 for (auto it = buffers_.begin(); it != buffers_.end();) { in CreateBuffer()
71 it = buffers_.erase(it); in CreateBuffer()
76 for (const rtc::scoped_refptr<I420Buffer>& buffer : buffers_) { in CreateBuffer()
86 buffers_.push_back(new rtc::RefCountedObject<I420Buffer>(width, height)); in CreateBuffer()
87 return new rtc::RefCountedObject<PooledI420Buffer>(buffers_.back()); in CreateBuffer()
/external/autotest/client/deps/glbench/src/
Dbufferuploadtest.cc39 GLuint buffers_[kNumberOfBuffers]; member in glbench::BufferUploadTest
46 glBindBuffer(target_, buffers_[i % kNumberOfBuffers]); in TestFunc()
66 glGenBuffers(kNumberOfBuffers, buffers_); in Run()
68 glBindBuffer(target_, buffers_[0]); in Run()
80 glDeleteBuffers(kNumberOfBuffers, buffers_); in Run()
/external/webrtc/webrtc/base/
Dsec_buffer.h108 desc_.pBuffers = buffers_; in CSecBufferBundle()
129 return buffers_[num];
135 return buffers_[num];
142 buffers_[i].Release(); in Release()
151 CSecBuffer<pfnFreeBuffer> buffers_[num_buffers]; variable
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dbuffer_allocations.cc110 const auto& buf = buffer_allocations->buffers_[i]; in Build()
156 CHECK_LT(buffer_index, buffers_.size()); in GetDeviceAddress()
157 return buffers_[buffer_index]; in GetDeviceAddress()
173 CHECK_LT(buffer_index, buffers_.size()); in SetBuffer()
174 buffers_[buffer_index] = buffer; in SetBuffer()
/external/minigbm/cros_gralloc/
Dcros_gralloc_driver.cc20 buffers_.clear(); in ~cros_gralloc_driver()
159 buffers_.emplace(id, buffer); in allocate()
188 if (buffers_.count(id)) { in retain()
189 buffer = buffers_[id]; in retain()
216 buffers_.emplace(id, buffer); in retain()
243 buffers_.erase(buffer->get_id()); in release()
/external/libtextclassifier/utils/
Dtokenizer_test.cc60 buffers_.reserve(num_configs + num_internal_configs); in TestingTokenizerProxy()
65 buffers_.push_back(builder.Release()); in TestingTokenizerProxy()
67 buffers_.back().data())); in TestingTokenizerProxy()
73 buffers_.push_back(builder.Release()); in TestingTokenizerProxy()
75 flatbuffers::GetRoot<CodepointRange>(buffers_.back().data())); in TestingTokenizerProxy()
98 std::vector<flatbuffers::DetachedBuffer> buffers_; member in libtextclassifier3::__anonfe576b980111::TestingTokenizerProxy
/external/perfetto/include/perfetto/tracing/core/
Dtrace_config.h497 int buffers_size() const { return static_cast<int>(buffers_.size()); } in buffers_size()
498 const std::vector<BufferConfig>& buffers() const { return buffers_; } in buffers()
499 std::vector<BufferConfig>* mutable_buffers() { return &buffers_; } in mutable_buffers()
500 void clear_buffers() { buffers_.clear(); } in clear_buffers()
502 buffers_.emplace_back(); in add_buffers()
503 return &buffers_.back(); in add_buffers()
629 std::vector<BufferConfig> buffers_;
/external/tensorflow/tensorflow/lite/tools/
Dverifier_test.cc57 buffers_.push_back( in TfLiteFlatbufferModelBuilder()
63 buffers_.push_back( in TfLiteFlatbufferModelBuilder()
79 buffer_index = buffers_.size(); in AddTensor()
80 buffers_.push_back(CreateBuffer(builder_, builder_.CreateVector(buffer))); in AddTensor()
115 builder_.CreateVector(buffers_)); in FinishModel()
134 std::vector<Offset<Buffer>> buffers_; member in tflite::TfLiteFlatbufferModelBuilder

12