Lines Matching refs:PyObject

50 static PyObject *
51 search_pp_list (PyObject *list, PyObject *value) in search_pp_list()
54 PyObject *function, *printer = NULL; in search_pp_list()
66 PyObject *attr = PyObject_GetAttr (function, gdbpy_enabled_cst); in search_pp_list()
97 static PyObject *
98 find_pretty_printer_from_objfiles (PyObject *value) in find_pretty_printer_from_objfiles()
100 PyObject *pp_list; in find_pretty_printer_from_objfiles()
101 PyObject *function; in find_pretty_printer_from_objfiles()
106 PyObject *objf = objfile_to_objfile_object (obj); in find_pretty_printer_from_objfiles()
137 static PyObject *
138 find_pretty_printer_from_progspace (PyObject *value) in find_pretty_printer_from_progspace()
140 PyObject *pp_list; in find_pretty_printer_from_progspace()
141 PyObject *function; in find_pretty_printer_from_progspace()
142 PyObject *obj = pspace_to_pspace_object (current_program_space); in find_pretty_printer_from_progspace()
158 static PyObject *
159 find_pretty_printer_from_gdb (PyObject *value) in find_pretty_printer_from_gdb()
161 PyObject *pp_list; in find_pretty_printer_from_gdb()
162 PyObject *function; in find_pretty_printer_from_gdb()
184 static PyObject *
185 find_pretty_printer (PyObject *value) in find_pretty_printer()
187 PyObject *function; in find_pretty_printer()
215 static PyObject *
216 pretty_print_one_value (PyObject *printer, struct value **out_value) in pretty_print_one_value()
219 PyObject *result = NULL; in pretty_print_one_value()
247 gdbpy_get_display_hint (PyObject *printer) in gdbpy_get_display_hint()
249 PyObject *hint; in gdbpy_get_display_hint()
280 PyObject *type, *value, *trace; in print_stack_unless_memory_error()
306 print_string_repr (PyObject *printer, const char *hint, in print_string_repr()
313 PyObject *py_str = NULL; in print_string_repr()
341 PyObject *string; in print_string_repr()
403 static PyObject *
406 PyObject *empty_string, *null_tuple, *globals; in push_dummy_python_frame()
465 return (PyObject *) frame; in push_dummy_python_frame()
473 print_children (PyObject *printer, const char *hint, in print_children()
481 PyObject *children, *iter; in print_children()
483 PyObject *frame; in print_children()
541 PyObject *py_v, *item = PyIter_Next (iter); in print_children()
699 PyObject *printer = NULL; in apply_val_pretty_printer()
700 PyObject *val_obj = NULL; in apply_val_pretty_printer()
769 PyObject *
770 apply_varobj_pretty_printer (PyObject *printer_obj, in apply_varobj_pretty_printer()
774 PyObject *py_str = NULL; in apply_varobj_pretty_printer()
789 PyObject *
792 PyObject *val_obj; in gdbpy_get_varobj_pretty_printer()
793 PyObject *pretty_printer = NULL; in gdbpy_get_varobj_pretty_printer()
815 PyObject *
816 gdbpy_default_visualizer (PyObject *self, PyObject *args) in gdbpy_default_visualizer()
818 PyObject *val_obj; in gdbpy_default_visualizer()
819 PyObject *cons; in gdbpy_default_visualizer()