Lines Matching defs:aCount
139 nsVoidArray::SetArray(Impl *newImpl, PRInt32 aSize, PRInt32 aCount, PRBool owner)
144 mImpl->mCount = aCount;
297 nsVoidArray::nsVoidArray(PRInt32 aCount)
307 SizeTo(aCount);
558 PRBool nsVoidArray::RemoveElementsAt(PRInt32 aIndex, PRInt32 aCount)
568 if (aCount + aIndex > oldCount)
569 aCount = oldCount - aIndex;
573 if (aIndex < (oldCount - aCount))
575 memmove(mImpl->mArray + aIndex, mImpl->mArray + aIndex + aCount,
576 (oldCount - (aIndex + aCount)) * sizeof(mImpl->mArray[0]));
579 mImpl->mCount -= aCount;
724 nsStringArray::nsStringArray(PRInt32 aCount)
725 : nsVoidArray(aCount)
929 nsCStringArray::nsCStringArray(PRInt32 aCount)
930 : nsVoidArray(aCount)
1426 nsSmallVoidArray::RemoveElementsAt(PRInt32 aIndex, PRInt32 aCount)
1430 if (aCount == 0)
1444 return vector->RemoveElementsAt(aIndex,aCount);