Searched refs:tocopy (Results 1 – 1 of 1) sorted by relevance
310 size_t tocopy = min(size, b->mSize - b->mOffset); in read() local313 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() local379 (char *)b->mData + b->mOffset, tocopy); in bufferQueueCallback()380 b->mOffset += tocopy; in bufferQueueCallback()381 mReadBlob->mOffset += tocopy; in bufferQueueCallback()