Lines Matching refs:mCursor
508 …ArrayWithCursor() : mState(S_Initial), mMembers(nullptr), mCapacity(0), mSize(0), mCursor(~size_t(… in ArrayWithCursor()
524 slangAssert((mState == S_Collecting) && (mCursor + 1 == mSize) && (mSize < mCapacity)); in CollectNext()
526 return mMembers[++mCursor]; in CollectNext()
530 slangAssert((mState == S_Collecting) && (mCursor + 1 == mSize) && (mSize == mCapacity)); in BeginUsing()
532 mCursor = ~size_t(0); in BeginUsing()
537 slangAssert((mState == S_Using) && (mCursor + 1 < mSize)); in UseNext()
538 return mMembers[++mCursor]; in UseNext()
543 return mCursor + 1 == mSize; in isFinished()
550 slangAssert(mCursor < mSize); in Current()
551 return mMembers[mCursor]; in Current()
554 slangAssert(mCursor < mSize); in Current()
555 return mMembers[mCursor]; in Current()
562 slangAssert(mCursor < mSize); in CurrentIdx()
563 return mCursor; in CurrentIdx()
584 size_t mCursor; variable