Searched refs:Py_nsISupports (Results 1 - 18 of 18) sorted by relevance

/vbox/src/libs/xpcom18a4/python/src/
H A DPyISupports.cpp58 /*static*/ RTLISTNODE Py_nsISupports::g_List;
59 /*static*/ RTONCE Py_nsISupports::g_Once = RTONCE_INITIALIZER;
60 /*static*/ RTCRITSECT Py_nsISupports::g_CritSect;
63 Py_nsISupports::initOnceCallback(void *pvUser1)
71 Py_nsISupports::dumpList(void)
77 Py_nsISupports *pCur;
78 RTListForEach(&g_List, pCur, Py_nsISupports, m_ListEntry)
89 Py_nsISupports::dumpListToStdOut()
95 Py_nsISupports *pCur;
96 RTListForEach(&g_List, pCur, Py_nsISupports, m_ListEntr
131 Py_nsISupports::Py_nsISupports(nsISupports *punk, const nsIID &iid, PyTypeObject *this_type) function in class:Py_nsISupports
[all...]
H A DTypeObject.cpp92 return ((Py_nsISupports *)self)->getattr(name);
98 return ((Py_nsISupports *)op)->setattr(name, v);
101 // @pymethod int|Py_nsISupports|__cmp__|Implements XPCOM rules for object identity.
111 if (!Py_nsISupports::InterfaceFromPyObject(self, NS_GET_IID(nsISupports), &pUnkThis, PR_FALSE))
113 if (!Py_nsISupports::InterfaceFromPyObject(other, NS_GET_IID(nsISupports), &pUnkOther, PR_FALSE)) {
124 // @pymethod int|Py_nsISupports|__hash__|Implement a hash-code for the XPCOM object using XPCOM identity rules.
129 if (!Py_nsISupports::InterfaceFromPyObject(self, NS_GET_IID(nsISupports), &pUnkThis, PR_FALSE))
136 // @method string|Py_nsISupports|__repr__|Called to create a representation of a Py_nsISupports object
141 Py_nsISupports *pi
[all...]
H A DPyIComponentManager.cpp53 if (!Py_nsISupports::Check(self, iid)) {
57 return NS_STATIC_CAST(nsIComponentManager*, Py_nsISupports::GetI(self));
93 return Py_nsISupports::PyObjectFromInterface(pis, iid, PR_FALSE);
129 return Py_nsISupports::PyObjectFromInterface(pis, iid, PR_FALSE);
H A DPyIVariant.cpp51 if (!Py_nsISupports::Check(self, iid)) {
55 return (nsIVariant *)Py_nsISupports::GetI(self);
138 return Py_nsISupports::PyObjectFromInterface(p, *iid);
149 return Py_nsISupports::PyObjectFromInterface(p, *iid);
152 extern PyObject *PyObject_FromVariantArray( Py_nsISupports*, nsIVariant *v);
158 return PyObject_FromVariantArray((Py_nsISupports *)self, pI);
165 return PyObject_FromVariant((Py_nsISupports *)self, pI);
210 ret = Py_nsISupports::getattr(name);
218 return Py_nsISupports::setattr(name, v);
H A DPyIClassInfo.cpp54 if (!Py_nsISupports::Check(self, iid)) {
58 return (nsIClassInfo *)Py_nsISupports::GetI(self);
103 return Py_nsISupports::PyObjectFromInterface(pi, NS_GET_IID(nsISupports));
157 ret = Py_nsISupports::getattr(name);
165 return Py_nsISupports::setattr(name, v);
H A DPyIComponentManagerObsolete.cpp53 if (!Py_nsISupports::Check(self, iid)) {
57 return (nsIComponentManagerObsolete *)Py_nsISupports::GetI(self);
90 return Py_nsISupports::PyObjectFromInterface(pis, iid, PR_FALSE, PR_FALSE);
162 return Py_nsISupports::PyObjectFromInterface(pRet, NS_GET_IID(nsIEnumerator), PR_FALSE);
182 return Py_nsISupports::PyObjectFromInterface(pRet, NS_GET_IID(nsIEnumerator), PR_FALSE);
H A DPyIInterfaceInfoManager.cpp55 if (!Py_nsISupports::Check(self, iid)) {
59 return (nsIInterfaceInfoManager *)Py_nsISupports::GetI(self);
88 return Py_nsISupports::PyObjectFromInterface(pi, new_iid, PR_FALSE);
112 return Py_nsISupports::PyObjectFromInterface(pi, NS_GET_IID(nsIInterfaceInfo), PR_FALSE);
182 return Py_nsISupports::PyObjectFromInterface(pRet, NS_GET_IID(nsIEnumerator));
H A DPyXPCOM.h148 class Py_nsISupports;
226 PYXPCOM_EXPORT PyObject *PyObject_FromVariant( Py_nsISupports *parent,
242 typedef Py_nsISupports* (* PyXPCOM_I_CTOR)(nsISupports *, const nsIID &);
274 // class Py_nsISupports
282 class PYXPCOM_EXPORT Py_nsISupports : public PyObject class in inherits:PyObject
285 // Check if a Python object can safely be cast to an Py_nsISupports,
289 Py_nsISupports *self = static_cast<Py_nsISupports *>(ob);
333 // Given a Py_nsISupports, return an interface.
334 // Object *must* be Py_nsISupports
[all...]
H A DPyIEnumerator.cpp54 if (!Py_nsISupports::Check(self, iid)) {
58 return (nsIEnumerator *)Py_nsISupports::GetI(self);
124 PyObject *ret = Py_nsISupports::PyObjectFromInterface(pRet, iid);
184 PyObject *new_ob = Py_nsISupports::PyObjectFromInterface(fetched[i], iid);
H A DPyISimpleEnumerator.cpp54 if (!Py_nsISupports::Check(self, iid)) {
58 return (nsISimpleEnumerator *)Py_nsISupports::GetI(self);
112 PyObject *ret = Py_nsISupports::PyObjectFromInterface(pRet, iid);
174 PyObject *new_ob = Py_nsISupports::PyObjectFromInterface(fetched[i], iid);
H A DPyIInputStream.cpp57 if (!Py_nsISupports::Check(self, iid)) {
61 return (nsIInputStream *)Py_nsISupports::GetI(self);
H A DPyGBase.cpp225 ok = Py_nsISupports::InterfaceFromPyObject(wrap_ret, iid, ppret, PR_FALSE, PR_FALSE);
290 obISupports = Py_nsISupports::PyObjectFromInterface(piswrap, iid_check, PR_FALSE);
366 PyObject * this_interface_ob = Py_nsISupports::PyObjectFromInterface(
382 if (Py_nsISupports::InterfaceFromPyObject(result, iid, (nsISupports **)ppv, PR_TRUE)) {
763 ok = NS_SUCCEEDED(Py_nsISupports::InterfaceFromPyObject(ob_existing_weak,
793 ok = NS_SUCCEEDED(Py_nsISupports::InterfaceFromPyObject(ob_existing_weak,
829 PyObject *ob_new_weak = Py_nsISupports::PyObjectFromInterface(pWeakReference,
H A DPyIInterfaceInfo.cpp54 if (!Py_nsISupports::Check(self, iid)) {
58 return (nsIInterfaceInfo *)Py_nsISupports::GetI(self);
138 return Py_nsISupports::PyObjectFromInterface(pRet, NS_GET_IID(nsIInterfaceInfo), PR_FALSE);
295 return Py_nsISupports::PyObjectFromInterface(pnewii, NS_GET_IID(nsIInterfaceInfo));
H A DPyGModule.cpp93 nr = Py_nsISupports::InterfaceFromPyObject(ret, aIID, (nsISupports **)r_classObj, PR_FALSE);
189 Py_nsISupports::InterfaceFromPyObject(ret, NS_GET_IID(nsIFactory), (nsISupports **)_retval, PR_FALSE);
H A Ddllmain.cpp333 Py_nsISupports::InitType();
H A DVariantUtils.cpp243 GetArrayElementIID(Py_nsISupports* self,
520 if (!Py_nsISupports::InterfaceFromPyObject(val, NS_GET_IID(nsISupports), &pnew, PR_TRUE))
543 static PyObject *UnpackSingleArray(Py_nsISupports *parent, void *array_ptr,
624 val = Py_nsISupports::PyObjectFromInterface(
682 if (Py_nsISupports::InterfaceFromPyObject(ob, NS_GET_IID(nsISupports), &ps, PR_TRUE)) {
821 PyObject *PyObject_FromVariantArray( Py_nsISupports *parent, nsIVariant *v)
844 PyObject *PyObject_FromVariant( Py_nsISupports *parent, nsIVariant *v)
911 ret = Py_nsISupports::PyObjectFromInterface(
1015 PyXPCOM_InterfaceVariantHelper::PyXPCOM_InterfaceVariantHelper(Py_nsISupports *parent, int methodindex)
1443 if (!Py_nsISupports
[all...]
/vbox/src/libs/xpcom18a4/python/src/module/
H A D_xpcom.cpp143 return Py_nsISupports::PyObjectFromInterface(ocm, NS_GET_IID(nsIComponentManagerObsolete), PR_FALSE);
159 return Py_nsISupports::PyObjectFromInterface(cm, NS_GET_IID(nsIComponentManager), PR_FALSE);
177 return Py_nsISupports::PyObjectFromInterface(cm, NS_GET_IID(nsISupports), PR_FALSE);
194 return Py_nsISupports::PyObjectFromInterface(sm, NS_GET_IID(nsIServiceManager));
222 PyObject *ret = Py_nsISupports::PyObjectFromInterface(im, NS_GET_IID(nsIInterfaceInfoManager), PR_FALSE);
241 if (!Py_nsISupports::Check(obIS)) {
250 if (!Py_nsISupports::InterfaceFromPyObject(
257 PyXPCOM_InterfaceVariantHelper arg_helper((Py_nsISupports *)obIS, index);
298 return Py_nsISupports::PyObjectFromInterface(ret, iid, bWrapClient);
311 if (!Py_nsISupports
[all...]
/vbox/src/libs/xpcom18a4/python/src/loader/
H A Dpyloader.cpp153 obServMgr = Py_nsISupports::PyObjectFromInterface(servMgr, NS_GET_IID(nsIComponentManager));
155 obLocation = Py_nsISupports::PyObjectFromInterface(location, NS_GET_IID(nsIFile));
161 Py_nsISupports::InterfaceFromPyObject(wrap_ret, NS_GET_IID(nsIModule), (nsISupports **)result, PR_FALSE, PR_FALSE);

Completed in 52 milliseconds