Lines Matching defs:aResult
168 ObserverListEnumerator::HasMoreElements(PRBool* aResult)
170 NS_PRECONDITION(aResult != 0, "null ptr");
171 if (! aResult)
175 *aResult = PR_FALSE;
179 *aResult = (mIndex > 0);
184 ObserverListEnumerator::GetNext(nsISupports** aResult)
186 NS_PRECONDITION(aResult != 0, "null ptr");
187 if (! aResult)
191 *aResult = nsnull;
198 mValueArray->GetElementAt(--mIndex, aResult);
199 if (*aResult) {
200 nsCOMPtr<nsIWeakReference> weakRefFactory = do_QueryInterface(*aResult);
203 NS_RELEASE(*aResult);
204 NS_IF_ADDREF(*aResult = weakref);