Home
last modified time | relevance | path

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

/aosp12/frameworks/base/tools/aapt2/io/
H A 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()
/aosp12/frameworks/av/media/libstagefright/
H A 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()
/aosp12/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
H A Dflatbuffers_serialization.h106 bool Deserialize(const uint8_t *in_buffer, size_t in_buffer_len,
108 if (in_buffer == nullptr || in_buffer_len == 0) {
118 flatbuffers::Verifier verifier(in_buffer, in_buffer_len);
125 flatbuffers::GetRoot<typename SerializeType::FbsType>(in_buffer);
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/common/
H A DUtils.cpp30 std::string ByteArrayToHexString(const uint8_t* in_buffer, size_t length) { in ByteArrayToHexString() argument
37 char byte = in_buffer[i]; in ByteArrayToHexString()
/aosp12/system/bt/embdrv/g722/
H A Dg722_enc_dec.h101 unsigned int in_buffer; member
126 unsigned int in_buffer; member
H A Dg722_decode.cc291 s->in_buffer |= (g722_data[j++] << s->in_bits); in g722_decode()
294 code = s->in_buffer & ((1 << s->bits_per_sample) - 1); in g722_decode()
295 s->in_buffer >>= s->bits_per_sample; in g722_decode()
/aosp12/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
H A 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()
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/common/include/
H A DUtils.h28 std::string ByteArrayToHexString(const uint8_t* in_buffer, size_t length);
/aosp12/packages/modules/adb/fastdeploy/deploypatchgenerator/
H A Ddeploy_patch_generator.cpp48 static std::string HexEncode(const void* in_buffer, unsigned int size) { in HexEncode() argument
55 char byte = ((const uint8_t*)in_buffer)[i]; in HexEncode()
/aosp12/frameworks/base/tools/aapt2/compile/
H A 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()
/aosp12/art/libprofile/profile/
H A Dprofile_compilation_info.cc123 std::unique_ptr<uint8_t[]> DeflateBuffer(ArrayRef<const uint8_t> in_buffer, in DeflateBuffer() argument
134 uint32_t out_size = dchecked_integral_cast<uint32_t>(deflateBound(&strm, in_buffer.size())); in DeflateBuffer()
137 strm.avail_in = in_buffer.size(); in DeflateBuffer()
138 strm.next_in = const_cast<uint8_t*>(in_buffer.data()); in DeflateBuffer()
159 int InflateBuffer(ArrayRef<const uint8_t> in_buffer, /*out*/ ArrayRef<uint8_t> out_buffer) { in InflateBuffer() argument
165 strm.avail_in = in_buffer.size(); in InflateBuffer()
166 strm.next_in = const_cast<uint8_t*>(in_buffer.data()); in InflateBuffer()
481 ArrayRef<const uint8_t> in_buffer(Get(), Size()); in Deflate() local
483 std::unique_ptr<uint8_t[]> compressed_buffer = DeflateBuffer(in_buffer, &output_size); in Deflate()
497 ArrayRef<const uint8_t> in_buffer(Get(), Size()); in Inflate() local
[all …]
/aosp12/bionic/libc/kernel/uapi/linux/
H A Dhdreg.h71 unsigned char * in_buffer; member