Lines Matching defs:elementRef
115 nsCOMPtr<nsISupports> elementRef =
118 NS_ASSERTION(elementRef, "AppendElement: Trying to use weak references on an object that doesn't support it");
119 if (!elementRef)
121 result = mArray.AppendObject(elementRef);
141 nsCOMPtr<nsISupports> elementRef;
143 elementRef =
146 NS_ASSERTION(elementRef, "InsertElementAt: Trying to use weak references on an object that doesn't support it");
147 if (!elementRef)
150 elementRef = aElement;
152 PRBool result = mArray.InsertObjectAt(elementRef, aIndex);