/vbox/src/libs/xpcom18a4/python/test/ |
H A D | test_comfile.py | 38 """Test the xpcom.file module.""" 41 import xpcom.file namespace 45 return suite_from_functions(xpcom.file._TestAll)
|
H A D | test_components.py | 38 """Tests the "xpcom.components" object. 41 import xpcom.components namespace 48 "Test the xpcom.components.interfaces object" 50 iid = xpcom.components.interfaces.nsISupports 51 assert iid == xpcom._xpcom.IID_nsISupports, "Got the wrong IID!" 52 iid = xpcom.components.interfaces['nsISupports'] 53 assert iid == xpcom._xpcom.IID_nsISupports, "Got the wrong IID!" 57 for name, iid in xpcom.components.interfaces.items(): 61 assert iid == xpcom._xpcom.IID_nsISupports, "Got the wrong IID!" 62 assert xpcom [all...] |
H A D | test_weakreferences.py | 39 from xpcom import components, _xpcom 40 import xpcom.server, xpcom.client namespace 63 ob = xpcom.server.WrapObject( koTestSimple(), components.interfaces.nsIInputStream) 68 wr = xpcom.client.WeakReference(ob) 82 ob = xpcom.server.WrapObject( koTestSimple(), components.interfaces.nsISupports) 84 wr = xpcom.client.WeakReference(ob, components.interfaces.nsIInputStream)
|
H A D | test_misc.py | 38 import xpcom namespace 39 import xpcom.client namespace 40 import xpcom.server namespace 41 import xpcom._xpcom namespace 42 import xpcom.components namespace 58 return xpcom.components.classes[contractid].createInstance() 59 except xpcom.COMException: 64 print "*** should change to the 'mozilla/xpcom/sample' directory," 75 return xpcom.components.classes[contractid].createInstance() 80 import xpcom, xpco namespace [all...] |
H A D | test_streams.py | 38 import xpcom namespace 39 from xpcom import _xpcom, components, COMException, ServerException, nsError 76 # registered. This code means that we are still working over the xpcom boundaries, tho 78 import xpcom.server, xpcom.client namespace 79 ob = xpcom.server.WrapObject( koTestSimpleStream(), _xpcom.IID_nsISupports) 80 ob = xpcom.client.Component(ob._comobj_, components.interfaces.nsIInputStream)
|
H A D | test_isupports_primitives.py | 43 from xpcom import components 44 from xpcom import primitives 45 import xpcom.server, xpcom.client namespace 127 ob = xpcom.server.WrapObject( NoSupportsString(), components.interfaces.nsISupports) 132 ob = xpcom.server.WrapObject( ImplicitSupportsString(), components.interfaces.nsISupports) 136 ob = xpcom.server.WrapObject( ExplicitSupportsString(), components.interfaces.nsISupports) 140 ob = xpcom.server.WrapObject( ImplicitSupportsUnicode(), components.interfaces.nsISupports) 144 ob = xpcom.server.WrapObject( ExplicitSupportsUnicode(), components.interfaces.nsISupports) 149 ob = xpcom [all...] |
/vbox/src/libs/xpcom18a4/java/src/org/mozilla/xpcom/internal/ |
H A D | XPCOMJavaProxyBase.java | 38 package org.mozilla.xpcom.internal;
|
H A D | MozillaImpl.java | 37 package org.mozilla.xpcom.internal; 41 import org.mozilla.xpcom.IMozilla; 42 import org.mozilla.xpcom.XPCOMInitializationException;
|
H A D | GREImpl.java | 37 package org.mozilla.xpcom.internal; 41 import org.mozilla.xpcom.IAppFileLocProvider; 42 import org.mozilla.xpcom.IGRE; 43 import org.mozilla.xpcom.ProfileLock;
|
H A D | XPCOMImpl.java | 37 package org.mozilla.xpcom.internal; 41 import org.mozilla.xpcom.IAppFileLocProvider; 42 import org.mozilla.xpcom.IXPCOM;
|
/vbox/src/libs/xpcom18a4/java/src/org/mozilla/xpcom/ |
H A D | IJavaXPCOMUtils.java | 37 package org.mozilla.xpcom;
|
H A D | IMozilla.java | 37 package org.mozilla.xpcom;
|
H A D | IAppFileLocProvider.java | 38 package org.mozilla.xpcom; 54 * "http://lxr.mozilla.org/mozilla/source/xpcom/io/nsIDirectoryService.idl"> 57 * "http://lxr.mozilla.org/mozilla/source/xpcom/io/nsDirectoryServiceDefs.h">
|
H A D | IGRE.java | 37 package org.mozilla.xpcom;
|
H A D | ProfileLock.java | 37 package org.mozilla.xpcom;
|
H A D | XPCOMException.java | 38 package org.mozilla.xpcom;
|
H A D | XPCOMInitializationException.java | 37 package org.mozilla.xpcom;
|
/vbox/src/libs/xpcom18a4/python/server/ |
H A D | factory.py | 41 import xpcom namespace 42 from xpcom import components, nsError, _xpcom, logger 53 raise xpcom.ServerException(nsError.NS_ERROR_NO_AGGREGATION)
|
H A D | enumerator.py | 38 from xpcom import components
|
H A D | policy.py | 38 from xpcom import xpcom_consts, _xpcom, client, nsError, logger 39 from xpcom import ServerException, COMException 40 import xpcom namespace 41 import xpcom.server namespace 104 if xpcom.server.tracer_unwrap is not None: 105 ob = xpcom.server.tracer_unwrap(ob) 110 ci = xpcom.server.WrapObject(ci, _xpcom.IID_nsIClassInfo, bWrapClient = 0) 170 return xpcom.server.WrapObject(self._obj_, iid, bWrapClient = 0) 194 return xpcom.server.WrapObject(SupportsPrimitive(iid, self._obj_, attr, cvt), iid, bWrapClient = 0) 202 # look up the interface info - this will be true for all xpcom calle 204 import xpcom.xpt namespace 314 import xpcom.xpt namespace [all...] |
/vbox/src/libs/xpcom18a4/java/src/org/virtualbox/ |
H A D | VBoxObjectBase.java | 19 return org.mozilla.xpcom.Mozilla.queryInterface(this, iid);
|
/vbox/src/libs/xpcom18a4/python/tools/ |
H A D | regxpcom.py | 41 from xpcom import components, _xpcom 42 from xpcom.client import Component
|
H A D | tracer_demo.py | 38 # This is a demo is how to use the xpcom.server "tracer" facility. 94 import xpcom.server, xpcom.components namespace 95 xpcom.server.tracer = MakeTracer 98 c = xpcom.components.classes[contractid].createInstance().queryInterface(xpcom.components.interfaces.nsIPythonTestInterface)
|
/vbox/src/libs/xpcom18a4/python/ |
H A D | components.py | 40 import xpcom, _xpcom namespace 41 import xpcom.client namespace 42 import xpcom.server namespace 55 manager = xpcom.client.Component(_xpcom.GetComponentManager(), _xpcom.IID_nsIComponentManager) 58 registrar = xpcom.client.Component(_xpcom.GetComponentManager(), _xpcom.IID_nsIComponentRegistrar) 67 Exception = xpcom.COMException 150 except xpcom.COMException, why: 153 raise xpcom.COMException(nsError.NS_ERROR_NO_INTERFACE, "The interface '%s' does not exist" % (name,)) 184 import xpcom.client namespace 186 return xpcom [all...] |
H A D | vboxxpcom.py | 13 import xpcom namespace 20 # rest of Python bindings expect _xpcom to be inside xpcom module 60 sys.modules['xpcom._xpcom'] = _oVBoxPythonMod; 61 xpcom._xpcom = _oVBoxPythonMod;
|