Searched refs:copyfirst (Results 1 – 1 of 1) sorted by relevance
155 size_t copyfirst = (mCapacity - mWriteHead); in write() local156 if (copyfirst > num) copyfirst = num; in write()157 if (copyfirst) { in write()158 memcpy(mCutBuffer + mWriteHead, src, copyfirst); in write()159 num -= copyfirst; in write()160 src += copyfirst; in write()161 mWriteHead += copyfirst; in write()183 size_t copyfirst = (mCapacity - mReadHead); in read() local184 if (copyfirst > num) copyfirst = num; in read()185 if (copyfirst) { in read()[all …]