Lines Matching refs:mWriteView
101 endTimestampUs += bytesToSamples(mWriteView->size()) * 1000000 / mSampleRate; in process()
116 (mWriteView->capacity() - mWriteView->size()) in process()
120 memset(mWriteView->base() + mWriteView->size(), 0u, gapBytes); in process()
121 mWriteView->setSize(mWriteView->size() + gapBytes); in process()
133 size_t(mWriteView->capacity() - mWriteView->size())); in process()
134 memcpy(mWriteView->base() + mWriteView->size(), buffer->data(), copySize); in process()
136 mWriteView->setSize(mWriteView->size() + copySize); in process()
137 if (mWriteView->size() == mWriteView->capacity()) { in process()
159 mWriteView = mCurrentBlock->map().get(); in process()
160 if (mWriteView->error() != C2_OK) { in process()
161 return mWriteView->error(); in process()
165 memcpy(mWriteView->base(), buffer->data(), copySize); in process()
166 mWriteView->setOffset(0u); in process()
167 mWriteView->setSize(copySize); in process()
184 mWriteView.reset(); in flush()
207 if (mWriteView->size() < mWriteView->capacity()) { in finishCurrentBlock()
208 memset(mWriteView->base() + mWriteView->size(), 0u, in finishCurrentBlock()
209 mWriteView->capacity() - mWriteView->size()); in finishCurrentBlock()
210 mWriteView->setSize(mWriteView->capacity()); in finishCurrentBlock()
224 mWriteView.reset(); in finishCurrentBlock()