/frameworks/av/media/libstagefright/foundation/ |
D | OpusHeader.cpp | 83 static uint16_t ReadLE16(const uint8_t* data, size_t data_size, uint32_t read_offset) { in ReadLE16() argument 85 if (read_offset + 1 >= data_size) return 0; in ReadLE16() 93 bool ParseOpusHeader(const uint8_t* data, size_t data_size, OpusHeader* header) { in ParseOpusHeader() argument 97 if (data_size < kOpusHeaderSize) { in ParseOpusHeader() 107 header->skip_samples = ReadLE16(data, data_size, kOpusHeaderSkipSamplesOffset); in ParseOpusHeader() 108 header->gain_db = static_cast<int16_t>(ReadLE16(data, data_size, kOpusHeaderGainOffset)); in ParseOpusHeader() 121 if (data_size < kOpusHeaderStreamMapOffset + header->channels) { in ParseOpusHeader() 262 bool IsOpusHeader(const uint8_t *data, size_t data_size) { in IsOpusHeader() argument 263 if (data_size < AOPUS_MARKER_SIZE) { in IsOpusHeader() 270 bool GetOpusHeaderBuffers(const uint8_t *data, size_t data_size, in GetOpusHeaderBuffers() argument [all …]
|
/frameworks/native/libs/vr/libdvr/ |
D | dvr_configuration_data.cpp | 11 size_t* data_size) { in dvrConfigurationDataGet() argument 12 if (!data || !data_size) { in dvrConfigurationDataGet() 30 *data_size = config_data_status.get().size(); in dvrConfigurationDataGet() 31 *data = new uint8_t[*data_size]; in dvrConfigurationDataGet() 32 std::copy_n(config_data_status.get().begin(), *data_size, *data); in dvrConfigurationDataGet()
|
/frameworks/av/media/libstagefright/ |
D | ESDS.cpp | 73 uint8_t *tag, size_t *data_offset, size_t *data_size) const { in skipDescriptorHeader() 81 *data_size = 0; in skipDescriptorHeader() 91 *data_size = (*data_size << 7) | (x & 0x7f); in skipDescriptorHeader() 96 ALOGV("tag=0x%02x data_size=%zu", *tag, *data_size); in skipDescriptorHeader() 98 if (*data_size > size) { in skipDescriptorHeader() 110 size_t data_size; in parse() local 112 skipDescriptorHeader(0, mSize, &tag, &data_offset, &data_size); in parse() 122 return parseESDescriptor(data_offset, data_size); in parse()
|
/frameworks/av/media/extractors/mp4/ |
D | SampleTable.h | 42 uint32_t type, off64_t data_offset, size_t data_size); 44 status_t setSampleToChunkParams(off64_t data_offset, size_t data_size); 48 uint32_t type, off64_t data_offset, size_t data_size); 50 status_t setTimeToSampleParams(off64_t data_offset, size_t data_size); 53 off64_t data_offset, size_t data_size); 55 status_t setSyncSampleParams(off64_t data_offset, size_t data_size);
|
D | SampleTable.cpp | 175 uint32_t type, off64_t data_offset, size_t data_size) { in setChunkOffsetParams() argument 185 if (data_size < 8) { in setChunkOffsetParams() 203 if ((data_size - 8) / 4 < mNumChunkOffsets) { in setChunkOffsetParams() 207 if ((data_size - 8) / 8 < mNumChunkOffsets) { in setChunkOffsetParams() 216 off64_t data_offset, size_t data_size) { in setSampleToChunkParams() argument 228 if (data_size < 8) { in setSampleToChunkParams() 245 if ((data_size - 8) / sizeof(SampleToChunkEntry) < mNumSampleToChunkOffsets) { in setSampleToChunkParams() 313 uint32_t type, off64_t data_offset, size_t data_size) { in setSampleSizeParams() argument 322 if (data_size < 12) { in setSampleSizeParams() 351 if (data_size < 12 + mNumSampleSizes * 4) { in setSampleSizeParams() [all …]
|
D | MPEG4Extractor.h | 161 status_t parseQTMetaKey(off64_t data_offset, size_t data_size); 162 status_t parseQTMetaVal(int32_t keyId, off64_t data_offset, size_t data_size); 171 status_t parseTrackHeader(off64_t data_offset, off64_t data_size); 173 status_t parseSegmentIndex(off64_t data_offset, size_t data_size);
|
/frameworks/native/libs/vr/libpdx/ |
D | encoder_performance_test.cpp | 160 void* reset_data, size_t data_size) { in SerializeBaseTest() argument 161 std::vector<uint8_t> dummy_data(data_size); in SerializeBaseTest() 179 size_t data_size) { in DeserializeBaseTest() argument 180 std::vector<uint8_t> dummy_data(data_size); in DeserializeBaseTest() 220 size_t data_size) { in AddTestFunc() argument 222 std::move(deserialize_test), data_size); in AddTestFunc() 227 const size_t data_size = GetSerializedSize(value); in AddSerializationTest() local 234 std::function<DeserializeTestSignature>{}, data_size); in AddSerializationTest() 239 const size_t data_size = GetSerializedSize(value); in AddDeserializationTest() local 246 std::move(deserialize_test), data_size); in AddDeserializationTest() [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | ELFBinaryReader.cpp | 54 size_t data_size = pInput.memArea()->size(); in readBinary() local 55 Fragment* frag = m_Builder.CreateRegion(pInput, 0x0, data_size); in readBinary() 106 data_size, in readBinary() 116 data_size, in readBinary()
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | OpusHeader.h | 70 bool ParseOpusHeader(const uint8_t* data, size_t data_size, OpusHeader* header); 72 bool GetOpusHeaderBuffers(const uint8_t *data, size_t data_size, 79 bool IsOpusHeader(const uint8_t *data, size_t data_size);
|
/frameworks/base/libs/androidfw/ |
D | Idmap.cpp | 130 size_t data_size = idmap_data.size() - sizeof(*header); in Load() local 133 while (data_size >= sizeof(IdmapEntry_header)) { in Load() 149 if ((data_size - sizeof(*entry_header)) / sizeof(uint32_t) < in Load() 165 data_size -= entry_size_bytes; in Load()
|
D | LoadedArsc.cpp | 450 ChunkIterator iter(chunk.data_ptr(), chunk.data_size()); in Load() 509 if (entry_count * sizeof(uint32_t) > chunk.data_size()) { in Load() 561 if (child_chunk.data_size() / sizeof(ResTable_lib_entry) < dtohl(lib->count)) { in Load() 609 ChunkIterator overlayable_iter(child_chunk.data_ptr(), child_chunk.data_size()); in Load() 622 if ((overlayable_child_chunk.data_size() / sizeof(ResTable_ref)) in Load() 711 ChunkIterator iter(chunk.data_ptr(), chunk.data_size()); in LoadTable()
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | ipc_helper.cpp | 90 size_t data_size = msg->msg_iov[i].iov_len - offset_within_chunk; in SendMsgAll() local 94 data_size); in SendMsgAll() 97 sent_size += data_size; in SendMsgAll() 132 size_t data_size = msg->msg_iov[i].iov_len - offset_within_chunk; in RecvMsgAll() local 135 data_size); in RecvMsgAll() 138 size_read += data_size; in RecvMsgAll() 172 uint32_t data_size{0}; member 194 preamble.data_size = buffer_.size(); in Send() 305 buffer_.resize(preamble.data_size); in Receive()
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
D | SoftOpus.cpp | 290 static uint16_t ReadLE16(const uint8_t *data, size_t data_size, in ReadLE16() argument 292 if (read_offset + 1 > data_size) in ReadLE16() 311 static bool ParseOpusHeader(const uint8_t *data, size_t data_size, in ParseOpusHeader() argument 340 if (data_size < kOpusHeaderSize) { in ParseOpusHeader() 350 header->skip_samples = ReadLE16(data, data_size, in ParseOpusHeader() 353 ReadLE16(data, data_size, in ParseOpusHeader() 367 if (data_size < kOpusHeaderStreamMapOffset + header->channels) { in ParseOpusHeader()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | wire_format.cc | 841 const int data_size = FieldDataOnlyByteSize(field, message); in SerializeFieldWithCachedSizes() local 842 output->WriteVarint32(data_size); in SerializeFieldWithCachedSizes() 1009 const int data_size = FieldDataOnlyByteSize(field, message); in FieldByteSize() local 1010 int our_size = data_size; in FieldByteSize() 1012 if (data_size > 0) { in FieldByteSize() 1017 our_size += io::CodedOutputStream::VarintSize32(data_size); in FieldByteSize() 1037 int data_size = 0; in FieldDataOnlyByteSize() local 1043 data_size += WireFormatLite::TYPE_METHOD##Size( \ in FieldDataOnlyByteSize() 1048 data_size += WireFormatLite::TYPE_METHOD##Size( \ in FieldDataOnlyByteSize() 1055 data_size += count * WireFormatLite::k##TYPE_METHOD##Size; \ in FieldDataOnlyByteSize() [all …]
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 211 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent() 218 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent() 225 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent() 235 size_t size = event->data_offset + event->data_size; in prepareRecognitionEvent() 284 size_t size = event->data_offset + event->data_size; in prepareSoundModelEvent() 571 sound_model->data_size > (UINT_MAX - sound_model->data_offset) || in loadSoundModel() 573 sound_model->data_size > (modelMemory->size() - sound_model->data_offset)) { in loadSoundModel() 658 config->data_size > (UINT_MAX - config->data_offset) || in startRecognition() 660 config->data_size > (dataMemory->size() - config->data_offset)) { in startRecognition() 861 event.common.data_size = 0; in setCaptureState_l() [all …]
|
/frameworks/base/tools/aapt2/format/ |
D | Container.cpp | 107 const ::google::protobuf::uint64 data_size = in->TotalSize(); in AddResFileEntry() local 108 const int data_padding = 4 - (data_size % 4); in AddResFileEntry() 109 coded_out.WriteLittleEndian64(kResFileEntryHeaderSize + header_size + header_padding + data_size + in AddResFileEntry() 116 coded_out.WriteLittleEndian64(data_size); in AddResFileEntry()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | WakelockDuration_e2e_test.cpp | 141 EXPECT_EQ(reports.reports(0).metrics(0).duration_metrics().data_size(), 1); in TEST() 176 EXPECT_EQ(reports.reports(0).metrics(0).duration_metrics().data_size(), 1); in TEST() 227 EXPECT_EQ(reports.reports(0).metrics(0).duration_metrics().data_size(), 1); in TEST() 266 EXPECT_EQ(0, reports.reports(0).metrics(0).duration_metrics().data_size()); in TEST() 290 EXPECT_EQ(reports.reports(0).metrics(0).duration_metrics().data_size(), 1); in TEST() 336 EXPECT_EQ(reports.reports(0).metrics(0).duration_metrics().data_size(), 1); in TEST()
|
/frameworks/base/cmds/statsd/tests/ |
D | statsd_test_util.h | 219 for (int i = 0; i < metrics->data_size(); ++i) { in backfillStringInDimension() 240 for (int i = 0; i < metricData->data_size(); ++i) { in backfillDimensionPath() 264 for (int i = 0; i < metricData.data_size(); ++i) { in sortMetricDataByDimensionsValue() 301 for (int i = 0; i < metrics->data_size(); ++i) { in backfillStartEndTimestampForMetrics()
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
D | dvr_configuration_data.h | 17 uint8_t** data, size_t* data_size);
|
/frameworks/native/cmds/servicemanager/ |
D | binder.c | 53 … txn->sender_pid, txn->sender_euid, (uint64_t)txn->data_size, (uint64_t)txn->offsets_size); in binder_dump_txn() 54 hexdump((void *)(uintptr_t)txn->data.ptr.buffer, txn->data_size); in binder_dump_txn() 215 data.txn.data_size = sizeof(int); in binder_send_reply() 221 data.txn.data_size = reply->data - reply->data0; in binder_send_reply() 382 writebuf.txn.data_size = msg->data - msg->data0; in binder_call() 456 bio->data_avail = txn->data_size; in bio_init_from_txn()
|
/frameworks/base/tools/aapt2/ |
D | formats.md | 38 | `8` | `data_size` | The size of the `data` field. … 41 | `data_size` | `data` | The payload, which is determined by the `type` field in the `a…
|
/frameworks/base/core/jni/ |
D | android_hardware_SoundTrigger.cpp | 216 if (event->data_size) { in onRecognitionEvent() 217 jData = env->NewByteArray(event->data_size); in onRecognitionEvent() 219 memcpy(nData, (char *)event + event->data_offset, event->data_size); in onRecognitionEvent() 328 if (event->data_size) { in onSoundModelEvent() 329 jData = env->NewByteArray(event->data_size); in onSoundModelEvent() 331 memcpy(nData, (char *)event + event->data_offset, event->data_size); in onSoundModelEvent() 619 nSoundModel->data_size = size; in android_hardware_SoundTrigger_loadSoundModel() 752 config->data_size = dataSize; in android_hardware_SoundTrigger_startRecognition()
|
/frameworks/av/media/libstagefright/include/ |
D | ESDS.h | 61 uint8_t *tag, size_t *data_offset, size_t *data_size) const;
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Chunk.h | 63 inline size_t data_size() const { return size() - header_size(); } in data_size() function
|
/frameworks/native/libs/binder/ |
D | IPCThreadState.cpp | 138 << "data=" << btd->data.ptr.buffer << " (" << (void*)btd->data_size in printBinderTransactionData() 882 tr.data_size, in waitForResponse() 890 tr.data_size, in waitForResponse() 897 tr.data_size, in waitForResponse() 1040 tr.data_size = data.ipcDataSize(); in writeTransactionData() 1047 tr.data_size = sizeof(status_t); in writeTransactionData() 1170 tr.data_size, in executeCommand()
|