Home
last modified time | relevance | path

Searched refs:in_buffer (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/aapt2/io/
DUtil.cpp92 const void* in_buffer; in Copy() local
94 while (in->Next(&in_buffer, &in_len)) { in Copy()
102 memcpy(out_buffer, in_buffer, bytes_to_copy); in Copy()
110 const char* in_buffer = in.data(); in Copy() local
120 memcpy(out_buffer, in_buffer, bytes_to_copy); in Copy()
122 in_buffer += bytes_to_copy; in Copy()
/frameworks/av/media/libstagefright/
DSimpleDecodingSource.cpp259 sp<MediaCodecBuffer> in_buffer; in doRead() local
261 res = mCodec->getInputBuffer(in_ix, &in_buffer); in doRead()
264 if (res != OK || in_buffer == NULL) { in doRead()
314 if (in_buf->range_length() + (mIsVorbis ? 4 : 0) > in_buffer->capacity()) { in doRead()
317 in_buf->range_length() + (mIsVorbis ? 4 : 0), in_buffer->capacity()); in doRead()
319 size_t cpLen = min(in_buf->range_length(), in_buffer->capacity()); in doRead()
320 memcpy(in_buffer->base(), (uint8_t *)in_buf->data() + in_buf->range_offset(), in doRead()
328 memcpy(in_buffer->base() + cpLen, &numPageSamples, sizeof(numPageSamples)); in doRead()
/frameworks/av/drm/mediadrm/plugins/clearkey/common/
DUtils.cpp30 std::string ByteArrayToHexString(const uint8_t* in_buffer, size_t length) { in ByteArrayToHexString() argument
37 char byte = in_buffer[i]; in ByteArrayToHexString()
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
Dbuffer_hub_queue_client.h176 Entry(const std::shared_ptr<BufferHubBase>& in_buffer, size_t in_slot, in Entry()
178 : buffer(in_buffer), slot(in_slot), index(in_index) {} in Entry()
179 Entry(const std::shared_ptr<BufferHubBase>& in_buffer, in Entry()
182 : buffer(in_buffer), in Entry()
/frameworks/av/drm/mediadrm/plugins/clearkey/common/include/
DUtils.h28 std::string ByteArrayToHexString(const uint8_t* in_buffer, size_t length);
/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp88 const void* in_buffer; in ReadDataFromStream() local
90 if (!in->Next(&in_buffer, &in_len)) { in ReadDataFromStream()
104 memcpy(buffer, in_buffer, bytes_read); in ReadDataFromStream()