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.cpp870 const size_t chunkSize = 100; in TYPED_TEST() local
872 const size_t numMessages = chunkSize * chunkNum; in TYPED_TEST()
881 ASSERT_TRUE(this->mQueue->read(readData + i * chunkSize, chunkSize)); in TYPED_TEST()
891 const size_t chunkSize = 100; in TYPED_TEST() local
893 const size_t numMessages = chunkSize * chunkNum; in TYPED_TEST()
899 ASSERT_TRUE(this->mQueue->write(data + i * chunkSize, chunkSize)); in TYPED_TEST()
1067 const size_t chunkSize = 100; in TYPED_TEST() local
1069 const size_t numMessages = chunkSize * chunkNum; in TYPED_TEST()
1078 ASSERT_TRUE(this->mQueue->read(readData + i * chunkSize, chunkSize)); in TYPED_TEST()
1088 const size_t chunkSize = 100; in TYPED_TEST() local
[all …]
Dfmq_unit_tests.cpp1020 const size_t chunkSize = 100; in TYPED_TEST() local
1022 const size_t dataLen = chunkSize * chunkNum; in TYPED_TEST()
1030 ASSERT_TRUE(this->mQueue->read(readData + i * chunkSize, chunkSize)); in TYPED_TEST()
1039 const int chunkSize = 100; in TYPED_TEST() local
1041 const size_t dataLen = chunkSize * chunkNum; in TYPED_TEST()
1047 ASSERT_TRUE(this->mQueue->write(data + i * chunkSize, chunkSize)); in TYPED_TEST()
1232 const size_t chunkSize = 100; in TYPED_TEST() local
1234 const size_t dataLen = chunkSize * chunkNum; in TYPED_TEST()
1241 ASSERT_TRUE(this->mQueue->read(readData + i * chunkSize, chunkSize)); in TYPED_TEST()
1250 const size_t chunkSize = 100; in TYPED_TEST() local
[all …]
/system/libvintf/test/
DLibVintfTest.cpp1948 size_t chunkSize; in processData() local
1950 for (; n < data.size(); p += chunkSize, n += chunkSize) { in processData()
1951 chunkSize = std::min<size_t>(5, data.size() - n); in processData()
1952 if ((status = parser.process(p, chunkSize)) != OK) { in processData()