Home
last modified time | relevance | path

Searched refs:chunkSize (Results 1 – 4 of 4) sorted by relevance

/system/media/audio_utils/
Dtinysndfile.c108 unsigned chunkSize = little4u(&chunk[4]); in sf_open_read() local
109 if (chunkSize > remaining) { in sf_open_read()
110 fprintf(stderr, "chunkSize %u > remaining %zu\n", chunkSize, remaining); in sf_open_read()
118 if (chunkSize < 2) { in sf_open_read()
119 fprintf(stderr, "chunkSize %u < 2\n", chunkSize); in sf_open_read()
142 if (chunkSize < minSize) { in sf_open_read()
143 fprintf(stderr, "chunkSize %u < minSize %zu\n", chunkSize, minSize); in sf_open_read()
151 if (chunkSize > minSize) { in sf_open_read()
152 fseek(stream, (long) (chunkSize - minSize), SEEK_CUR); in sf_open_read()
199 handle->remaining = chunkSize / handle->bytesPerFrame; in sf_open_read()
[all …]
/system/extras/tests/sdcard/
Dsdcard_perf_test.cpp312 size_t chunk_size = testCase->chunkSize(); in readData()
355 size_t chunk_size = testCase->chunkSize(); in testRead()
444 size_t chunk_size = testCase->chunkSize(); in writeData()
492 size_t chunk_size = testCase->chunkSize(); in testWrite()
568 char * const chunk = new char[testCase->chunkSize()]; in writeTestFile()
569 memset(chunk, 0xaa, testCase->chunkSize()); in writeTestFile()
574 size_t chunk_size = testCase->chunkSize(); in writeTestFile()
692 printf("# Chunk size %d kbytes\n", testCase.chunkSize() / 1024); in main()
Dtestcase.cpp158 mReadTimer = new StopWatch("read", iter() * dataSize() / chunkSize() * kReadWriteFactor); in createTimers()
161 mWriteTimer = new StopWatch("write", iter() * dataSize() / chunkSize()); in createTimers()
Dtestcase.h66 size_t chunkSize() const { return mChunkSize; } in chunkSize() function