Lines Matching refs:mSize
85 mOrigin=mSize=0;
146 if (mSize && mData) {
149 mSize=0;
160 if (mDeallocator && mSize) {
220 if (mSize==mCapacity) {
223 mData[modulus(mOrigin + mSize, mCapacity)]=aItem;
224 mSize++;
264 if (mSize==mCapacity) {
267 mData[mSize]=mData[mOrigin];
270 mSize++;
281 if (mSize>0) {
282 --mSize;
283 PRInt32 offset=modulus(mSize + mOrigin, mCapacity);
286 if (!mSize) {
301 if (mSize>0) {
305 mSize--;
308 if (mCapacity==mOrigin || !mSize) {
323 if (mSize>0) {
324 result = mData[modulus(mSize - 1 + mOrigin, mCapacity)];
337 if (mSize>0) {
354 if ((aIndex>=0) && (aIndex<mSize)) {
380 return nsDequeIterator(*this, mSize - 1);
396 for (PRInt32 i=0; i<mSize; i++) {
411 for (PRInt32 i=0; i<mSize; i++) {
523 NS_ASSERTION(mIndex<mDeque.mSize,
528 if (mIndex>=mDeque.mSize) return 0;
540 NS_ASSERTION(mIndex<=mDeque.mSize,
545 if (mIndex>mDeque.mSize) return 0;
597 NS_ASSERTION(mIndex<mDeque.mSize&&mIndex>=0,"Current is out of bounds");
599 if (mIndex>=mDeque.mSize||mIndex<0) return 0;