Lines Matching refs:mCurrent
56 : mCurrent(0), mFull(PR_FALSE), mListening(PR_FALSE), mLock(nsnull)
132 retiredMessage = mMessages[mCurrent];
134 mMessages[mCurrent++] = message;
135 if (mCurrent == mBufferSize) {
136 mCurrent = 0; // wrap around.
202 * Lock the whole method, as we don't want anyone mucking with mCurrent or
207 if (mCurrent == 0 && !mFull) {
222 PRUint32 resultSize = mFull ? mBufferSize : mCurrent;
236 // if full, fill the buffer starting from mCurrent (which'll be
238 messageArray[i] = mMessages[(mCurrent + i) % mBufferSize];
242 for (i = 0; i < mCurrent; i++) {