Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/io/
DUtil.cpp97 const void* in_buffer; in Copy() local
99 while (in->Next(&in_buffer, &in_len)) { in Copy()
107 memcpy(out_buffer, in_buffer, bytes_to_copy); in Copy()
115 const char* in_buffer = in.data(); in Copy() local
125 memcpy(out_buffer, in_buffer, bytes_to_copy); in Copy()
127 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 if (cpLen + sizeof(numPageSamples) <= in_buffer->capacity()) { in doRead()
329 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/av/drm/mediadrm/plugins/clearkey/common/include/
DUtils.h28 std::string ByteArrayToHexString(const uint8_t* in_buffer, size_t length);
/frameworks/native/services/sensorservice/aidl/include/sensorserviceaidl/
DSensorManagerAidl.h46 const ::ndk::ScopedFileDescriptor& in_buffer, int64_t in_size,
/frameworks/base/libs/androidfw/
DPngCrunch.cpp87 const void* in_buffer; in ReadDataFromStream() local
89 if (!in->Next(&in_buffer, &in_len)) { in ReadDataFromStream()
103 memcpy(buffer, in_buffer, bytes_read); in ReadDataFromStream()