Lines Matching refs:mWriteCursor
264 char* mWriteCursor;
295 // + - - - - - - - - + - - mWriteCursor
320 , mWriteCursor(nsnull)
393 limit = mWriteCursor;
436 if (mWriteSegment == 0 && mWriteLimit > mWriteCursor) {
437 NS_ASSERTION(mReadLimit == mWriteCursor, "unexpected state");
452 mWriteCursor = nsnull;
459 mReadLimit = mWriteCursor;
481 if (mWriteCursor == mWriteLimit) {
487 mWriteCursor = seg;
488 mWriteLimit = mWriteCursor + mBuffer.GetSegmentSize();
495 mReadCursor = mReadLimit = mWriteCursor;
500 if (mReadCursor == mWriteCursor && mWriteSegment == 0) {
502 LOG(("OOO rolling back write cursor %u bytes\n", mWriteCursor - head));
503 mWriteCursor = mReadCursor = mReadLimit = head;
506 segment = mWriteCursor;
507 segmentLen = mWriteLimit - mWriteCursor;
522 char *newWriteCursor = mWriteCursor + bytesWritten;
526 if (mWriteSegment == 0 && mReadLimit == mWriteCursor)
529 mWriteCursor = newWriteCursor;
531 NS_ASSERTION(mReadCursor != mWriteCursor, "read cursor is bad");
534 if (mWriteCursor == mWriteLimit) {