Searched refs:kChunkSize (Results 1 – 4 of 4) sorted by relevance
117 const size_t kChunkSize = 32; in threadLoop() local119 JSAMPROW chunk[kChunkSize]; in threadLoop()120 for (size_t i = 0 ; i < kChunkSize; i++) { in threadLoop()124 jpeg_write_scanlines(&mCInfo, chunk, kChunkSize); in threadLoop()
163 static const size_t kChunkSize = 8192; in feedMore() local172 if (mBuffer->size() + kChunkSize > mBuffer->capacity()) { in feedMore()173 size_t newCapacity = mBuffer->capacity() + kChunkSize; in feedMore()181 mOffset, mBuffer->data() + mBuffer->size(), kChunkSize); in feedMore()183 if (n < (ssize_t)kChunkSize) { in feedMore()
42 #define kChunkSize 16 macro43 #define CapacityFromCount(x) (((x / kChunkSize) + 1) * kChunkSize)63 //% if ((NEW_COUNT + (2 * kChunkSize)) < _capacity) {513 if ((newCount + (2 * kChunkSize)) < _capacity) {520 if ((0 + (2 * kChunkSize)) < _capacity) {761 if ((newCount + (2 * kChunkSize)) < _capacity) {768 if ((0 + (2 * kChunkSize)) < _capacity) {1009 if ((newCount + (2 * kChunkSize)) < _capacity) {1016 if ((0 + (2 * kChunkSize)) < _capacity) {1257 if ((newCount + (2 * kChunkSize)) < _capacity) {[all …]
341 const int kChunkSize = 1000; in TEST_P() local342 GOOGLE_CHECK_EQ(kTestSize % kChunkSize, 0); in TEST_P()345 for (int i = 0; i < kChunkSize; i++) { in TEST_P()353 if (times.size() < .99 * kTestSize / kChunkSize) { in TEST_P()