Lines Matching defs:mReadCursor
260 char* mReadCursor;
275 // + - - - - - - - - + - - mReadCursor
317 , mReadCursor(nsnull)
382 NS_ASSERTION(!mReadCursor || mBuffer.GetSegmentCount(), "unexpected state");
383 cursor = mReadCursor;
405 if (mReadCursor == mReadLimit)
408 segment = mReadCursor;
409 segmentLen = mReadLimit - mReadCursor;
425 mReadCursor += bytesRead;
426 NS_ASSERTION(mReadCursor <= mReadLimit, "read cursor exceeds limit");
430 if (mReadCursor == mReadLimit) {
450 mReadCursor = nsnull;
457 mReadCursor = mBuffer.GetSegment(0);
461 mReadLimit = mReadCursor + mBuffer.GetSegmentSize();
493 if (mReadCursor == nsnull) {
495 mReadCursor = mReadLimit = mWriteCursor;
500 if (mReadCursor == mWriteCursor && mWriteSegment == 0) {
503 mWriteCursor = mReadCursor = mReadLimit = head;
531 NS_ASSERTION(mReadCursor != mWriteCursor, "read cursor is bad");