Lines Matching refs:xpcomFunctions
63 static XPCOMFunctions xpcomFunctions;
74 xpcomFunctions.version = XPCOM_GLUE_VERSION;
75 xpcomFunctions.size = sizeof(XPCOMFunctions);
100 rv = (*function)(&xpcomFunctions, libPath);
136 rv = (*function)(&xpcomFunctions, libSpec.value.pathname);
159 memset(&xpcomFunctions, 0, sizeof(xpcomFunctions));
180 memset(&xpcomFunctions, 0, sizeof(xpcomFunctions));
191 if (!xpcomFunctions.init)
193 return xpcomFunctions.init(result, binDirectory, appFileLocationProvider);
199 if (!xpcomFunctions.shutdown)
201 return xpcomFunctions.shutdown(servMgr);
207 if (!xpcomFunctions.getServiceManager)
209 return xpcomFunctions.getServiceManager(result);
215 if (!xpcomFunctions.getComponentManager)
217 return xpcomFunctions.getComponentManager(result);
223 if (!xpcomFunctions.getComponentRegistrar)
225 return xpcomFunctions.getComponentRegistrar(result);
231 if (!xpcomFunctions.getMemoryManager)
233 return xpcomFunctions.getMemoryManager(result);
239 if (!xpcomFunctions.newLocalFile)
241 return xpcomFunctions.newLocalFile(path, followLinks, result);
247 if (!xpcomFunctions.newNativeLocalFile)
249 return xpcomFunctions.newNativeLocalFile(path, followLinks, result);
255 if (!xpcomFunctions.registerExitRoutine)
257 return xpcomFunctions.registerExitRoutine(exitRoutine, priority);
263 if (!xpcomFunctions.unregisterExitRoutine)
265 return xpcomFunctions.unregisterExitRoutine(exitRoutine);
271 if (!xpcomFunctions.getDebug)
273 return xpcomFunctions.getDebug(result);
280 if (!xpcomFunctions.getTraceRefcnt)
282 return xpcomFunctions.getTraceRefcnt(result);
289 if (!xpcomFunctions.stringContainerInit)
291 return xpcomFunctions.stringContainerInit(aStr);
297 if (xpcomFunctions.stringContainerFinish)
298 xpcomFunctions.stringContainerFinish(aStr);
304 if (!xpcomFunctions.stringGetData) {
308 return xpcomFunctions.stringGetData(aStr, aBuf, aTerm);
314 if (!xpcomFunctions.stringCloneData)
316 return xpcomFunctions.stringCloneData(aStr);
322 if (!xpcomFunctions.stringSetData)
325 return xpcomFunctions.stringSetData(aStr, aBuf, aCount);
332 if (!xpcomFunctions.stringSetDataRange)
334 return xpcomFunctions.stringSetDataRange(aStr, aCutStart, aCutLength, aBuf, aCount);
340 if (!xpcomFunctions.stringCopy)
342 return xpcomFunctions.stringCopy(aDest, aSrc);
349 if (!xpcomFunctions.cstringContainerInit)
351 return xpcomFunctions.cstringContainerInit(aStr);
357 if (xpcomFunctions.cstringContainerFinish)
358 xpcomFunctions.cstringContainerFinish(aStr);
364 if (!xpcomFunctions.cstringGetData) {
368 return xpcomFunctions.cstringGetData(aStr, aBuf, aTerm);
374 if (!xpcomFunctions.cstringCloneData)
376 return xpcomFunctions.cstringCloneData(aStr);
382 if (!xpcomFunctions.cstringSetData)
384 return xpcomFunctions.cstringSetData(aStr, aBuf, aCount);
391 if (!xpcomFunctions.cstringSetDataRange)
393 return xpcomFunctions.cstringSetDataRange(aStr, aCutStart, aCutLength, aBuf, aCount);
399 if (!xpcomFunctions.cstringCopy)
401 return xpcomFunctions.cstringCopy(aDest, aSrc);
407 if (!xpcomFunctions.cstringToUTF16)
409 return xpcomFunctions.cstringToUTF16(aSrc, aSrcEncoding, aDest);
415 if (!xpcomFunctions.utf16ToCString)
417 return xpcomFunctions.utf16ToCString(aSrc, aDestEncoding, aDest);