Lines Matching defs:aResult

78     NS_IMETHOD GetNext(nsAString& aResult);
120 nsStringEnumerator::HasMore(PRBool* aResult)
122 NS_ENSURE_ARG_POINTER(aResult);
123 *aResult = mIndex < Count();
128 nsStringEnumerator::HasMoreElements(PRBool* aResult)
130 return HasMore(aResult);
134 nsStringEnumerator::GetNext(nsISupports** aResult)
141 *aResult = stringImpl;
148 *aResult = cstringImpl;
150 NS_ADDREF(*aResult);
155 nsStringEnumerator::GetNext(nsAString& aResult)
160 aResult = *mArray->StringAt(mIndex++);
162 CopyUTF8toUTF16(*mCArray->CStringAt(mIndex++), aResult);
168 nsStringEnumerator::GetNext(nsACString& aResult)
173 CopyUTF16toUTF8(*mArray->StringAt(mIndex++), aResult);
175 aResult = *mCArray->CStringAt(mIndex++);
182 StringEnumeratorTail(T** aResult)
184 if (!*aResult)
186 NS_ADDREF(*aResult);
195 NS_NewStringEnumerator(nsIStringEnumerator** aResult,
198 NS_ENSURE_ARG_POINTER(aResult);
201 *aResult = new nsStringEnumerator(aArray, aOwner);
202 return StringEnumeratorTail(aResult);
207 NS_NewUTF8StringEnumerator(nsIUTF8StringEnumerator** aResult,
210 NS_ENSURE_ARG_POINTER(aResult);
213 *aResult = new nsStringEnumerator(aArray, aOwner);
214 return StringEnumeratorTail(aResult);
218 NS_NewAdoptingStringEnumerator(nsIStringEnumerator** aResult,
221 NS_ENSURE_ARG_POINTER(aResult);
224 *aResult = new nsStringEnumerator(aArray, PR_TRUE);
225 return StringEnumeratorTail(aResult);
229 NS_NewAdoptingUTF8StringEnumerator(nsIUTF8StringEnumerator** aResult,
232 NS_ENSURE_ARG_POINTER(aResult);
235 *aResult = new nsStringEnumerator(aArray, PR_TRUE);
236 return StringEnumeratorTail(aResult);
241 NS_NewStringEnumerator(nsIStringEnumerator** aResult,
244 NS_ENSURE_ARG_POINTER(aResult);
247 *aResult = new nsStringEnumerator(aArray, PR_FALSE);
248 return StringEnumeratorTail(aResult);
252 NS_NewUTF8StringEnumerator(nsIUTF8StringEnumerator** aResult,
255 NS_ENSURE_ARG_POINTER(aResult);
258 *aResult = new nsStringEnumerator(aArray, PR_FALSE);
259 return StringEnumeratorTail(aResult);