Home
last modified time | relevance | path

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

/system/security/keystore/
Dkeystore_cli.cpp110 size_t dataSize; \
111 read_input(&data, &dataSize); \
112 int32_t ret = service->cmd(String16(argv[2]), data, dataSize); \
131 size_t dataSize; \
132 int32_t ret = service->cmd(String16(argv[2]), &data, &dataSize); \
140 fwrite(data, dataSize, 1, stdout); \
/system/extras/tests/crypto/
Dget_dm_versions.c10 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) in ioctl_init() argument
12 memset(io, 0, dataSize); in ioctl_init()
13 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.c319 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) in ioctl_init() argument
321 memset(io, 0, dataSize); in ioctl_init()
322 io->data_size = dataSize; in ioctl_init()
/system/media/audio_utils/
Dtinysndfile.c341 unsigned dataSize = handle->remaining * handle->bytesPerFrame; in sf_close() local
342 write4u(&wav[4], dataSize + 36 + extra); // riffSize in sf_close()
343 write4u(&wav[40 + extra], dataSize); // dataSize in sf_close()