/system/chre/apps/chqts/src/shared/ |
D | send_message.cc | 110 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()
|
D | send_message.h | 116 size_t dataSize = 0);
|
/system/extras/tests/crypto/ |
D | get_dm_versions.c | 11 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/ |
D | ashmem_test.cpp | 133 constexpr size_t dataSize = PAGE_SIZE * 2; in TEST() local 136 ASSERT_NO_FATAL_FAILURE(TestMmap(fd, dataSize, PROT_READ | PROT_WRITE, ®ion, 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/ |
D | keystore_cli.cpp | 160 size_t dataSize; \ 161 read_input(&data, &dataSize); \ 163 service->cmd(String16(argv[2]), data, dataSize, &ret); \
|
/system/libhwbinder/ |
D | IPCThreadState.cpp | 418 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 …]
|
D | Parcel.cpp | 378 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/ |
D | Devmapper.cpp | 45 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()
|
D | cryptfs.cpp | 256 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/ |
D | Parcel.h | 51 size_t dataSize() const; 252 const uint8_t* data, size_t dataSize, 261 void ipcSetDataReference(const uint8_t* data, size_t dataSize,
|
D | IPCThreadState.h | 160 const uint8_t* data, size_t dataSize,
|
/system/update_engine/ |
D | parcelable_update_engine_status_unittest.cc | 75 size_t parcel_len = parcel_source.dataSize(); in TEST()
|
/system/media/audio_utils/ |
D | tinysndfile.c | 409 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/ |
D | btm_ble_multi_adv.cc | 781 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()
|