Lines Matching defs:array

54         const std::shared_ptr<const std::vector<const BufferInfo>> &array,
57 array->begin(), array->end(),
62 const std::shared_ptr<const std::vector<const BufferInfo>> &array,
65 array->begin(), array->end(),
93 std::shared_ptr<const std::vector<const BufferInfo>> array(
95 BufferInfoIterator it = findClientBuffer(array, buffer);
96 if (it == array->end()) {
115 std::shared_ptr<const std::vector<const BufferInfo>> array(
117 BufferInfoIterator it = findClientBuffer(array, buffer);
118 if (it == array->end()) {
239 std::shared_ptr<const std::vector<const BufferInfo>> array(
241 BufferInfoIterator it = findClientBuffer(array, buffer);
242 if (it == array->end()) {
257 std::shared_ptr<const std::vector<const BufferInfo>> array(
260 BufferInfoIterator it = findClientBuffer(array, buffer);
261 if (it == array->end()) {
262 array = std::atomic_load(&mOutputBuffers);
264 it = findClientBuffer(array, buffer);
265 if (it == array->end()) {
278 void ACodecBufferChannel::getInputBufferArray(Vector<sp<MediaCodecBuffer>> *array) {
281 array->clear();
283 array->push_back(elem.mClientBuffer);
287 void ACodecBufferChannel::getOutputBufferArray(Vector<sp<MediaCodecBuffer>> *array) {
290 array->clear();
292 array->push_back(elem.mClientBuffer);
323 void ACodecBufferChannel::setInputBufferArray(const std::vector<BufferAndId> &array) {
326 array.begin(), array.end(), 0u,
332 array.begin(), array.end(), 0u,
345 for (const BufferAndId &elem : array) {
357 void ACodecBufferChannel::setOutputBufferArray(const std::vector<BufferAndId> &array) {
359 for (const BufferAndId &elem : array) {
369 std::shared_ptr<const std::vector<const BufferInfo>> array(
371 BufferInfoIterator it = findBufferId(array, bufferId);
373 if (it == array->end()) {
382 std::distance(array->begin(), it),
390 std::shared_ptr<const std::vector<const BufferInfo>> array(
392 BufferInfoIterator it = findBufferId(array, bufferId);
394 if (it == array->end()) {
415 std::distance(array->begin(), it),