Searched refs:firstSize (Results 1 – 1 of 1) sorted by relevance
160 size_t firstSize = mBufferMaxSize - mBufferDataTailIndex; in copyToBuffer() local161 size_t secondSize = size - firstSize; in copyToBuffer()162 memcpy(&mBufferData[mBufferDataTailIndex], sourceBytes, firstSize); in copyToBuffer()163 memcpy(mBufferData, &sourceBytes[firstSize], secondSize); in copyToBuffer()175 size_t firstSize = mBufferMaxSize - mBufferDataHeadIndex; in copyFromBuffer() local176 size_t secondSize = size - firstSize; in copyFromBuffer()177 memcpy(destinationBytes, &mBufferData[mBufferDataHeadIndex], firstSize); in copyFromBuffer()178 memcpy(&destinationBytes[firstSize], mBufferData, secondSize); in copyFromBuffer()