/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() 270 bool IsOpusHeader(const uint8_t *data, size_t data_size) { in IsOpusHeader() argument 271 if (data_size < AOPUS_MARKER_SIZE) { in IsOpusHeader() 278 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.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 | 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 | 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/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 237 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent() 244 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent() 251 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent() 261 size_t size = event->data_offset + event->data_size; in prepareRecognitionEvent() 310 size_t size = event->data_offset + event->data_size; in prepareSoundModelEvent() 602 sound_model->data_size > (UINT_MAX - sound_model->data_offset) || in loadSoundModel() 604 sound_model->data_size > in loadSoundModel() 695 config->data_size > (UINT_MAX - config->data_offset) || in startRecognition() 697 config->data_size > in startRecognition() 899 event.common.data_size = 0; in setCaptureState_l() [all …]
|
/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 … 42 | `y` | `data_padding` | Up to 3 bytes of zeros, if `data_size` is not a multiple of …
|
/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()
|
D | PartialBucket_e2e_test.cpp | 125 EXPECT_EQ(0, report.metrics(0).count_metrics().data_size()); in TEST() 145 EXPECT_EQ(0, report.metrics(0).count_metrics().data_size()); in TEST() 167 ASSERT_EQ(1, report.metrics(0).count_metrics().data_size()); in TEST() 194 ASSERT_EQ(1, report.metrics(0).count_metrics().data_size()); in TEST()
|
D | DurationMetric_e2e_test.cpp | 103 EXPECT_EQ(1, durationMetrics.data_size()); in TEST() 186 EXPECT_EQ(1, durationMetrics.data_size()); in TEST() 355 EXPECT_EQ(1, durationMetrics.data_size()); in TEST() 433 EXPECT_EQ(1, reports.reports(0).metrics(0).duration_metrics().data_size()); in TEST() 533 EXPECT_EQ(1, reports.reports(0).metrics(0).duration_metrics().data_size()); in TEST() 691 EXPECT_EQ(1, reports.reports(0).metrics(0).duration_metrics().data_size()); in TEST()
|
/frameworks/base/tools/aapt2/format/ |
D | Container.cpp | 114 const ::google::protobuf::uint64 data_size = in->TotalSize(); in AddResFileEntry() local 115 const int data_padding = CalculatePaddingForAlignment(data_size); in AddResFileEntry() 116 coded_out.WriteLittleEndian64(kResFileEntryHeaderSize + header_size + header_padding + data_size + in AddResFileEntry() 123 coded_out.WriteLittleEndian64(data_size); in AddResFileEntry()
|
/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/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 | 139 << "data=" << btd->data.ptr.buffer << " (" << (void*)btd->data_size in printBinderTransactionData() 883 tr.data_size, in waitForResponse() 891 tr.data_size, in waitForResponse() 898 tr.data_size, in waitForResponse() 1045 tr.data_size = data.ipcDataSize(); in writeTransactionData() 1052 tr.data_size = sizeof(status_t); in writeTransactionData() 1172 tr.data_size, in executeCommand()
|