/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/wx/lib/wxcairo/ |
H A D | wx_pycairo.py | 244 ('Context_Type', ctypes.py_object), 253 ('Matrix_Type', ctypes.py_object), 255 ('Path_Type', ctypes.py_object), 257 ('Pattern_Type', ctypes.py_object), 266 ('Surface_Type', ctypes.py_object), 293 ('Matrix_Type', ctypes.py_object), 295 ('Path_Type', ctypes.py_object), 333 ('Matrix_Type', ctypes.py_object), 335 ('Path_Type', ctypes.py_object), 374 ('Matrix_Type', ctypes.py_object), [all …]
|
/dports/games/adonthell/adonthell-0.3.8/src/ |
H A D | py_object.cc | 33 py_object::py_object () in py_object() function in py_object 40 py_object::~py_object () in ~py_object() 46 void py_object::clear () in clear() 57 bool py_object::create_instance (string file, string classname, PyObject * args) in create_instance() 68 bool py_object::reload_instance (string file, string classname, PyObject * args) in reload_instance() 134 bool py_object::has_attribute (const std::string & name) in has_attribute() 143 PyObject *py_object::get_attribute (const string &name) const in get_attribute() 152 s_int32 py_object::get_attribute_int (const string &name) in get_attribute_int() 169 string py_object::get_attribute_string (const string &name) in get_attribute_string() 186 void py_object::set_attribute (const string &name, PyObject *value) in set_attribute() [all …]
|
/dports/devel/folly/folly-2021.12.27.00/folly/python/ |
H A D | iobuf.h | 34 PyObject* py_object; member 39 PyObject* py_object, in iobuf_from_python() argument 42 Py_INCREF(py_object); in iobuf_from_python() 45 userData->py_object = py_object; in iobuf_from_python() 52 auto* py_object = py_data->py_object; in iobuf_from_python() 54 Py_DECREF(py_object); in iobuf_from_python() 57 [py_object]() mutable { Py_DECREF(py_object); }); in iobuf_from_python() 70 (void*)py_object); in iobuf_from_python()
|
/dports/comms/libconcord/concordance-1.2/libconcord/bindings/python/ |
H A D | libconcord.py | 198 py_object: _dump_simple(py_object), 592 _in('cb_arg', py_object) 600 _in('cb_arg', py_object) 614 _in('cb_arg', py_object) 622 _in('cb_arg', py_object) 630 _in('cb_arg', py_object) 638 _in('cb_arg', py_object) 646 _in('cb_arg', py_object) 654 _in('cb_arg', py_object) 674 _in('cb_arg', py_object) [all …]
|
/dports/comms/concordance/concordance-1.2/libconcord/bindings/python/ |
H A D | libconcord.py | 198 py_object: _dump_simple(py_object), 592 _in('cb_arg', py_object) 600 _in('cb_arg', py_object) 614 _in('cb_arg', py_object) 622 _in('cb_arg', py_object) 630 _in('cb_arg', py_object) 638 _in('cb_arg', py_object) 646 _in('cb_arg', py_object) 654 _in('cb_arg', py_object) 674 _in('cb_arg', py_object) [all …]
|
/dports/math/gnumeric/gnumeric-1.12.50/plugins/python-loader/ |
H A D | py-interpreter-selector.c | 25 GnmPython *py_object; member 145 sel->cur_interpreter = gnm_python_get_default_interpreter (sel->py_object); in cb_destroyed_interpreter() 160 sel->py_object = NULL; in gnm_py_interpreter_selector_init() 180 if (sel->py_object != NULL) in gnm_py_interpreter_selector_finalize() 182 sel->py_object, G_CALLBACK (cb_created_interpreter), in gnm_py_interpreter_selector_finalize() 188 if (sel->py_object != NULL) { in gnm_py_interpreter_selector_finalize() 189 g_object_unref (sel->py_object); in gnm_py_interpreter_selector_finalize() 190 sel->py_object = NULL; in gnm_py_interpreter_selector_finalize() 225 sel->py_object = gnm_python_object_get (err); in gnm_py_interpreter_selector_new() 226 if (sel->py_object == NULL) { in gnm_py_interpreter_selector_new() [all …]
|
H A D | python-loader.c | 47 GnmPython *py_object; member 110 GnmPython *py_object; in gplp_load_base() local 121 py_object = gnm_python_object_get (ret_error); in gplp_load_base() 122 if (py_object == NULL) in gplp_load_base() 128 g_object_unref (py_object); in gplp_load_base() 150 g_object_unref (py_object); in gplp_load_base() 158 g_object_unref (py_object); in gplp_load_base() 168 g_object_unref (py_object); in gplp_load_base() 179 loader_python->py_object = py_object; in gplp_load_base() 195 g_object_unref (loader_python->py_object); in gplp_unload_base() [all …]
|
/dports/devel/py-lxml/lxml-4.7.1/src/lxml/tests/ |
H A D | test_external_document.py | 32 ctypes.c_char_p, ctypes.py_object) 34 ctypes.py_object, ctypes.c_char_p) 35 self.new_capsule = wrap(pythonapi.PyCapsule_New, ctypes.py_object, 39 ctypes.py_object, ctypes.c_char_p) 41 ctypes.c_int, ctypes.py_object, 44 ctypes.c_char_p, ctypes.py_object) 46 ctypes.c_void_p, ctypes.py_object, 49 ctypes.c_int, ctypes.py_object, 52 ctypes.c_int, ctypes.py_object, 54 self.PyCapsule_Destructor = ctypes.CFUNCTYPE(None, ctypes.py_object)
|
/dports/net/py-mpi4py/mpi4py-3.1.3/test/ |
H A D | dlpackimpl.py | 70 Py_IncRef.argtypes = [ctypes.py_object] 74 Py_DecRef.argtypes = [ctypes.py_object] 79 PyCapsule_New.restype = ctypes.py_object 84 PyCapsule_IsValid.argtypes = [ctypes.py_object] 88 PyCapsule_GetPointer.argtypes = [ctypes.py_object, ctypes.c_char_p] 96 PyCapsule_GetContext.argtypes = [ctypes.py_object] 180 py_obj = ctypes.py_object(obj) 190 py_obj = ctypes.cast(manager_ctx, ctypes.py_object) 203 py_obj = ctypes.py_object(context) 211 capsule = ctypes.cast(void_p, ctypes.py_object) [all …]
|
/dports/databases/py-gdbm/Python-3.8.12/Lib/ctypes/test/ |
H A D | test_python_api.py | 23 PyBytes_FromStringAndSize.restype = py_object 30 pythonapi.PyBytes_FromString.restype = py_object 44 pythonapi.PyLong_FromLong.restype = py_object 49 pythonapi.PyLong_AsLong.argtypes = (py_object,) 84 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 85 self.assertEqual(repr(py_object(42)), "py_object(42)") 86 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object)
|
/dports/lang/python37/Python-3.7.12/Lib/ctypes/test/ |
H A D | test_python_api.py | 23 PyBytes_FromStringAndSize.restype = py_object 30 pythonapi.PyBytes_FromString.restype = py_object 44 pythonapi.PyLong_FromLong.restype = py_object 49 pythonapi.PyLong_AsLong.argtypes = (py_object,) 84 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 85 self.assertEqual(repr(py_object(42)), "py_object(42)") 86 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object)
|
/dports/lang/python38/Python-3.8.12/Lib/ctypes/test/ |
H A D | test_python_api.py | 23 PyBytes_FromStringAndSize.restype = py_object 30 pythonapi.PyBytes_FromString.restype = py_object 44 pythonapi.PyLong_FromLong.restype = py_object 49 pythonapi.PyLong_AsLong.argtypes = (py_object,) 84 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 85 self.assertEqual(repr(py_object(42)), "py_object(42)") 86 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object)
|
/dports/lang/python311/Python-3.11.0a3/Lib/ctypes/test/ |
H A D | test_python_api.py | 23 PyBytes_FromStringAndSize.restype = py_object 30 pythonapi.PyBytes_FromString.restype = py_object 44 pythonapi.PyLong_FromLong.restype = py_object 49 pythonapi.PyLong_AsLong.argtypes = (py_object,) 84 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 85 self.assertEqual(repr(py_object(42)), "py_object(42)") 86 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object)
|
/dports/lang/python-legacy/Python-2.7.18/Lib/ctypes/test/ |
H A D | test_python_api.py | 23 PyString_FromStringAndSize.restype = py_object 29 pythonapi.PyString_FromString.restype = py_object 46 pythonapi.PyInt_FromLong.restype = py_object 51 pythonapi.PyInt_AsLong.argtypes = (py_object,) 85 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 86 self.assertEqual(repr(py_object(42)), "py_object(42)") 87 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object)
|
/dports/lang/python27/Python-2.7.18/Lib/ctypes/test/ |
H A D | test_python_api.py | 23 PyString_FromStringAndSize.restype = py_object 29 pythonapi.PyString_FromString.restype = py_object 46 pythonapi.PyInt_FromLong.restype = py_object 51 pythonapi.PyInt_AsLong.argtypes = (py_object,) 85 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 86 self.assertEqual(repr(py_object(42)), "py_object(42)") 87 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object)
|
/dports/lang/python-tools/Python-3.8.12/Lib/ctypes/test/ |
H A D | test_python_api.py | 23 PyBytes_FromStringAndSize.restype = py_object 30 pythonapi.PyBytes_FromString.restype = py_object 44 pythonapi.PyLong_FromLong.restype = py_object 49 pythonapi.PyLong_AsLong.argtypes = (py_object,) 84 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 85 self.assertEqual(repr(py_object(42)), "py_object(42)") 86 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object)
|
/dports/lang/python39/Python-3.9.9/Lib/ctypes/test/ |
H A D | test_python_api.py | 23 PyBytes_FromStringAndSize.restype = py_object 30 pythonapi.PyBytes_FromString.restype = py_object 44 pythonapi.PyLong_FromLong.restype = py_object 49 pythonapi.PyLong_AsLong.argtypes = (py_object,) 84 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 85 self.assertEqual(repr(py_object(42)), "py_object(42)") 86 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object)
|
/dports/databases/py-sqlite3/Python-3.8.12/Lib/ctypes/test/ |
H A D | test_python_api.py | 23 PyBytes_FromStringAndSize.restype = py_object 30 pythonapi.PyBytes_FromString.restype = py_object 44 pythonapi.PyLong_FromLong.restype = py_object 49 pythonapi.PyLong_AsLong.argtypes = (py_object,) 84 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 85 self.assertEqual(repr(py_object(42)), "py_object(42)") 86 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object)
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/ctypes/test/ |
H A D | test_python_api.py | 23 PyBytes_FromStringAndSize.restype = py_object 30 pythonapi.PyBytes_FromString.restype = py_object 44 pythonapi.PyLong_FromLong.restype = py_object 49 pythonapi.PyLong_AsLong.argtypes = (py_object,) 84 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 85 self.assertEqual(repr(py_object(42)), "py_object(42)") 86 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object)
|
/dports/lang/python310/Python-3.10.1/Lib/ctypes/test/ |
H A D | test_python_api.py | 23 PyBytes_FromStringAndSize.restype = py_object 30 pythonapi.PyBytes_FromString.restype = py_object 44 pythonapi.PyLong_FromLong.restype = py_object 49 pythonapi.PyLong_AsLong.argtypes = (py_object,) 84 self.assertEqual(repr(py_object()), "py_object(<NULL>)") 85 self.assertEqual(repr(py_object(42)), "py_object(42)") 86 self.assertEqual(repr(py_object(object)), "py_object(%r)" % object)
|
/dports/security/sudo/sudo-1.9.8p2/plugins/python/ |
H A D | pyhelpers.h | 63 char *py_create_string_rep(PyObject *py_object); 84 PyObject *py_object_get_optional_attr(PyObject *py_object, const char *attr, PyObject *py_default); 85 long long py_object_get_optional_attr_number(PyObject *py_object, const char *attr_name); 86 const char *py_object_get_optional_attr_string(PyObject *py_object, const char *attr_name); 88 void py_object_set_attr_number(PyObject *py_object, const char *attr_name, long long number); 89 void py_object_set_attr_string(PyObject *py_object, const char *attr_name, const char *value);
|
H A D | pyhelpers.c | 286 py_create_string_rep(PyObject *py_object) in py_create_string_rep() argument 291 if (py_object == NULL) in py_create_string_rep() 294 PyObject *py_string = PyObject_Str(py_object); in py_create_string_rep() 514 if (PyObject_HasAttrString(py_object, attr)) { in py_object_get_optional_attr() 515 return PyObject_GetAttrString(py_object, attr); in py_object_get_optional_attr() 522 py_object_get_optional_attr_string(PyObject *py_object, const char *attr_name) in py_object_get_optional_attr_string() argument 524 PyObject *py_value = py_object_get_optional_attr(py_object, attr_name, NULL); in py_object_get_optional_attr_string() 534 py_object_get_optional_attr_number(PyObject *py_object, const char *attr_name) in py_object_get_optional_attr_number() argument 536 PyObject *py_value = py_object_get_optional_attr(py_object, attr_name, NULL); in py_object_get_optional_attr_number() 552 PyObject_SetAttrString(py_object, attr_name, py_number); in py_object_set_attr_number() [all …]
|
/dports/devel/py-shapely/Shapely-1.8.0/shapely/ |
H A D | strtree.py | 119 lgeos.GEOSSTRtree_insert(self._tree, geom._geom, ctypes.py_object(idx)) 145 idx = ctypes.cast(item, ctypes.py_object).value 243 callback_userdata = ctypes.cast(userdata, ctypes.py_object).value 244 idx = ctypes.cast(item1, ctypes.py_object).value 245 geom2 = ctypes.cast(item2, ctypes.py_object).value 259 ctypes.py_object(geom), 262 ctypes.py_object({"exclusive": exclusive}), 264 return ctypes.cast(item, ctypes.py_object).value
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/py3/ |
H A D | server.h | 33 Ret (*func)(PyObject*, Args...), PyObject* py_object) { in object_partial() argument 34 Py_INCREF(py_object); in object_partial() 35 auto guard = folly::makeGuard([=] { Py_DECREF(py_object); }); in object_partial() 36 return [func, py_object, guard = std::move(guard)](Args... args) mutable { in object_partial() 37 return func(py_object, std::forward<Args>(args)...); in object_partial()
|
/dports/audio/shairplay/shairplay-498bc5b/src/bindings/python/ |
H A D | Shairplay.py | 69 audio_init_prototype = CFUNCTYPE(py_object, c_void_p, c_int, c_int, c_int) 79 _fields_ = [("cls", py_object), 170 session = cast(sessionptr, py_object).value 175 session = cast(sessionptr, py_object).value 181 session = cast(sessionptr, py_object).value 185 session = cast(sessionptr, py_object).value 189 session = cast(sessionptr, py_object).value 194 session = cast(sessionptr, py_object).value
|