Lines Matching defs:aResult
44 nsSimpleArrayEnumerator::HasMoreElements(PRBool* aResult)
46 NS_PRECONDITION(aResult != 0, "null ptr");
47 if (! aResult)
51 *aResult = PR_FALSE;
58 *aResult = (mIndex < cnt);
63 nsSimpleArrayEnumerator::GetNext(nsISupports** aResult)
65 NS_PRECONDITION(aResult != 0, "null ptr");
66 if (! aResult)
70 *aResult = nsnull;
80 return mValueArray->QueryElementAt(mIndex++, NS_GET_IID(nsISupports), (void**)aResult);
142 nsCOMArrayEnumerator::HasMoreElements(PRBool* aResult)
144 NS_PRECONDITION(aResult != 0, "null ptr");
145 if (! aResult)
148 *aResult = (mIndex < mArraySize);
153 nsCOMArrayEnumerator::GetNext(nsISupports** aResult)
155 NS_PRECONDITION(aResult != 0, "null ptr");
156 if (! aResult)
165 *aResult = mValueArray[mIndex++];
202 NS_NewArrayEnumerator(nsISimpleEnumerator* *aResult,
208 NS_ADDREF(*aResult = enumerator);