Home
last modified time | relevance | path

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

/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.cpp160 size_t dataSize; \
161 read_input(&data, &dataSize); \
163 service->cmd(String16(argv[2]), data, dataSize, &ret); \
/system/libhwbinder/
DIPCThreadState.cpp418 if (mOut.dataSize() > 0) { in flushCommands()
421 if (mOut.dataSize() > 0) { in flushCommands()
497 if (mIn.dataPosition() >= mIn.dataSize()) { in processPendingDerefs()
607 } while (mIn.dataPosition() < mIn.dataSize()); in handlePolledCommands()
903 const bool needRead = mIn.dataPosition() >= mIn.dataSize(); in talkWithDriver()
908 const size_t outAvail = (!doReceive || needRead) ? mOut.dataSize() : 0; in talkWithDriver()
943 alog << "About to read/write, write size = " << mOut.dataSize() << endl; in talkWithDriver()
957 alog << "Finished read/write, write size = " << mOut.dataSize() << endl; in talkWithDriver()
963 << bwr.write_consumed << " (of " << mOut.dataSize() in talkWithDriver()
969 if (bwr.write_consumed < mOut.dataSize()) in talkWithDriver()
[all …]
DParcel.cpp378 size_t Parcel::dataSize() const in dataSize() function in android::hardware::Parcel
385 size_t result = dataSize() - dataPosition(); in dataAvail()
1841 void Parcel::ipcSetDataReference(const uint8_t* data, size_t dataSize, in ipcSetDataReference() argument
1848 mDataSize = mDataCapacity = dataSize; in ipcSetDataReference()
1879 } else if (dataSize() > 0) { in print()
1881 to << indent << HexDump(DATA, dataSize()) << dedent; in print()
/system/vold/
DDevmapper.cpp45 void Devmapper::ioctlInit(struct dm_ioctl* io, size_t dataSize, const char* name, unsigned flags) { in ioctlInit() argument
46 memset(io, 0, dataSize); in ioctlInit()
47 io->data_size = dataSize; in ioctlInit()
Dcryptfs.cpp256 static void ioctl_init(struct dm_ioctl* io, size_t dataSize, const char* name, unsigned flags) { in ioctl_init() argument
257 memset(io, 0, dataSize); in ioctl_init()
258 io->data_size = dataSize; in ioctl_init()
/system/libhwbinder/include/hwbinder/
DParcel.h51 size_t dataSize() const;
252 const uint8_t* data, size_t dataSize,
261 void ipcSetDataReference(const uint8_t* data, size_t dataSize,
DIPCThreadState.h160 const uint8_t* data, size_t dataSize,
/system/update_engine/
Dparcelable_update_engine_status_unittest.cc75 size_t parcel_len = parcel_source.dataSize(); in TEST()
/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/bt/stack/btm/
Dbtm_ble_multi_adv.cc781 int dataSize = (int)data.size(); in DivideAndSendDataRecursively() local
782 if (status != 0 || (!isFirst && offset == dataSize)) { in DivideAndSendDataRecursively()
788 bool moreThanOnePacket = dataSize - offset > ADV_DATA_LEN_MAX; in DivideAndSendDataRecursively()
791 int length = moreThanOnePacket ? ADV_DATA_LEN_MAX : dataSize - offset; in DivideAndSendDataRecursively()