/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 | 41 uint32_t type, off64_t data_offset, size_t data_size); 43 status_t setSampleToChunkParams(off64_t data_offset, size_t data_size); 47 uint32_t type, off64_t data_offset, size_t data_size); 49 status_t setTimeToSampleParams(off64_t data_offset, size_t data_size); 52 off64_t data_offset, size_t data_size); 54 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 | 126 status_t parseQTMetaKey(off64_t data_offset, size_t data_size); 127 status_t parseQTMetaVal(int32_t keyId, off64_t data_offset, size_t data_size); 136 status_t parseTrackHeader(off64_t data_offset, off64_t data_size); 138 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/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 | 417 ChunkIterator iter(chunk.data_ptr(), chunk.data_size()); in Load() 476 if (entry_count * sizeof(uint32_t) > chunk.data_size()) { in Load() 527 if (child_chunk.data_size() / sizeof(ResTable_lib_entry) < dtohl(lib->count)) { in Load() 604 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 | 218 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent() 225 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent() 232 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent() 242 size_t size = event->data_offset + event->data_size; in prepareRecognitionEvent() 291 size_t size = event->data_offset + event->data_size; in prepareSoundModelEvent() 580 sound_model->data_size > (UINT_MAX - sound_model->data_offset) || in loadSoundModel() 582 sound_model->data_size > (modelMemory->size() - sound_model->data_offset)) { in loadSoundModel() 672 config->data_size > (UINT_MAX - config->data_offset) || in startRecognition() 674 config->data_size > (dataMemory->size() - config->data_offset)) { in startRecognition() 856 event.common.data_size = 0; in setCaptureState_l() [all …]
|
/frameworks/base/tools/aapt2/format/ |
D | Container.cpp | 105 const ::google::protobuf::uint64 data_size = in->TotalSize(); in AddResFileEntry() local 106 const int data_padding = 4 - (data_size % 4); in AddResFileEntry() 107 coded_out.WriteLittleEndian64(kResFileEntryHeaderSize + header_size + header_padding + data_size + in AddResFileEntry() 114 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/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() 289 EXPECT_EQ(reports.reports(0).metrics(0).duration_metrics().data_size(), 1); in TEST() 335 EXPECT_EQ(reports.reports(0).metrics(0).duration_metrics().data_size(), 1); in TEST()
|
D | DimensionInCondition_e2e_simple_cond_test.cpp | 159 EXPECT_EQ(metrics.data_size(), 4); in TEST() 232 EXPECT_EQ(metrics.data_size(), 4); in TEST() 455 EXPECT_EQ(metrics.data_size(), 3); in TEST() 494 EXPECT_EQ(metrics.data_size(), 3); in TEST() 676 EXPECT_EQ(4, metrics.data_size()); in TEST() 740 EXPECT_EQ(metrics.data_size(), 4); in TEST()
|
/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() 203 data.txn.data_size = sizeof(int); in binder_send_reply() 209 data.txn.data_size = reply->data - reply->data0; in binder_send_reply() 356 writebuf.txn.data_size = msg->data - msg->data0; in binder_call() 430 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 | 215 if (event->data_size) { in onRecognitionEvent() 216 jData = env->NewByteArray(event->data_size); in onRecognitionEvent() 218 memcpy(nData, (char *)event + event->data_offset, event->data_size); in onRecognitionEvent() 315 if (event->data_size) { in onSoundModelEvent() 316 jData = env->NewByteArray(event->data_size); in onSoundModelEvent() 318 memcpy(nData, (char *)event + event->data_offset, event->data_size); in onSoundModelEvent() 599 nSoundModel->data_size = size; in android_hardware_SoundTrigger_loadSoundModel() 732 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 | 132 << "data=" << btd->data.ptr.buffer << " (" << (void*)btd->data_size in printBinderTransactionData() 812 tr.data_size, in waitForResponse() 820 tr.data_size, in waitForResponse() 827 tr.data_size, in waitForResponse() 970 tr.data_size = data.ipcDataSize(); in writeTransactionData() 977 tr.data_size = sizeof(status_t); in writeTransactionData() 1088 tr.data_size, in executeCommand()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_frame.cpp | 183 bool GLFrame::WriteData(const uint8_t* data, int data_size) { in WriteData() argument 184 return (data_size == Size()) ? UploadTexturePixels(data) : false; in WriteData()
|
/frameworks/native/libs/vr/libdvr/tests/ |
D | dvr_display_manager-test.cpp | 279 size_t data_size = 0; in GetConfigData() local 280 int error = dvrConfigurationDataGet(config_type, &data, &data_size); in GetConfigData() 285 if (!data || data_size == 0) { in GetConfigData() 288 std::vector<uint8_t> data_result(data, data + data_size); in GetConfigData() 290 std::string s(data, data + data_size); in GetConfigData()
|