Home
last modified time | relevance | path

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

/cts/tests/tests/media/libaudiojni/
Daudio-record-native.cpp310 size_t tocopy = min(size, b->mSize - b->mOffset); in read() local
313 memcpy(buffer, (char *)b->mData + b->mOffset, tocopy); in read()
314 buffer = (char *)buffer + tocopy; in read()
315 size -= tocopy; in read()
316 b->mOffset += tocopy; in read()
377 size_t tocopy = min(mReadBlob->mSize - mReadBlob->mOffset, b->mSize - b->mOffset); in bufferQueueCallback() local
379 (char *)b->mData + b->mOffset, tocopy); in bufferQueueCallback()
380 b->mOffset += tocopy; in bufferQueueCallback()
381 mReadBlob->mOffset += tocopy; in bufferQueueCallback()