Lines Matching refs:aElement
373 nsSupportsArray::InsertElementAt(nsISupports* aElement, PRUint32 aIndex)
389 mArray[aIndex] = aElement;
390 NS_IF_ADDREF(aElement);
453 nsSupportsArray::ReplaceElementAt(nsISupports* aElement, PRUint32 aIndex)
456 NS_IF_ADDREF(aElement); // addref first in case it's the same object!
458 mArray[aIndex] = aElement;
482 nsSupportsArray::RemoveElement(const nsISupports* aElement, PRUint32 aStartIndex)
484 PRInt32 theIndex = IndexOfStartingAt(aElement,aStartIndex);
492 nsSupportsArray::RemoveLastElement(const nsISupports* aElement)
494 PRInt32 theIndex = LastIndexOf(aElement);
656 CopyElement(nsISupports* aElement, void *aData)
660 rv = newArray->AppendElement(aElement);