| /netbsd/src/external/gpl3/gdb/dist/gdb/python/ |
| D | python-internal.h | 145 static inline PyObject * 146 gdb_PyObject_CallMethod (PyObject *o, const char *method, const char *format, in gdb_PyObject_CallMethod() 162 static inline PyObject* 163 gdb_PyErr_NewException (const char *name, PyObject *base, PyObject *dict) in gdb_PyErr_NewException() 174 static inline PyObject * 244 gdb_PyArg_ParseTupleAndKeywords (PyObject *args, PyObject *kw, in gdb_PyArg_ParseTupleAndKeywords() 278 extern PyObject *gdb_module; 279 extern PyObject *gdb_python_module; 358 PyObject *inf_obj; 362 PyObject *dict; [all …]
|
| D | py-record-btrace.h | 26 extern PyObject *recpy_bt_method (PyObject *self, void *closure); 29 extern PyObject *recpy_bt_format (PyObject *self, void *closure); 32 extern PyObject *recpy_bt_goto (PyObject *self, PyObject *value); 35 extern PyObject *recpy_bt_instruction_history (PyObject *self, void *closure); 38 extern PyObject *recpy_bt_function_call_history (PyObject *self, void *closure); 41 extern PyObject *recpy_bt_replay_position (PyObject *self, void *closure); 44 extern PyObject *recpy_bt_begin (PyObject *self, void *closure); 47 extern PyObject *recpy_bt_end (PyObject *self, void *closure); 50 extern PyObject *recpy_bt_insn_number (PyObject *self, void *closure); 53 extern PyObject *recpy_bt_insn_sal (PyObject *self, void *closure); [all …]
|
| D | py-frame.c | 61 frame_object_to_frame_info (PyObject *obj) in frame_object_to_frame_info() 79 static PyObject * 80 frapy_str (PyObject *self) in frapy_str() 88 static PyObject * 89 frapy_repr (PyObject *self) in frapy_repr() 107 static PyObject * 108 frapy_is_valid (PyObject *self, PyObject *args) in frapy_is_valid() 130 static PyObject * 131 frapy_name (PyObject *self, PyObject *args) in frapy_name() 136 PyObject *result; in frapy_name() [all …]
|
| D | py-value.c | 62 PyObject *address; 63 PyObject *type; 64 PyObject *dynamic_type; 65 PyObject *content_bytes; 94 valpy_dealloc (PyObject *obj) in valpy_dealloc() 145 convert_buffer_and_type_to_value (PyObject *obj, struct type *type, in convert_buffer_and_type_to_value() 184 valpy_init (PyObject *self, PyObject *args, PyObject *kwds) in valpy_init() 187 PyObject *val_obj = nullptr; in valpy_init() 188 PyObject *type_obj = nullptr; in valpy_init() 245 static PyObject * [all …]
|
| D | py-record.c | 68 static PyObject * 69 recpy_method (PyObject *self, void* closure) in recpy_method() 84 static PyObject * 85 recpy_format (PyObject *self, void* closure) in recpy_format() 100 static PyObject * 101 recpy_goto (PyObject *self, PyObject *value) in recpy_goto() 113 static PyObject * 114 recpy_replay_position (PyObject *self, void *closure) in recpy_replay_position() 126 static PyObject * 127 recpy_instruction_history (PyObject *self, void* closure) in recpy_instruction_history() [all …]
|
| D | py-type.c | 52 PyObject *dict; 82 static PyObject *typy_make_iter (PyObject *self, enum gdbpy_iter_kind kind); 97 field_dealloc (PyObject *obj) in field_dealloc() 105 static PyObject * 117 return (PyObject *) result.release (); in field_new() 125 gdbpy_is_field (PyObject *obj) in gdbpy_is_field() 131 static PyObject * 132 typy_get_code (PyObject *self, void *closure) in typy_get_code() 282 static PyObject * 283 typy_fields_items (PyObject *self, enum gdbpy_iter_kind kind) in typy_fields_items() [all …]
|
| D | py-objfile.c | 38 PyObject *dict; 41 PyObject *printers; 44 PyObject *frame_filters; 47 PyObject *frame_unwinders; 50 PyObject *type_printers; 53 PyObject *xmethods; 89 static PyObject * 90 objfpy_get_filename (PyObject *self, void *closure) in objfpy_get_filename() 103 static PyObject * 104 objfpy_get_username (PyObject *self, void *closure) in objfpy_get_username() [all …]
|
| D | py-progspace.c | 41 PyObject *dict; 44 PyObject *printers; 47 PyObject *frame_filters; 50 PyObject *frame_unwinders; 53 PyObject *type_printers; 56 PyObject *xmethods; 59 PyObject *missing_debug_handlers; 103 static PyObject * 104 pspy_get_filename (PyObject *self, void *closure) in pspy_get_filename() 124 static PyObject * [all …]
|
| D | py-infthread.c | 52 thread_obj->inf_obj = (PyObject *) inf_obj.release (); in create_thread_object() 61 thpy_dealloc (PyObject *self) in thpy_dealloc() 73 static PyObject * 74 thpy_get_name (PyObject *self, void *ignore) in thpy_get_name() 91 static PyObject * 92 thpy_get_details (PyObject *self, void *ignore) in thpy_get_details() 116 thpy_set_name (PyObject *self, PyObject *newvalue, void *ignore) in thpy_set_name() 157 static PyObject * 158 thpy_get_num (PyObject *self, void *closure) in thpy_get_num() 171 static PyObject * [all …]
|
| D | py-symbol.c | 74 static PyObject * 75 sympy_str (PyObject *self) in sympy_str() 77 PyObject *result; in sympy_str() 87 static PyObject * 88 sympy_get_type (PyObject *self, void *closure) in sympy_get_type() 103 static PyObject * 104 sympy_get_symtab (PyObject *self, void *closure) in sympy_get_symtab() 116 static PyObject * 117 sympy_get_name (PyObject *self, void *closure) in sympy_get_name() 126 static PyObject * [all …]
|
| D | py-record-btrace.c | 61 btrace_insn_from_recpy_insn (const PyObject * const pyobject) in btrace_insn_from_recpy_insn() 104 btrace_func_from_recpy_func (const PyObject * const pyobject) in btrace_func_from_recpy_func() 145 static PyObject * 170 static PyObject * 186 return (PyObject *) obj; in btpy_list_new() 192 PyObject * 193 recpy_bt_insn_sal (PyObject *self, void *closure) in recpy_bt_insn_sal() 196 PyObject *result = NULL; in recpy_bt_insn_sal() 216 PyObject * 217 recpy_bt_insn_pc (PyObject *self, void *closure) in recpy_bt_insn_pc() [all …]
|
| D | py-linetable.c | 38 PyObject *symtab; 51 PyObject *source; 60 static PyObject * 61 get_symtab (PyObject *linetable) in get_symtab() 83 PyObject * 84 symtab_to_linetable_object (PyObject *symtab) in symtab_to_linetable_object() 94 return (PyObject *) ltable; in symtab_to_linetable_object() 100 static PyObject * 113 return (PyObject *) obj; in build_linetable_entry() 122 static PyObject * [all …]
|
| D | py-symtab.c | 81 PyObject *symtab; 139 static PyObject * 140 stpy_str (PyObject *self) in stpy_str() 142 PyObject *result; in stpy_str() 152 static PyObject * 153 stpy_get_filename (PyObject *self, void *closure) in stpy_get_filename() 155 PyObject *str_obj; in stpy_get_filename() 166 static PyObject * 167 stpy_get_objfile (PyObject *self, void *closure) in stpy_get_objfile() 178 static PyObject * [all …]
|
| D | py-inferior.c | 51 PyObject *dict; 284 (PyObject *) inf_obj.get ()) < 0 in python_new_inferior() 312 (PyObject *) inf_obj.get ()) < 0 in python_inferior_deleted() 327 ((PyObject *) (thread_it->second.get ())); in thread_to_thread_object() 364 (PyObject *) ins_result.first->second.get ()); in add_thread_object() 400 static PyObject * 401 infpy_threads (PyObject *self, PyObject *args) in infpy_threads() 405 PyObject *tuple; in infpy_threads() 424 PyObject *thr = (PyObject *) entry.second.get (); in infpy_threads() 433 static PyObject * [all …]
|
| D | py-block.c | 107 static PyObject * 108 blpy_iter (PyObject *self) in blpy_iter() 125 return (PyObject *) block_iter_obj; in blpy_iter() 128 static PyObject * 129 blpy_get_start (PyObject *self, void *closure) in blpy_get_start() 138 static PyObject * 139 blpy_get_end (PyObject *self, void *closure) in blpy_get_end() 148 static PyObject * 149 blpy_get_function (PyObject *self, void *closure) in blpy_get_function() 163 static PyObject * [all …]
|
| D | py-breakpoint.c | 138 static PyObject * 139 bppy_is_valid (PyObject *self, PyObject *args) in bppy_is_valid() 149 static PyObject * 150 bppy_get_enabled (PyObject *self, void *closure) in bppy_get_enabled() 163 static PyObject * 164 bppy_get_silent (PyObject *self, void *closure) in bppy_get_silent() 176 bppy_set_enabled (PyObject *self, PyObject *newvalue, void *closure) in bppy_set_enabled() 218 bppy_set_silent (PyObject *self, PyObject *newvalue, void *closure) in bppy_set_silent() 249 bppy_set_thread (PyObject *self, PyObject *newvalue, void *closure) in bppy_set_thread() 306 bppy_set_inferior (PyObject *self, PyObject *newvalue, void *closure) in bppy_set_inferior() [all …]
|
| D | py-disasm.c | 136 gdbpy_disassembler (disasm_info_object *obj, PyObject *memory_source); 228 PyObject *m_memory_source; 278 disasm_info_init (PyObject *self, PyObject *args, PyObject *kwargs) in disasm_info_init() 281 PyObject *info_obj; in disasm_info_init() 295 Py_INCREF ((PyObject *) info); in disasm_info_init() 302 disasm_info_dealloc (PyObject *self) in disasm_info_dealloc() 309 Py_XDECREF ((PyObject *) obj->next); in disasm_info_dealloc() 317 static PyObject * 318 disasmpy_info_repr (PyObject *self) in disasmpy_info_repr() 333 static PyObject * [all …]
|
| D | py-arch.c | 30 static const registry<gdbarch>::key<PyObject, gdb::noop_deleter<PyObject>> 51 static PyObject * 61 return (PyObject *) arch_obj; in arch_object_data_init() 68 arch_object_to_gdbarch (PyObject *obj) in arch_object_to_gdbarch() 79 gdbpy_is_architecture (PyObject *obj) in gdbpy_is_architecture() 88 PyObject * 91 PyObject *new_ref = arch_object_data.get (gdbarch); in gdbarch_to_arch_object() 107 static PyObject * 108 archpy_name (PyObject *self, PyObject *args) in archpy_name() 125 static PyObject * [all …]
|
| D | py-unwind.c | 102 PyObject *pending_frame; 177 pyuw_object_attribute_to_pointer (PyObject *pyo, const char *attr_name, in pyuw_object_attribute_to_pointer() 204 static PyObject * 205 unwind_infopy_str (PyObject *self) in unwind_infopy_str() 246 static PyObject * 247 unwind_infopy_repr (PyObject *self) in unwind_infopy_repr() 281 static PyObject * 282 pyuw_create_unwind_info (PyObject *pyo_pending_frame, in pyuw_create_unwind_info() 295 return (PyObject *) unwind_info; in pyuw_create_unwind_info() 301 static PyObject * [all …]
|
| D | py-registers.c | 115 = gdbpy_ref<> ((PyObject *) group.release ()); in gdbpy_get_reggroup() 126 static PyObject * 127 gdbpy_reggroup_to_string (PyObject *self) 138 static PyObject * 139 gdbpy_reggroup_name (PyObject *self, void *closure) 172 vec[regnum] = gdbpy_ref<> ((PyObject *) reg.release ()); 182 static PyObject * 183 gdbpy_register_descriptor_to_string (PyObject *self) 198 static PyObject * 199 gdbpy_register_descriptor_name (PyObject *self, void *closure) [all …]
|
| D | py-connection.c | 107 return gdbpy_ref<> ((PyObject *) conn_obj.release ()); in target_to_connection_object() 113 PyObject * 114 gdbpy_connections (PyObject *self, PyObject *args) in gdbpy_connections() 181 connpy_connection_dealloc (PyObject *obj) in connpy_connection_dealloc() 199 static PyObject * 200 connpy_repr (PyObject *obj) in connpy_repr() 218 static PyObject * 219 connpy_is_valid (PyObject *self, PyObject *args) in connpy_is_valid() 231 static PyObject * 232 connpy_get_connection_num (PyObject *self, void *closure) in connpy_get_connection_num() [all …]
|
| D | python.c | 87 PyObject *gdb_module; 88 PyObject *gdb_python_module; 91 PyObject *gdbpy_to_string_cst; 92 PyObject *gdbpy_children_cst; 93 PyObject *gdbpy_display_hint_cst; 94 PyObject *gdbpy_doc_cst; 95 PyObject *gdbpy_enabled_cst; 96 PyObject *gdbpy_value_cst; 99 PyObject *gdbpy_gdberror_exc; 102 PyObject *gdbpy_gdb_error; [all …]
|
| D | py-lazy-string.c | 52 PyObject *type; 58 static PyObject * 59 stpy_get_address (PyObject *self, void *closure) in stpy_get_address() 66 static PyObject * 67 stpy_get_encoding (PyObject *self, void *closure) in stpy_get_encoding() 70 PyObject *result; in stpy_get_encoding() 85 static PyObject * 86 stpy_get_length (PyObject *self, void *closure) in stpy_get_length() 93 static PyObject * 94 stpy_get_type (PyObject *self, void *closure) in stpy_get_type() [all …]
|
| /netbsd/src/crypto/external/bsd/netpgp/dist/bindings/python/ |
| D | netpgppython_wrap.c | 717 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/bsd/tre/dist/python/ |
| D | tre-python.c | 34 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 …]
|