Home
last modified time | relevance | path

Searched refs:dataSize (Results 1 – 20 of 20) sorted by relevance

/system/core/adb/fastdeploy/deploypatchgenerator/
Dpatch_utils.cpp40 int64_t dataSize; in GetDeviceAPKMetaData() local
46 cur, size, &md5Hash, &localFileHeaderOffset, &dataSize)) { in GetDeviceAPKMetaData()
53 apkEntry->set_datasize(dataSize); in GetDeviceAPKMetaData()
70 auto dataSize = in GetHostAPKMetaData() local
72 if (dataSize == 0) { in GetHostAPKMetaData()
75 apkEntry.set_datasize(dataSize); in GetHostAPKMetaData()
Dapk_archive.h52 int64_t* localFileHeaderOffset, int64_t* dataSize);
55 size_t CalculateLocalFileEntrySize(int64_t localFileHeaderOffset, int64_t dataSize) const;
Dapk_archive.cpp210 int64_t* localFileHeaderOffset, int64_t* dataSize) { in ParseCentralDirectoryRecord() argument
285 *dataSize = (cdr->compression_method == kCompressStored) ? cdr->uncompressed_size in ParseCentralDirectoryRecord()
292 int64_t dataSize) const { in CalculateLocalFileEntrySize()
367 lfh->extra_field_length + dataSize; in CalculateLocalFileEntrySize()
407 if (localDataSize != dataSize) { in CalculateLocalFileEntrySize()
411 static_cast<long long>(dataSize), static_cast<long long>(localDataSize)); in CalculateLocalFileEntrySize()
415 return kLocalFileHeaderSize + lfh->file_name_length + lfh->extra_field_length + dataSize + in CalculateLocalFileEntrySize()
/system/chre/apps/chqts/src/shared/
Dsend_message.cc110 size_t dataSize, bool dumbAlloc) { in internalSendMessage() argument
114 if (!chreSendMessageToHostEndpoint(data, dataSize, in internalSendMessage()
124 size_t dataSize) { in sendMessageToHost() argument
125 if ((dataSize == 0) && (data != nullptr)) { in sendMessageToHost()
129 size_t fullMessageSize = dataSize; in sendMessageToHost()
132 memcpy(ptr, data, dataSize); in sendMessageToHost()
Dsend_message.h116 size_t dataSize = 0);
/system/extras/tests/crypto/
Dget_dm_versions.c11 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) in ioctl_init() argument
13 memset(io, 0, dataSize); in ioctl_init()
14 io->data_size = dataSize; in ioctl_init()
/system/core/libcutils/
Dashmem_test.cpp133 constexpr size_t dataSize = PAGE_SIZE * 2; in TEST() local
136 ASSERT_NO_FATAL_FAILURE(TestMmap(fd, dataSize, PROT_READ | PROT_WRITE, &region, holeSize)); in TEST()
138 uint8_t data[dataSize]; in TEST()
139 FillData(data, dataSize); in TEST()
140 memcpy(region, data, dataSize); in TEST()
143 constexpr off_t dataEnd = dataStart + dataSize; in TEST()
174 ssize_t readSize = dataSize - dataOff; in TEST()
182 EXPECT_EQ(0, munmap(region, dataSize)); in TEST()
/system/security/keystore/
Dkeystore_cli.cpp145 size_t dataSize; \
146 read_input(&data, &dataSize); \
148 service->cmd(String16(argv[2]), data, dataSize, &ret); \
/system/libhwbinder/
DIPCThreadState.cpp416 if (mOut.dataSize() > 0) { in flushCommands()
419 if (mOut.dataSize() > 0) { in flushCommands()
495 if (mIn.dataPosition() >= mIn.dataSize()) { in processPendingDerefs()
604 } while (mIn.dataPosition() < mIn.dataSize()); in handlePolledCommands()
899 const bool needRead = mIn.dataPosition() >= mIn.dataSize(); in talkWithDriver()
904 const size_t outAvail = (!doReceive || needRead) ? mOut.dataSize() : 0; in talkWithDriver()
939 alog << "About to read/write, write size = " << mOut.dataSize() << endl; in talkWithDriver()
953 alog << "Finished read/write, write size = " << mOut.dataSize() << endl; in talkWithDriver()
959 << bwr.write_consumed << " (of " << mOut.dataSize() in talkWithDriver()
965 if (bwr.write_consumed < mOut.dataSize()) in talkWithDriver()
[all …]
DParcel.cpp277 size_t Parcel::dataSize() const in dataSize() function in android::hardware::Parcel
284 size_t result = dataSize() - dataPosition(); in dataAvail()
1575 void Parcel::ipcSetDataReference(const uint8_t* data, size_t dataSize, in ipcSetDataReference() argument
1582 mDataSize = mDataCapacity = dataSize; in ipcSetDataReference()
1612 } else if (dataSize() > 0) { in print()
1614 to << indent << HexDump(DATA, dataSize()) << dedent; in print()
/system/core/adb/fastdeploy/proto/
DApkEntry.proto19 int64 dataSize = 3; field
/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp144 .dataSize = (uint32_t)data.size(), in writeTestRanges()
151 .dataSize = (uint32_t)data.size(), in writeTestRanges()
158 .dataSize = (uint32_t)data.size(), in writeTestRanges()
166 .dataSize = (uint32_t)data.size(), in writeTestRanges()
174 .dataSize = (uint32_t)data.size(), in writeTestRanges()
182 .dataSize = (uint32_t)data.size(), in writeTestRanges()
404 .dataSize = (uint32_t)data.size(), in TEST_F()
447 .dataSize = (uint32_t)data.size(), in TEST_F()
515 .dataSize = (uint32_t)data.size(), in TEST_F()
652 .dataSize = (uint32_t)data.size(), in TEST_F()
[all …]
/system/libhwbinder/include/hwbinder/
DParcel.h58 size_t dataSize() const;
238 const uint8_t* data, size_t dataSize,
247 void ipcSetDataReference(const uint8_t* data, size_t dataSize,
DIPCThreadState.h134 const uint8_t* data, size_t dataSize,
/system/media/audio_utils/
Dtinysndfile.c409 unsigned dataSize = handle->remaining * handle->bytesPerFrame; in sf_close() local
410 write4u(&wav[4], dataSize + 36 + extra); // riffSize in sf_close()
411 write4u(&wav[40 + extra], dataSize); // dataSize in sf_close()
/system/incremental_delivery/incfs/include/
Dincfs_ndk.h105 uint32_t dataSize; member
/system/libziparchive/
Dzip_archive.cc376 auto dataSize = ConsumeUnaligned<uint16_t>(&readPtr); in ParseZip64ExtendedInfoInExtraField() local
379 if (dataSize > extraFieldLength - offset) { in ParseZip64ExtendedInfoInExtraField()
380 ALOGW("Zip: Data size exceeds the boundary of extra field, data size %" PRIu16, dataSize); in ParseZip64ExtendedInfoInExtraField()
387 offset += dataSize; in ParseZip64ExtendedInfoInExtraField()
417 if (dataSize != bytesRead) { in ParseZip64ExtendedInfoInExtraField()
423 bytesRead, dataSize, zip32UncompressedSize, zip32CompressedSize, in ParseZip64ExtendedInfoInExtraField()
/system/bt/stack/btm/
Dbtm_ble_multi_adv.cc786 int dataSize = (int)data.size(); in DivideAndSendDataRecursively() local
787 if (status != 0 || (!isFirst && offset == dataSize)) { in DivideAndSendDataRecursively()
793 bool moreThanOnePacket = dataSize - offset > ADV_DATA_LEN_MAX; in DivideAndSendDataRecursively()
796 int length = moreThanOnePacket ? ADV_DATA_LEN_MAX : dataSize - offset; in DivideAndSendDataRecursively()
/system/core/adb/client/
Dincremental_server.cpp137 static constexpr size_t responseSizeFor(size_t dataSize) { in responseSizeFor()
138 return dataSize + sizeof(ResponseHeader); in responseSizeFor()
/system/incremental_delivery/incfs/
Dincfs.cpp1133 .data_len = blocks[i].dataSize, in IncFs_WriteBlocks()