Home
last modified time | relevance | path

Searched refs:PyObject (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/crypto/external/bsd/netpgp/dist/bindings/python/
H A Dnetpgppython_wrap.c717 static PyObject *
772 PyObject *PyBool_FromLong(long ok) in PyBool_FromLong()
774 PyObject *result = ok ? Py_True : Py_False; in PyBool_FromLong()
793 SWIGRUNTIME PyObject*
795 PyObject* type = 0; in SWIG_Python_ErrorType()
840 PyObject *type = 0; in SWIG_Python_AddErrorMsg()
841 PyObject *value = 0; in SWIG_Python_AddErrorMsg()
842 PyObject *traceback = 0; in SWIG_Python_AddErrorMsg()
846 PyObject *old_str = PyObject_Str(value); in SWIG_Python_AddErrorMsg()
1021 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { in SWIG_Python_SetErrorObj()
[all …]
/netbsd-src/external/cddl/osnet/dist/lib/pyzfs/common/
H A Dioctl.c37 static PyObject *ZFSError;
74 static PyObject *
77 PyObject *pyo; in nvl2py()
84 PyObject *pyval; in nvl2py()
130 dict2nvl(PyObject *d) in dict2nvl()
134 PyObject *key, *value; in dict2nvl()
179 static PyObject *
182 PyObject *d = PyDict_New(); in fakepropval()
188 add_ds_props(zfs_cmd_t *zc, PyObject *nvl) in add_ds_props()
200 static PyObject *
[all …]
/netbsd-src/external/bsd/tre/dist/python/
H A Dtre-python.c34 PyObject *targ; /* string we matched against */
39 static PyObject *ErrorObject;
44 PyObject *errval; in _set_tre_err()
56 static PyObject *
57 TreFuzzyness_new(PyTypeObject *type, PyObject *args, PyObject *kwds) in TreFuzzyness_new()
80 return (PyObject*)self; in TreFuzzyness_new()
83 static PyObject *
84 TreFuzzyness_repr(PyObject *obj) in TreFuzzyness_repr()
87 PyObject *o; in TreFuzzyness_repr()
164 static PyObject *
[all …]
/netbsd-src/external/bsd/unbound/dist/pythonmod/
H A Dinterface.i64 PyObject* GetNameAsLabelList(const char* name, int len) { in GetNameAsLabelList()
65 PyObject* list; in GetNameAsLabelList()
91 PyObject* CharArrayAsStringList(char** array, int len) { in CharArrayAsStringList()
92 PyObject* list; in CharArrayAsStringList()
196 PyObject* _get_qname(struct query_info* q) { in _get_qname()
200 PyObject* _get_qname_components(struct query_info* q) { in _get_qname_components()
206 PyObject* dnameAsStr(PyObject* dname) { in dnameAsStr()
256 PyObject* _get_dname(struct packed_rrset_key* k) {
259 PyObject* _get_dname_components(struct packed_rrset_key* k) {
345 PyObject* _get_data_rr_len(struct packed_rrset_data* d, int idx) {
[all …]
H A Dpythonmod.c62 typedef struct PyObject PyObject; typedef
85 PyObject* module;
88 PyObject* func_init;
90 PyObject* func_deinit;
92 PyObject* func_operate;
94 PyObject* func_inform;
97 PyObject* dict;
100 PyObject* data;
112 PyObject* data;
126 clean_python_function_objects(PyObject* dict) { in clean_python_function_objects()
[all …]
/netbsd-src/external/bsd/unbound/dist/libunbound/python/
H A Dlibunbound.i101 PyObject* tuple;
790 PyObject* _ub_result_data(struct ub_result* result) {
791 PyObject *list;
808 PyObject* _packet() {
885 %apply PyObject* {void* mydata}
891 PyObject* tuple;
900 %typemap(in) (PyObject *pyfunc) {
910 …(struct ub_ctx* ctx, char* name, int rrtype, int rrclass, void* mydata, PyObject *pyfunc, int* asy…
914 PyObject* data;
915 PyObject* func;
[all …]
H A Dfile_py3.i60 is_obj_file(PyObject *obj) { in is_obj_file()
78 obj_to_file(PyObject *obj) { in obj_to_file()
/netbsd-src/external/gpl2/dtc/dist/pylibfdt/
H A Dlibfdt.i1028 PyObject *buff;
1073 PyObject *val = Py_BuildValue("i", *arg$argnum);
1085 PyObject *val = PyLong_FromUnsignedLongLong(*arg$argnum);
/netbsd-src/external/gpl3/gdb.old/dist/gdb/
H A DChangeLog-2010681 * defs.h (PyObject) [!HAVE_PYTHON]: Don't define.
682 * varobj.c (PyObject) [!HAVE_PYTHON]: Define.
684 PyObject pointer.
992 * defs.h: Add PyObject definition for GDB builds without Python.
4172 * python/py-frame.c (frame_info_to_frame_object): Return a PyObject.
4173 (gdbpy_selected_frame): Use PyObject over frame_info.
H A DChangeLog-20094822 (print_string_repr): Refactor to logic to account for PyObject
4828 PyObject returned strings.
8651 (PyObject): New typedef.
H A DChangeLog-201716147 member. Change type of TYPE member to PyObject *. All uses updated.
16894 (gdbpy_ref): Now a template; allow subclasses of PyObject to be
H A DChangeLog-201187 accept PyObject instead of frame_object.
H A DChangeLog-20136938 * python/python-internal.h (gdb_Py_DECREF): Cast OP to PyObject
H A DChangeLog-20147572 (struct varobj) <child_iter>: Change its type from "PyObject *"
H A DChangeLog-201917157 (struct salpy_sal_object) <symtab>: Now a PyObject.
/netbsd-src/external/gpl3/gdb/dist/gdb/
H A DChangeLog-2010681 * defs.h (PyObject) [!HAVE_PYTHON]: Don't define.
682 * varobj.c (PyObject) [!HAVE_PYTHON]: Define.
684 PyObject pointer.
992 * defs.h: Add PyObject definition for GDB builds without Python.
4172 * python/py-frame.c (frame_info_to_frame_object): Return a PyObject.
4173 (gdbpy_selected_frame): Use PyObject over frame_info.
H A DChangeLog-20094822 (print_string_repr): Refactor to logic to account for PyObject
4828 PyObject returned strings.
8651 (PyObject): New typedef.
H A DChangeLog-201716147 member. Change type of TYPE member to PyObject *. All uses updated.
16894 (gdbpy_ref): Now a template; allow subclasses of PyObject to be
H A DChangeLog-201187 accept PyObject instead of frame_object.
H A DChangeLog-20136938 * python/python-internal.h (gdb_Py_DECREF): Cast OP to PyObject
H A DChangeLog-20147572 (struct varobj) <child_iter>: Change its type from "PyObject *"
H A DChangeLog-201917157 (struct salpy_sal_object) <symtab>: Now a PyObject.
/netbsd-src/external/gpl3/binutils/dist/
H A DChangeLog.git136852 the type of the PyObject being worked on. Prior to this commit all
136857 So, with this commit I've made it a requirement that the PyObject be a
136864 progspace_object_to_program_space, converts a PyObject of type
136866 gdbpy_is_progspace checks if a PyObject is a gdb.Progspace or not.
137547 430 | PyObject *curr = PyDict_GetItemWithError (mi_cmd_dict.get (),
137598 commands would be backed with a stale PyObject or simply nothing.
155794 This commit switches to use the 'O' specifier to collect a PyObject,