Lines Matching refs:aIndex

80     PRBool InsertObjectAt(nsISupports* aObject, PRInt32 aIndex);
81 PRBool InsertObjectsAt(const nsCOMArray_base& aObjects, PRInt32 aIndex);
82 PRBool ReplaceObjectAt(nsISupports* aObject, PRInt32 aIndex);
90 PRBool RemoveObjectAt(PRInt32 aIndex);
99 nsISupports* ObjectAt(PRInt32 aIndex) const {
100 return NS_STATIC_CAST(nsISupports*, mArray.FastElementAt(aIndex));
103 nsISupports* SafeObjectAt(PRInt32 aIndex) const {
104 return NS_STATIC_CAST(nsISupports*, mArray.SafeElementAt(aIndex));
107 nsISupports* operator[](PRInt32 aIndex) const {
108 return ObjectAt(aIndex);
152 T* ObjectAt(PRInt32 aIndex) const {
153 return NS_STATIC_CAST(T*,nsCOMArray_base::ObjectAt(aIndex));
157 T* SafeObjectAt(PRInt32 aIndex) const {
158 return NS_STATIC_CAST(T*,nsCOMArray_base::SafeObjectAt(aIndex));
162 T* operator[](PRInt32 aIndex) const {
163 return ObjectAt(aIndex);
182 // inserts aObject at aIndex, shifting the objects at aIndex and
184 PRBool InsertObjectAt(T* aObject, PRInt32 aIndex) {
185 return nsCOMArray_base::InsertObjectAt(NS_STATIC_CAST(nsISupports*, aObject), aIndex);
188 // inserts the objects from aObject at aIndex, shifting the
189 // objects at aIndex and later to make space
190 PRBool InsertObjectsAt(const nsCOMArray<T>& aObjects, PRInt32 aIndex) {
191 return nsCOMArray_base::InsertObjectsAt(aObjects, aIndex);
196 PRBool ReplaceObjectAt(T* aObject, PRInt32 aIndex) {
197 return nsCOMArray_base::ReplaceObjectAt(NS_STATIC_CAST(nsISupports*, aObject), aIndex);
256 PRBool RemoveObjectAt(PRInt32 aIndex) {
257 return nsCOMArray_base::RemoveObjectAt(aIndex);