Home
last modified time | relevance | path

Searched refs:py_method (Results 1 – 25 of 27) sorted by relevance

12

/dports/devel/pyl-gobject/pygobject-2.28.6/tests/
H A Dtesthelpermodule.c151 PyObject *py_method; in _wrap_TestInterface__proxy_do_iface_method() local
163 if (!py_method) { in _wrap_TestInterface__proxy_do_iface_method()
175 Py_DECREF(py_method); in _wrap_TestInterface__proxy_do_iface_method()
186 Py_DECREF(py_method); in _wrap_TestInterface__proxy_do_iface_method()
194 Py_DECREF(py_method); in _wrap_TestInterface__proxy_do_iface_method()
205 PyObject *py_method; in __TestInterface__interface_init() local
210 if (py_method && !PyObject_TypeCheck(py_method, &PyCFunction_Type)) { in __TestInterface__interface_init()
217 Py_XDECREF(py_method); in __TestInterface__interface_init()
442 PyObject *py_method; in _wrap_test_gerror_exception() local
447 if (!PyArg_ParseTuple(args, "O", &py_method)) in _wrap_test_gerror_exception()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/python/google/protobuf/pyext/
H A Ddescriptor_database.cc133 ScopedPyObjectPtr py_method( in FindFileContainingExtension() local
135 if (py_method == NULL) { in FindFileContainingExtension()
141 PyObject_CallFunction(py_method.get(), "s#i", containing_type.c_str(), in FindFileContainingExtension()
152 ScopedPyObjectPtr py_method( in FindAllExtensionNumbers() local
154 if (py_method == NULL) { in FindAllExtensionNumbers()
160 PyObject_CallFunction(py_method.get(), "s#", containing_type.c_str(), in FindAllExtensionNumbers()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/python/google/protobuf/pyext/
H A Ddescriptor_database.cc133 ScopedPyObjectPtr py_method( in FindFileContainingExtension() local
135 if (py_method == NULL) { in FindFileContainingExtension()
141 PyObject_CallFunction(py_method.get(), "s#i", containing_type.c_str(), in FindFileContainingExtension()
152 ScopedPyObjectPtr py_method( in FindAllExtensionNumbers() local
154 if (py_method == NULL) { in FindAllExtensionNumbers()
160 PyObject_CallFunction(py_method.get(), "s#", containing_type.c_str(), in FindAllExtensionNumbers()
/dports/devel/py-protobuf/protobuf-3.17.3/google/protobuf/pyext/
H A Ddescriptor_database.cc135 ScopedPyObjectPtr py_method( in FindFileContainingExtension() local
137 if (py_method == NULL) { in FindFileContainingExtension()
143 PyObject_CallFunction(py_method.get(), "s#i", containing_type.c_str(), in FindFileContainingExtension()
154 ScopedPyObjectPtr py_method( in FindAllExtensionNumbers() local
156 if (py_method == NULL) { in FindAllExtensionNumbers()
162 PyObject_CallFunction(py_method.get(), "s#", containing_type.c_str(), in FindAllExtensionNumbers()
/dports/lang/cython-devel/cython-2b1e743/tests/run/
H A Dcdef_multiple_inheritance.pyx11 def py_method(self): member in PyBase
19 >>> b.py_method()
41 >>> b.py_method()
55 >>> b.py_method()
H A Dcdef_multiple_inheritance_nodict.pyx13 def py_method(self): member in PyBase
19 >>> b.py_method()
41 >>> b.py_method()
/dports/devel/pygobject3-common/pygobject-3.38.0/tests/
H A Dtesthelpermodule.c153 PyObject *py_method; in _wrap_TestInterface__proxy_do_iface_method() local
165 if (!py_method) { in _wrap_TestInterface__proxy_do_iface_method()
177 Py_DECREF(py_method); in _wrap_TestInterface__proxy_do_iface_method()
188 Py_DECREF(py_method); in _wrap_TestInterface__proxy_do_iface_method()
196 Py_DECREF(py_method); in _wrap_TestInterface__proxy_do_iface_method()
207 PyObject *py_method; in __TestInterface__interface_init() local
212 if (py_method && !PyObject_TypeCheck(py_method, &PyCFunction_Type)) { in __TestInterface__interface_init()
219 Py_XDECREF(py_method); in __TestInterface__interface_init()
597 PyObject *py_method; in _wrap_test_gerror_exception() local
602 if (!PyArg_ParseTuple(args, "O", &py_method)) in _wrap_test_gerror_exception()
[all …]
/dports/devel/py-gobject3/pygobject-3.38.0/tests/
H A Dtesthelpermodule.c153 PyObject *py_method; in _wrap_TestInterface__proxy_do_iface_method() local
165 if (!py_method) { in _wrap_TestInterface__proxy_do_iface_method()
177 Py_DECREF(py_method); in _wrap_TestInterface__proxy_do_iface_method()
188 Py_DECREF(py_method); in _wrap_TestInterface__proxy_do_iface_method()
196 Py_DECREF(py_method); in _wrap_TestInterface__proxy_do_iface_method()
207 PyObject *py_method; in __TestInterface__interface_init() local
212 if (py_method && !PyObject_TypeCheck(py_method, &PyCFunction_Type)) { in __TestInterface__interface_init()
219 Py_XDECREF(py_method); in __TestInterface__interface_init()
597 PyObject *py_method; in _wrap_test_gerror_exception() local
602 if (!PyArg_ParseTuple(args, "O", &py_method)) in _wrap_test_gerror_exception()
[all …]
/dports/lang/cython/Cython-0.29.24/tests/run/
H A Dcdef_multiple_inheritance.pyx9 def py_method(self): member in PyBase
16 >>> b.py_method()
38 >>> b.py_method()
H A Dcdef_multiple_inheritance_nodict.pyx13 def py_method(self): member in PyBase
19 >>> b.py_method()
41 >>> b.py_method()
/dports/x11-toolkits/pyl-gtksourceview/pygtksourceview-2.10.1/
H A Dgtksourceview2.override824 PyObject *py_method;
854 if (!py_method) {
862 py_retval = PyObject_CallObject(py_method, py_args);
867 Py_DECREF(py_method);
878 Py_DECREF(py_method);
888 Py_DECREF(py_method);
907 PyObject *py_method;
928 if (!py_method) {
941 Py_DECREF(py_method);
951 Py_DECREF(py_method);
[all …]
/dports/devel/pysvn/pysvn-1.9.12/Import/pycxx-7.1.4/CXX/Python2/
H A DExtensionModule.hxx150 method_def->py_method = Object( func, true ); in initialize()
152 dict[ (*i).first ] = method_def->py_method; in initialize()
H A DExtensions.hxx178 Object py_method; member in Py::MethodDefExt
/dports/devel/pysvn/pysvn-1.9.12/Import/pycxx-7.1.4/CXX/Python3/
H A DExtensionModule.hxx149 method_def->py_method = Object( func, true ); in initialize()
151 dict[ (*i).first ] = method_def->py_method; in initialize()
H A DExtensions.hxx178 Object py_method; member in Py::MethodDefExt
/dports/devel/py-cxx/pycxx-7.1.5/CXX/Python3/
H A DExtensionModule.hxx149 method_def->py_method = Object( func, true ); in initialize()
151 dict[ (*i).first ] = method_def->py_method; in initialize()
H A DExtensions.hxx178 Object py_method; member in Py::MethodDefExt
/dports/devel/py-cxx/pycxx-7.1.5/CXX/Python2/
H A DExtensionModule.hxx150 method_def->py_method = Object( func, true ); in initialize()
152 dict[ (*i).first ] = method_def->py_method; in initialize()
H A DExtensions.hxx178 Object py_method; member in Py::MethodDefExt
/dports/security/sudo/sudo-1.9.8p2/plugins/python/
H A Dsudo_python_module.c442 PyObject *py_method = PyInstanceMethod_New(py_func); in sudo_module_create_class() local
443 if (py_method == NULL) { in sudo_module_create_class()
448 int rc = PyDict_SetItemString(py_member_dict, py_def->ml_name, py_method); in sudo_module_create_class()
451 Py_XDECREF(py_method); in sudo_module_create_class()
/dports/devel/libsigrokdecode/libsigrokdecode-0.5.3/
H A Ddecoder.c612 PyObject *py_method; in check_method() local
618 py_method = PyObject_GetAttrString(py_dec, method_name); in check_method()
619 if (!py_method) { in check_method()
626 is_callable = PyCallable_Check(py_method); in check_method()
627 Py_DECREF(py_method); in check_method()
/dports/net/ns3/ns-allinone-3.35/pybindgen-0.22.0/pybindgen/
H A Dcppmethod.py1070 py_method = self.declarations.declare_variable('PyObject*', 'py_method')
1073 % (py_method, self.method_name))
1076 % (py_method, self.method_name))
1077 self.before_call.add_cleanup_code('Py_XDECREF(%s);' % py_method)
1080 r'if (%s == NULL || Py_TYPE(%s) == &PyCFunction_Type) {' % (py_method, py_method))
/dports/games/spring/spring_98.0/tools/unitsync/python/pybindgen/
H A Dcppmethod.py1034 py_method = self.declarations.declare_variable('PyObject*', 'py_method')
1037 % (py_method, self.method_name))
1040 % (py_method, self.method_name))
1041 self.before_call.add_cleanup_code('Py_XDECREF(%s);' % py_method)
1044 r'if (%s == NULL || %s->ob_type == &PyCFunction_Type) {' % (py_method, py_method))
/dports/graphics/blender/blender-2.91.0/source/blender/python/intern/
H A Dbpy_rna.h227 struct PyMethodDef *py_method,
/dports/x11-toolkits/pyl-gtk2/pygtk-2.24.0/gtk/
H A Dgtktreeview.override1264 PyObject *py_method;
1277 py_method = PyObject_GetAttrString(py_self, "do_get_sort_column_id");
1278 if (!py_method) {
1285 py_retval = PyObject_CallObject(py_method, NULL);
1290 Py_DECREF(py_method);
1298 Py_DECREF(py_method);
1308 Py_DECREF(py_method);
1315 Py_DECREF(py_method);

12