Searched refs:contractid (Results 1 - 6 of 6) sorted by relevance

/vbox/src/libs/xpcom18a4/xpcom/tools/
H A Danalyze-xpcom-log.pl32 # hash of cid -> contractid
33 my %contractid;
63 $contractid{$2} = $1;
98 $contractid{$cid} = $id;
164 $ret = $contractid{$cid} if (exists $contractid{$cid});
/vbox/src/libs/xpcom18a4/python/
H A Dcomponents.py174 def __init__(self, contractid):
175 self.contractid = contractid
178 rc = registrar.contractIDToCID(self.contractid)
182 raise AttributeError, "%s class has no attribute '%s'" % (self.contractid, attr)
186 return xpcom.client.Component(self.contractid, _get_good_iid(iid))
191 raise xpcom.COMException(details.errno, "No such component '%s'" % (self.contractid,))
194 return serviceManager.getServiceByContractID(self.contractid, _get_good_iid(iid))
200 # XXX - Need to check the contractid is valid!
/vbox/src/libs/xpcom18a4/python/tools/
H A Dtracer_demo.py96 contractid = "Python.TestComponent"
98 c = xpcom.components.classes[contractid].createInstance().queryInterface(xpcom.components.interfaces.nsIPythonTestInterface)
/vbox/src/libs/xpcom18a4/python/test/
H A Dtest_misc.py56 contractid = "@mozilla.org/sample;1" # The C++ version.
58 return xpcom.components.classes[contractid].createInstance()
74 contractid = "@mozilla.org/jssample;1" # the JS version
75 return xpcom.components.classes[contractid].createInstance()
153 # contractid = "@mozilla.org/sample;1" # The C++ version.
154 # c = xpcom.components.classes[contractid].createInstance() \
H A Dtest_test_component.py55 contractid = "Python.TestComponent" variable
384 expected = [xpcom.components.interfaces.nsIPythonTestInterfaceDOMStrings, xpcom.components.classes[contractid].clsid]
387 val = [xpcom.components.interfaces.nsIPythonTestInterfaceExtra, xpcom.components.classes[contractid].clsid]
450 c = xpcom.client.Component(contractid, xpcom.components.interfaces.nsIPythonTestInterfaceExtra)
464 c = xpcom.client.Component(contractid, xpcom.components.interfaces.nsIPythonTestInterface)
467 c = xpcom.client.Component(contractid, xpcom.components.interfaces.nsIPythonTestInterfaceExtra)
471 c = xpcom.components.classes[contractid].createInstance()
477 c = xpcom.components.classes[contractid].createInstance()
/vbox/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/
H A DipcDConnectService.cpp163 char contractid[1]; // variable length member in struct:DConnectSetupContractID
3472 memcpy(&msg->contractid, aContractID, slen + 1);
3508 memcpy(&msg->contractid, aContractID, slen + 1);
3742 rv = compMgr->CreateInstanceByContractID(setupCI->contractid, nsnull, setupCI->iid, (void **) &instance);
3767 rv = svcMgr->GetServiceByContractID(setupCI->contractid, setupCI->iid, (void **) &instance);

Completed in 105 milliseconds