Searched refs:xpcom (Results 1 - 25 of 48) sorted by relevance

12

/vbox/src/libs/xpcom18a4/python/test/
H A Dtest_comfile.py38 """Test the xpcom.file module."""
41 import xpcom.file namespace
45 return suite_from_functions(xpcom.file._TestAll)
H A Dtest_components.py38 """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 Dtest_weakreferences.py39 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 Dtest_misc.py38 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 Dtest_streams.py38 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 Dtest_isupports_primitives.py43 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 DXPCOMJavaProxyBase.java38 package org.mozilla.xpcom.internal;
H A DMozillaImpl.java37 package org.mozilla.xpcom.internal;
41 import org.mozilla.xpcom.IMozilla;
42 import org.mozilla.xpcom.XPCOMInitializationException;
H A DGREImpl.java37 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 DXPCOMImpl.java37 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 DIJavaXPCOMUtils.java37 package org.mozilla.xpcom;
H A DIMozilla.java37 package org.mozilla.xpcom;
H A DIAppFileLocProvider.java38 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 DIGRE.java37 package org.mozilla.xpcom;
H A DProfileLock.java37 package org.mozilla.xpcom;
H A DXPCOMException.java38 package org.mozilla.xpcom;
H A DXPCOMInitializationException.java37 package org.mozilla.xpcom;
/vbox/src/libs/xpcom18a4/python/server/
H A Dfactory.py41 import xpcom namespace
42 from xpcom import components, nsError, _xpcom, logger
53 raise xpcom.ServerException(nsError.NS_ERROR_NO_AGGREGATION)
H A Denumerator.py38 from xpcom import components
H A Dpolicy.py38 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 DVBoxObjectBase.java19 return org.mozilla.xpcom.Mozilla.queryInterface(this, iid);
/vbox/src/libs/xpcom18a4/python/tools/
H A Dregxpcom.py41 from xpcom import components, _xpcom
42 from xpcom.client import Component
H A Dtracer_demo.py38 # 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 Dcomponents.py40 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 Dvboxxpcom.py13 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;

Completed in 133 milliseconds

12