Home
last modified time | relevance | path

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

/system/media/audio_utils/
Dtinysndfile.c124 unsigned chunkSize = little4u(&chunk[4]); in sf_open_read() local
125 if (chunkSize > remaining) { in sf_open_read()
127 fprintf(stderr, "chunkSize %u > remaining %zu\n", chunkSize, remaining); in sf_open_read()
138 if (chunkSize < 2) { in sf_open_read()
140 fprintf(stderr, "chunkSize %u < 2\n", chunkSize); in sf_open_read()
168 if (chunkSize < minSize) { in sf_open_read()
170 fprintf(stderr, "chunkSize %u < minSize %zu\n", chunkSize, minSize); in sf_open_read()
181 if (chunkSize > minSize) { in sf_open_read()
182 fseek(stream, (long) (chunkSize - minSize), SEEK_CUR); in sf_open_read()
243 handle->remaining = chunkSize / handle->bytesPerFrame; in sf_open_read()
[all …]
/system/libfmq/tests/
Dmsgq_test_client.cpp596 const size_t chunkSize = 100; in TEST_F() local
598 const size_t numMessages = chunkSize * chunkNum; in TEST_F()
607 ASSERT_TRUE(mQueue->read(readData + i * chunkSize, chunkSize)); in TEST_F()
617 const size_t chunkSize = 100; in TEST_F() local
619 const size_t numMessages = chunkSize * chunkNum; in TEST_F()
625 ASSERT_TRUE(mQueue->write(data + i * chunkSize, chunkSize)); in TEST_F()
803 const size_t chunkSize = 100; in TEST_F() local
805 const size_t numMessages = chunkSize * chunkNum; in TEST_F()
814 ASSERT_TRUE(mQueue->read(readData + i * chunkSize, chunkSize)); in TEST_F()
824 const size_t chunkSize = 100; in TEST_F() local
[all …]
Dfmq_unit_tests.cpp546 const size_t chunkSize = 100; in TEST_F() local
548 const size_t dataLen = chunkSize * chunkNum; in TEST_F()
556 ASSERT_TRUE(mQueue->read(readData + i * chunkSize, chunkSize)); in TEST_F()
565 const int chunkSize = 100; in TEST_F() local
567 const size_t dataLen = chunkSize * chunkNum; in TEST_F()
573 ASSERT_TRUE(mQueue->write(data + i * chunkSize, chunkSize)); in TEST_F()
758 const size_t chunkSize = 100; in TEST_F() local
760 const size_t dataLen = chunkSize * chunkNum; in TEST_F()
767 ASSERT_TRUE(mQueue->read(readData + i * chunkSize, chunkSize)); in TEST_F()
776 const size_t chunkSize = 100; in TEST_F() local
[all …]
/system/libvintf/test/
DLibVintfTest.cpp1485 size_t chunkSize; in processData() local
1487 for (; n < data.size(); p += chunkSize, n += chunkSize) { in processData()
1488 chunkSize = std::min<size_t>(5, data.size() - n); in processData()
1489 if ((status = parser.process(p, chunkSize)) != OK) { in processData()