Home
last modified time | relevance | path

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

/system/security/keystore/
Dkeystore_cli.cpp128 size_t dataSize; \
129 read_input(&data, &dataSize); \
130 int32_t ret = service->cmd(String16(argv[2]), data, dataSize); \
149 size_t dataSize; \
150 int32_t ret = service->cmd(String16(argv[2]), &data, &dataSize); \
158 fwrite(data, dataSize, 1, stdout); \
/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/extras/tests/sdcard/
Dtestcase.cpp154 mTestTimer->setDataSize(dataSize()); in createTimers()
158 mReadTimer = new StopWatch("read", iter() * dataSize() / chunkSize() * kReadWriteFactor); in createTimers()
159 mReadTimer->setDataSize(dataSize()); in createTimers()
161 mWriteTimer = new StopWatch("write", iter() * dataSize() / chunkSize()); in createTimers()
162 mWriteTimer->setDataSize(dataSize()); in createTimers()
Dsdcard_perf_test.cpp307 size_t left = testCase->dataSize(); in readData()
354 const size_t size = testCase->dataSize(); in testRead()
436 ftruncate(fd, testCase->dataSize()); in writeData()
440 size_t left = testCase->dataSize(); in writeData()
491 const size_t size = testCase->dataSize(); in testWrite()
547 ftruncate(fd, testCase->dataSize()); in testOpenCreate()
571 size_t left = testCase->dataSize(); in writeTestFile()
691 printf("# File size %d kbytes\n", testCase.dataSize() / 1024); in main()
Dtestcase.h63 size_t dataSize() const { return mDataSize; } in dataSize() function
/system/vold/
DDevmapper.cpp117 void Devmapper::ioctlInit(struct dm_ioctl *io, size_t dataSize, in ioctlInit() argument
119 memset(io, 0, dataSize); in ioctlInit()
120 io->data_size = dataSize; in ioctlInit()
Dcryptfs.c448 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) in ioctl_init() argument
450 memset(io, 0, dataSize); in ioctl_init()
451 io->data_size = dataSize; in ioctl_init()
/system/media/audio_utils/
Dtinysndfile.c410 unsigned dataSize = handle->remaining * handle->bytesPerFrame; in sf_close() local
411 write4u(&wav[4], dataSize + 36 + extra); // riffSize in sf_close()
412 write4u(&wav[40 + extra], dataSize); // dataSize in sf_close()