Searched refs:bytesToCopy (Results 1 – 3 of 3) sorted by relevance
269 size_t bytesToCopy = availSink < availSource ? availSink : availSource; in audioRecorder_callback() local271 memcpy(pDest, pBuff->raw, bytesToCopy); in audioRecorder_callback()273 if (bytesToCopy < availSink) { in audioRecorder_callback()279 pBuff->size = bytesToCopy; in audioRecorder_callback()
1175 size_t bytesToCopy = availSource < availSink ? availSource : availSink; in audioTrack_callBack_pullFromBuffQueue() local1177 memcpy(pBuff->raw, pSrc, bytesToCopy); in audioTrack_callBack_pullFromBuffQueue()1179 if (bytesToCopy < availSource) { in audioTrack_callBack_pullFromBuffQueue()1180 ap->mBufferQueue.mSizeConsumed += bytesToCopy; in audioTrack_callBack_pullFromBuffQueue()1184 pBuff->size = bytesToCopy; in audioTrack_callBack_pullFromBuffQueue()
751 const size_t bytesToCopy = std::min(mRecycledBitmap->info().minRowBytes(), in copyIfNecessary() local756 memcpy(dst, mSkiaBitmap->getAddr(0, y), bytesToCopy); in copyIfNecessary()