Searched defs:aResult (Results 1 - 25 of 61) sorted by relevance

123

/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsAtomService.cpp48 nsAtomService::GetAtom(const PRUnichar *aString, nsIAtom ** aResult) argument
50 *aResult = NS_NewAtom(aString);
52 if (!*aResult)
59 nsAtomService::GetPermanentAtom(const PRUnichar *aString, nsIAtom ** aResult) argument
61 *aResult = NS_NewPermanentAtom(aString);
63 if (!*aResult)
H A DnsEmptyEnumerator.cpp77 NS_IMETHODIMP EmptyEnumeratorImpl::HasMoreElements(PRBool* aResult) argument
79 *aResult = PR_FALSE;
83 NS_IMETHODIMP EmptyEnumeratorImpl::GetNext(nsISupports** aResult) argument
91 NS_NewEmptyEnumerator(nsISimpleEnumerator** aResult) argument
99 *aResult = gEmptyEnumerator;
H A DnsStringEnumerator.cpp78 NS_IMETHOD GetNext(nsAString& aResult);
120 nsStringEnumerator::HasMore(PRBool* aResult) argument
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); variable
[all...]
H A DnsArrayEnumerator.cpp44 nsSimpleArrayEnumerator::HasMoreElements(PRBool* aResult) argument
46 NS_PRECONDITION(aResult != 0, "null ptr");
47 if (! aResult)
51 *aResult = PR_FALSE;
58 *aResult = (mIndex < cnt);
63 nsSimpleArrayEnumerator::GetNext(nsISupports** aResult) argument
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 HasMoreElements(PRBool* aResult) argument
153 GetNext(nsISupports** aResult) argument
202 NS_NewArrayEnumerator(nsISimpleEnumerator* *aResult, const nsCOMArray_base& aArray) argument
[all...]
H A DnsByteBuffer.cpp74 ByteBufferImpl::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult) argument
84 nsresult rv = it->QueryInterface(aIID, (void**)aResult);
H A DnsEnumeratorUtils.cpp56 nsArrayEnumerator::HasMoreElements(PRBool* aResult) argument
58 NS_PRECONDITION(aResult != 0, "null ptr");
59 if (! aResult)
63 *aResult = PR_FALSE;
70 *aResult = (mIndex < (PRInt32) cnt);
75 nsArrayEnumerator::GetNext(nsISupports** aResult) argument
77 NS_PRECONDITION(aResult != 0, "null ptr");
78 if (! aResult)
82 *aResult = nsnull;
92 *aResult
125 HasMoreElements(PRBool* aResult) argument
137 GetNext(nsISupports** aResult) argument
182 HasMoreElements(PRBool* aResult) argument
217 GetNext(nsISupports** aResult) argument
[all...]
H A DnsObserverList.cpp168 ObserverListEnumerator::HasMoreElements(PRBool* aResult) argument
170 NS_PRECONDITION(aResult != 0, "null ptr");
171 if (! aResult)
175 *aResult = PR_FALSE;
179 *aResult = (mIndex > 0);
184 ObserverListEnumerator::GetNext(nsISupports** aResult) argument
186 NS_PRECONDITION(aResult != 0, "null ptr");
187 if (! aResult)
191 *aResult = nsnull;
198 mValueArray->GetElementAt(--mIndex, aResult);
[all...]
H A DnsProperties.cpp50 nsProperties::Create(nsISupports *outer, REFNSIID aIID, void **aResult) argument
52 NS_ENSURE_ARG_POINTER(aResult);
59 nsresult rv = props->AggregatedQueryInterface(aIID, aResult);
H A DnsUnicharBuffer.cpp50 UnicharBufferImpl::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult) argument
60 nsresult rv = it->QueryInterface(aIID, aResult);
H A DnsArray.cpp71 void ** aResult)
78 return obj->QueryInterface(aIID, aResult);
83 PRUint32* aResult)
87 *aResult = mArray.IndexOf(aElement);
88 if (*aResult == -1)
98 *aResult = closure.resultIndex;
103 nsArray::Enumerate(nsISimpleEnumerator **aResult) argument
105 return NS_NewArrayEnumerator(aResult, NS_STATIC_CAST(nsIArray*, this));
189 nsQueryArrayElementAt::operator()(const nsIID& aIID, void** aResult) const
192 ? mArray->QueryElementAt(mIndex, aIID, aResult)
69 QueryElementAt(PRUint32 aIndex, const nsIID& aIID, void ** aResult) argument
82 IndexOf(PRUint32 aStartIndex, nsISupports* aElement, PRUint32* aResult) argument
205 NS_NewArray(nsIMutableArray** aResult) argument
217 NS_NewArray(nsIMutableArray** aResult, const nsCOMArray_base& aBaseArray) argument
[all...]
H A DnsSupportsArray.h56 Create(nsISupports *aOuter, REFNSIID aIID, void **aResult);
68 NS_IMETHOD QueryElementAt(PRUint32 aIndex, const nsIID & aIID, void * *aResult) { argument
72 return element->QueryInterface(aIID, aResult);
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DTestXPIDLString.cpp6 nsXPIDLStringTest_Value(PRUnichar** aResult) argument
8 *aResult = ToNewUnicode(NS_LITERAL_STRING("Hello, World"));
H A DTestFactory.cpp82 void **aResult);
91 void **aResult) {
102 nsresult res = t->QueryInterface(aIID, aResult);
105 *aResult = NULL;
89 CreateInstance(nsISupports *aDelegate, const nsIID &aIID, void **aResult) argument
H A DTestAutoPtr.cpp129 static void CreateTestObject(TestObject **aResult) argument
131 *aResult = new TestObject();
134 static void CreateTestRefObject(TestRefObject **aResult) argument
136 (*aResult = new TestRefObject())->AddRef();
/vbox/src/libs/xpcom18a4/xpcom/io/
H A DnsScriptableInputStream.cpp92 nsScriptableInputStream::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult) { argument
99 nsresult rv = sis->QueryInterface(aIID, aResult);
H A DnsByteArrayInputStream.cpp56 nsByteArrayInputStream::Available (PRUint32* aResult) argument
58 if (aResult == NULL)
62 *aResult = 0;
64 *aResult = _nbytes - _pos;
151 NS_NewByteArrayInputStream (nsIByteArrayInputStream* *aResult, char * buffer, unsigned long bytes) argument
153 if (aResult == NULL)
162 *aResult = stream;
/vbox/src/libs/xpcom18a4/ipc/ipcd/client/src/
H A DipcService.cpp82 ipcService::ClientExists(PRUint32 aClientID, PRBool *aResult) argument
84 return IPC_ClientExists(aClientID, aResult);
/vbox/src/libs/xpcom18a4/xpcom/tests/windows/
H A DTestCOM.cpp111 void **aResult);
125 void **aResult)
138 nsresult res = t->QueryInterface(aIID, aResult);
123 CreateInstance(nsISupports *aOuter, const nsIID &aIID, void **aResult) argument
/vbox/src/libs/xpcom18a4/xpcom/threads/
H A DnsEnvironment.cpp54 void **aResult)
57 *aResult = nsnull;
74 rv = obj->QueryInterface(aIID, aResult);
53 Create(nsISupports *aOuter, REFNSIID aIID, void **aResult) argument
/vbox/src/VBox/Main/src-server/xpcom/
H A Dserver_module.cpp171 void **aResult)
180 *aResult = NULL;
287 aIID, aResult);
170 VirtualBoxConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult) argument
/vbox/src/libs/xpcom18a4/java/src/
H A DnsAppFileLocProviderProxy.cpp63 nsIFile** aResult)
97 return localFile->QueryInterface(NS_GET_IID(nsIFile), (void**)aResult);
125 NS_IMETHOD HasMoreElements(PRBool* aResult) argument
128 *aResult = PR_FALSE;
130 *aResult = (mIndex < mArraySize);
135 NS_IMETHOD GetNext(nsISupports** aResult) argument
147 return localFile->QueryInterface(NS_GET_IID(nsIFile), (void**)aResult);
165 nsISimpleEnumerator** aResult)
225 *aResult = new DirectoryEnumerator(static_cast<jobjectArray>
227 NS_ADDREF(*aResult);
62 GetFile(const char* aProp, PRBool* aIsPersistant, nsIFile** aResult) argument
164 GetFiles(const char* aProp, nsISimpleEnumerator** aResult) argument
241 NS_NewAppFileLocProviderProxy(jobject aJavaLocProvider, nsIDirectoryServiceProvider** aResult) argument
[all...]
H A DnsFileStreams.cpp206 nsFileInputStream::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult) argument
214 nsresult rv = stream->QueryInterface(aIID, aResult);
296 nsFileInputStream::Available(PRUint32* aResult) argument
306 *aResult = avail;
311 nsFileInputStream::Read(char* aBuf, PRUint32 aCount, PRUint32* aResult) argument
328 *aResult = bytesRead;
333 nsFileInputStream::ReadLine(nsACString& aLine, PRBool* aResult) argument
340 PRUint32 aCount, PRUint32* aResult)
382 nsFileOutputStream::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult) argument
390 nsresult rv = stream->QueryInterface(aIID, aResult);
339 ReadSegments(nsWriteSegmentFun aWriter, void* aClosure, PRUint32 aCount, PRUint32* aResult) argument
[all...]
H A DnsJavaInterfaces.cpp192 jobject aAppFileLocProvider, jobject* aResult)
217 nsnull, aResult);
191 InitXPCOM_Impl(JNIEnv* env, jobject aMozBinDirectory, jobject aAppFileLocProvider, jobject* aResult) argument
/vbox/src/libs/xpcom18a4/xpcom/components/
H A DnsComponentManagerObsolete.cpp64 void **aResult)
69 return cm->GetClassObject(aClass, aIID, aResult);
97 void **aResult)
102 return cm->CreateInstance(aClass, aDelegate, aIID, aResult);
109 void **aResult)
114 return cm->CreateInstanceByContractID(aContractID, aDelegate, aIID, aResult);
63 GetClassObject(const nsCID &aClass, const nsIID &aIID, void **aResult) argument
94 CreateInstance(const nsCID &aClass, nsISupports *aDelegate, const nsIID &aIID, void **aResult) argument
106 CreateInstance(const char *aContractID, nsISupports *aDelegate, const nsIID &aIID, void **aResult) argument
/vbox/src/VBox/Main/src-all/
H A DVirtualBoxErrorInfoImpl.cpp243 NS_IMETHODIMP VirtualBoxErrorInfo::GetResult(nsresult *aResult) argument
245 if (!aResult)
251 *aResult = lrc;

Completed in 139 milliseconds

123