Home
last modified time | relevance | path

Searched refs:pretty_printer (Results 1 – 25 of 67) sorted by relevance

123

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dpretty-print.h184 typedef bool (*printer_fn) (pretty_printer *, text_info *, const char *,
197 virtual void handle (pretty_printer *) = 0;
220 class pretty_printer
225 explicit pretty_printer (int = 0);
226 explicit pretty_printer (const pretty_printer &other);
228 virtual ~pretty_printer ();
230 virtual pretty_printer *clone () const;
287 pp_get_prefix (const pretty_printer *pp) { return pp->prefix; } in pp_get_prefix()
353 extern void pp_set_line_maximum_length (pretty_printer *, int);
354 extern void pp_set_prefix (pretty_printer *, char *);
[all …]
Dtree-pretty-print.h42 extern void dump_omp_clauses (pretty_printer *, tree, int, dump_flags_t,
44 extern void dump_omp_atomic_memory_order (pretty_printer *,
46 extern void dump_omp_loop_non_rect_expr (pretty_printer *, tree, int,
48 extern int dump_generic_node (pretty_printer *, tree, int, dump_flags_t, bool);
49 extern void print_declaration (pretty_printer *, tree, int, dump_flags_t);
53 extern void pretty_print_string (pretty_printer *, const char *, size_t);
54 extern void print_call_name (pretty_printer *, tree, dump_flags_t);
55 extern void pp_tree_identifier (pretty_printer *, tree);
57 extern void pp_double_int (pretty_printer *pp, double_int d, bool uns);
58 extern void dump_location (pretty_printer *buffer, location_t loc);
Dpretty-print.cc705 static void pp_quoted_string (pretty_printer *, const char *, size_t = -1);
782 pp_set_real_maximum_length (pretty_printer *pp) in pp_set_real_maximum_length()
805 pp_clear_state (pretty_printer *pp) in pp_clear_state()
814 pp_wide_integer (pretty_printer *pp, const poly_int_pod<N, T> &x) in pp_wide_integer()
831 template void pp_wide_integer (pretty_printer *, const poly_uint16_pod &);
832 template void pp_wide_integer (pretty_printer *, const poly_int64_pod &);
833 template void pp_wide_integer (pretty_printer *, const poly_uint64_pod &);
837 pp_write_text_to_stream (pretty_printer *pp) in pp_write_text_to_stream()
858 pp_write_text_as_dot_label_to_stream (pretty_printer *pp, bool for_record) in pp_write_text_as_dot_label_to_stream()
927 pp_write_text_as_html_like_dot_to_stream (pretty_printer *pp) in pp_write_text_as_html_like_dot_to_stream()
[all …]
Djson.h80 virtual void print (pretty_printer *pp) const = 0;
94 void print (pretty_printer *pp) const FINAL OVERRIDE;
113 void print (pretty_printer *pp) const FINAL OVERRIDE;
129 void print (pretty_printer *pp) const FINAL OVERRIDE;
145 void print (pretty_printer *pp) const FINAL OVERRIDE;
163 void print (pretty_printer *pp) const FINAL OVERRIDE;
183 void print (pretty_printer *pp) const FINAL OVERRIDE;
Djson.cc40 pretty_printer pp; in dump()
63 object::print (pretty_printer *pp) const in print()
137 array::print (pretty_printer *pp) const in print()
165 float_number::print (pretty_printer *pp) const in print()
177 integer_number::print (pretty_printer *pp) const in print()
198 string::print (pretty_printer *pp) const in print()
240 literal::print (pretty_printer *pp) const in print()
270 pretty_printer pp; in assert_print_eq()
Dgraph.cc70 draw_cfg_node (pretty_printer *pp, int funcdef_no, basic_block bb) in draw_cfg_node()
113 draw_cfg_node_succ_edges (pretty_printer *pp, int funcdef_no, basic_block bb) in draw_cfg_node_succ_edges()
167 draw_cfg_nodes_no_loops (pretty_printer *pp, struct function *fun) in draw_cfg_nodes_no_loops()
200 draw_cfg_nodes_for_loop (pretty_printer *pp, int funcdef_no, in draw_cfg_nodes_for_loop()
249 draw_cfg_nodes (pretty_printer *pp, struct function *fun) in draw_cfg_nodes()
262 draw_cfg_edges (pretty_printer *pp, struct function *fun) in draw_cfg_edges()
312 pretty_printer graph_slim_pp; in print_graph_cfg()
314 pretty_printer *const pp = &graph_slim_pp; in print_graph_cfg()
356 pretty_printer graph_slim_pp; in start_graph_dump()
358 pretty_printer *const pp = &graph_slim_pp; in start_graph_dump()
Dgimple-pretty-print.cc63 do_niy (pretty_printer *buffer, const gimple *gs) in do_niy()
73 newline_and_indent (pretty_printer *buffer, int spc) in newline_and_indent()
144 dump_edge_probability (pretty_printer *buffer, edge e) in dump_edge_probability()
155 pretty_printer buffer; in print_gimple_stmt()
186 pretty_printer buffer; in print_gimple_expr()
200 dump_gimple_seq (pretty_printer *buffer, gimple_seq seq, int spc, in dump_gimple_seq()
222 pretty_printer buffer; in print_gimple_seq()
252 dump_gimple_fmt (pretty_printer *buffer, int spc, dump_flags_t flags, in dump_gimple_fmt()
331 dump_unary_rhs (pretty_printer *buffer, const gassign *gs, int spc, in dump_unary_rhs()
427 dump_binary_rhs (pretty_printer *buffer, const gassign *gs, int spc, in dump_binary_rhs()
[all …]
Dprint-rtl.h86 extern void print_value (pretty_printer *, const_rtx, int);
87 extern void print_pattern (pretty_printer *, const_rtx, int);
88 extern void print_insn (pretty_printer *pp, const rtx_insn *x, int verbose);
89 extern void print_insn_with_notes (pretty_printer *, const rtx_insn *);
91 extern void rtl_dump_bb_for_graph (pretty_printer *, basic_block);
Dtree-diagnostic-path.cc65 pretty_printer pp; in get_text()
176 pretty_printer *pp = dc->printer; in print()
241 write_indent (pretty_printer *pp, int spaces) in write_indent()
253 print_fndecl (pretty_printer *pp, tree fndecl, bool quoted) in print_fndecl()
301 pretty_printer *pp = dc->printer; in print_path_summary_as_text()
364 pretty_printer tmp_pp; in print_path_summary_as_text()
538 test_diagnostic_path (pretty_printer *event_pp) in test_diagnostic_path()
566 test_empty_path (pretty_printer *event_pp) in test_empty_path()
583 test_intraprocedural_path (pretty_printer *event_pp) in test_intraprocedural_path()
611 test_interprocedural_path_1 (pretty_printer *event_pp) in test_interprocedural_path_1()
[all …]
Dgraphviz.h31 graphviz_out (pretty_printer *pp);
52 pretty_printer *get_pp () const { return m_pp; } in get_pp()
55 pretty_printer *m_pp;
Dedit-context.cc54 diff (pretty_printer *pp, bool show_filenames) in diff()
57 pretty_printer *m_pp;
88 bool print_content (pretty_printer *pp);
89 void print_diff (pretty_printer *pp, bool show_filenames);
90 int print_diff_hunk (pretty_printer *pp, int old_start_of_hunk,
99 void print_run_of_changed_lines (pretty_printer *pp,
160 void print_content (pretty_printer *pp) const;
161 void print_diff_lines (pretty_printer *pp) const;
204 print_diff_line (pretty_printer *pp, char prefix_char,
273 pretty_printer pp; in generate_diff()
[all …]
Ddump-context.h146 pretty_printer *m_test_pp;
161 class dump_pretty_printer : public pretty_printer
180 static bool format_decoder_cb (pretty_printer *pp, text_info *text,
239 pretty_printer m_pp;
Dgimple-pretty-print.h34 extern void pp_gimple_stmt_1 (pretty_printer *, const gimple *, int,
37 extern void gimple_dump_bb_for_graph (pretty_printer *, basic_block);
Ddiagnostic.cc178 context->printer = XNEW (pretty_printer); in diagnostic_initialize()
179 new (context->printer) pretty_printer (); in diagnostic_initialize()
326 context->printer->~pretty_printer (); in diagnostic_finish()
458 pretty_printer *pp = context->printer; in diagnostic_get_location_text()
494 pretty_printer *pp = context->printer; in diagnostic_build_prefix()
965 print_escaped_string (pretty_printer *pp, const char *text) in print_escaped_string()
1013 print_parseable_fixits (pretty_printer *pp, rich_location *richloc, in print_parseable_fixits()
1156 pretty_printer *pp = context->printer; in print_any_cwe()
1197 pretty_printer *pp = context->printer; in print_option_information()
2107 pretty_printer *pp = m_event_pp; in add_event()
[all …]
Ddigraph.h91 void dump_dot_to_pp (pretty_printer *pp,
146 digraph<GraphTraits>::dump_dot_to_pp (pretty_printer *pp, in dump_dot_to_pp()
201 pretty_printer pp; in dump_dot_to_file()
Ddiagnostic-path.h130 simple_diagnostic_path (pretty_printer *event_pp) in simple_diagnostic_path()
144 pretty_printer *m_event_pp;
Dsplay-tree-utils.h120 static void print (pretty_printer *pp, node_type node, Printer printer);
136 static void print (pretty_printer *pp, node_type node, Printer printer,
335 void print (pretty_printer *pp, Printer printer) const;
Dtree-pretty-print.cc53 static void newline_and_indent (pretty_printer *, int);
55 static void print_struct_decl (pretty_printer *, const_tree, int, dump_flags_t);
56 static void do_niy (pretty_printer *, const_tree, int, dump_flags_t);
63 static pretty_printer *tree_pp;
68 do_niy (pretty_printer *pp, const_tree node, int spc, dump_flags_t flags) in do_niy()
183 pretty_printer pp; in print_generic_expr_to_str()
194 dump_fancy_name (pretty_printer *pp, tree name) in dump_fancy_name()
271 dump_decl_name (pretty_printer *pp, tree node, dump_flags_t flags) in dump_decl_name()
342 dump_function_name (pretty_printer *pp, tree node, dump_flags_t flags) in dump_function_name()
365 dump_function_declaration (pretty_printer *pp, tree node, in dump_function_declaration()
[all …]
Dgcc-rich-location.cc172 pretty_printer tmp_pp; in add_fixit_insert_formatted()
173 pretty_printer *pp = &tmp_pp; in add_fixit_insert_formatted()
Dcfghooks.h83 void (*dump_bb_for_graph) (pretty_printer *, basic_block);
218 extern void dump_bb_for_graph (pretty_printer *, basic_block);
Dprint-rtl.cc1300 print_exp (pretty_printer *pp, const_rtx x, int verbose) in print_exp()
1658 print_value (pretty_printer *pp, const_rtx x, int verbose) in print_value()
1773 print_pattern (pretty_printer *pp, const_rtx x, int verbose) in print_pattern()
1908 print_insn (pretty_printer *pp, const rtx_insn *x, int verbose) in print_insn()
2043 print_insn_with_notes (pretty_printer *pp, const rtx_insn *x) in print_insn_with_notes()
2070 pretty_printer rtl_slim_pp; in dump_value_slim()
2081 pretty_printer rtl_slim_pp; in dump_insn_slim()
2095 pretty_printer rtl_slim_pp; in dump_rtl_slim()
2115 rtl_dump_bb_for_graph (pretty_printer *pp, basic_block bb) in rtl_dump_bb_for_graph()
2143 pretty_printer rtl_slim_pp; in str_pattern_slim()
Doptinfo-emit-json.cc105 pretty_printer pp; in write()
222 pretty_printer pp; in get_id_value_for_pass()
469 pretty_printer pp; in test_building_json_from_dump_calls()
Dsplay-tree-utils.cc98 auto print_node = [](pretty_printer *pp, splay_tree_node<int> *node) in test_print()
102 pretty_printer pp; in test_print()
Dedit-context.h56 void print_diff (pretty_printer *pp, bool show_filenames);
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dvarobj.c132 PyObject *pretty_printer = NULL; member
517 if (var->dynamic->pretty_printer != NULL) in varobj_get_display_hint()
518 result = gdbpy_get_display_hint (var->dynamic->pretty_printer); in varobj_get_display_hint()
646 if (var->dynamic->pretty_printer) in varobj_get_iterator()
650 return py_varobj_get_iterator (var, var->dynamic->pretty_printer, &opts); in varobj_get_iterator()
929 return var->dynamic->pretty_printer != NULL; in varobj_is_dynamic_p()
1024 Py_XDECREF (var->pretty_printer); in install_visualizer()
1025 var->pretty_printer = visualizer; in install_visualizer()
1041 gdbpy_ref<> pretty_printer; in install_default_visualizer() local
1045 pretty_printer = gdbpy_get_varobj_pretty_printer (var->value.get ()); in install_default_visualizer()
[all …]

123