Lines Matching refs:indent
997 unsigned indent) in annotate() argument
1007 do_indent(o, indent); in annotate()
1030 unsigned indent) in annotate() argument
1040 do_indent(o, indent); in annotate()
1061 unsigned indent) in annotate() argument
1071 do_indent(o, indent); in annotate()
1097 unsigned indent) in annotate() argument
1107 do_indent(o, indent); in annotate()
1142 unsigned indent) in annotate() argument
1152 do_indent(o, indent); in annotate()
1192 unsigned indent) in annotate() argument
1202 do_indent(o, indent); in annotate()
1880 write_type(const type_base_sptr& type, write_context& ctxt, unsigned indent) in write_type() argument
1883 ctxt, indent) in write_type()
1886 ctxt, indent) in write_type()
1888 ctxt, indent) in write_type()
1890 <reference_type_def>(type), ctxt, indent) in write_type()
1892 <array_type_def>(type), ctxt, indent) in write_type()
1894 ctxt, indent) in write_type()
1896 ctxt, indent) in write_type()
1897 || write_class_decl(is_class_type(type), ctxt, indent) in write_type()
1898 || write_union_decl(is_union_type(type), ctxt, indent) in write_type()
1900 (dynamic_pointer_cast<function_tdecl>(type), ctxt, indent)) in write_type()
1902 (dynamic_pointer_cast<class_tdecl>(type), ctxt, indent))) in write_type()
1920 write_decl(const decl_base_sptr& decl, write_context& ctxt, unsigned indent) in write_decl() argument
1923 ctxt, indent) in write_decl()
1925 ctxt, indent) in write_decl()
1928 ctxt, indent) in write_decl()
1930 ctxt, indent) in write_decl()
1932 <reference_type_def>(decl), ctxt, indent) in write_decl()
1934 <array_type_def>(decl), ctxt, indent) in write_decl()
1936 ctxt, indent) in write_decl()
1938 ctxt, indent) in write_decl()
1940 /*write_linkage_name=*/true, indent) in write_decl()
1943 indent) in write_decl()
1945 ctxt, /*skip_first_parameter=*/false, indent) in write_decl()
1946 || write_class_decl(is_class_type(decl), ctxt, indent) in write_decl()
1947 || write_union_decl(is_union_type(decl), ctxt, indent) in write_decl()
1949 (dynamic_pointer_cast<function_tdecl>(decl), ctxt, indent)) in write_decl()
1951 (dynamic_pointer_cast<class_tdecl>(decl), ctxt, indent))) in write_decl()
1989 unsigned indent = initial_indent; in write_decl_in_scope() local
1999 do_indent(o, indent); in write_decl_in_scope()
2004 closing_indents.push(indent); in write_decl_in_scope()
2011 write_class_decl_opening_tag(class_type, "", ctxt, indent, in write_decl_in_scope()
2014 closing_indents.push(indent); in write_decl_in_scope()
2016 unsigned nb_ws = get_indent_to_level(ctxt, indent, 1); in write_decl_in_scope()
2018 indent = nb_ws; in write_decl_in_scope()
2025 write_union_decl_opening_tag(union_type, "", ctxt, indent, in write_decl_in_scope()
2028 closing_indents.push(indent); in write_decl_in_scope()
2030 unsigned nb_ws = get_indent_to_level(ctxt, indent, 1); in write_decl_in_scope()
2032 indent = nb_ws; in write_decl_in_scope()
2039 indent += c.get_xml_element_indent(); in write_decl_in_scope()
2042 write_decl(decl, ctxt, indent); in write_decl_in_scope()
2218 const unsigned indent, in write_canonical_types_of_scope() argument
2229 write_member_type(*i, ctxt, indent); in write_canonical_types_of_scope()
2231 write_type(*i, ctxt, indent); in write_canonical_types_of_scope()
2280 const unsigned indent, in write_referenced_types() argument
2335 indent + c.get_xml_element_indent()); in write_referenced_types()
2341 indent + c.get_xml_element_indent()); in write_referenced_types()
2395 const unsigned indent, in write_translation_unit() argument
2409 do_indent(o, indent); in write_translation_unit()
2440 ctxt, indent + c.get_xml_element_indent()); in write_translation_unit()
2457 indent + c.get_xml_element_indent()); in write_translation_unit()
2460 write_type(t, ctxt, indent + c.get_xml_element_indent()); in write_translation_unit()
2465 write_decl(decl, ctxt, indent + c.get_xml_element_indent()); in write_translation_unit()
2469 write_referenced_types(ctxt, tu, indent, is_last); in write_translation_unit()
2490 write_function_type(fn_type, ctxt, indent + c.get_xml_element_indent()); in write_translation_unit()
2495 write_referenced_types(ctxt, tu, indent, is_last); in write_translation_unit()
2497 do_indent(o, indent); in write_translation_unit()
2516 write_type_decl(const type_decl_sptr& d, write_context& ctxt, unsigned indent) in write_type_decl() argument
2523 annotate(d, ctxt, indent); in write_type_decl()
2525 do_indent(o, indent); in write_type_decl()
2557 write_context& ctxt, unsigned indent) in write_namespace_decl() argument
2565 annotate(decl, ctxt, indent); in write_namespace_decl()
2567 do_indent(o, indent); in write_namespace_decl()
2578 indent + c.get_xml_element_indent()); in write_namespace_decl()
2587 write_decl(*i, ctxt, indent + c.get_xml_element_indent()); in write_namespace_decl()
2590 do_indent(o, indent); in write_namespace_decl()
2618 unsigned indent) in write_qualified_type_def() argument
2628 annotate(decl, ctxt, indent); in write_qualified_type_def()
2630 do_indent(o, indent); in write_qualified_type_def()
2670 unsigned indent) in write_qualified_type_def() argument
2671 {return write_qualified_type_def(decl, "", ctxt, indent);} in write_qualified_type_def()
2694 unsigned indent) in write_pointer_type_def() argument
2704 annotate(decl->get_canonical_type(), ctxt, indent); in write_pointer_type_def()
2706 do_indent(o, indent); in write_pointer_type_def()
2745 unsigned indent) in write_pointer_type_def() argument
2746 {return write_pointer_type_def(decl, "", ctxt, indent);} in write_pointer_type_def()
2769 unsigned indent) in write_reference_type_def() argument
2774 annotate(decl->get_canonical_type(), ctxt, indent); in write_reference_type_def()
2778 do_indent(o, indent); in write_reference_type_def()
2827 unsigned indent) in write_reference_type_def() argument
2828 {return write_reference_type_def(decl, "", ctxt, indent);} in write_reference_type_def()
2842 unsigned indent) in write_array_subrange_type() argument
2847 annotate(decl, ctxt, indent); in write_array_subrange_type()
2851 do_indent(o, indent); in write_array_subrange_type()
2917 unsigned indent) in write_array_type_def() argument
2922 annotate(decl, ctxt, indent); in write_array_type_def()
2926 do_indent(o, indent); in write_array_type_def()
2957 indent + ctxt.get_config().get_xml_element_indent(); in write_array_type_def()
2961 do_indent(o, indent); in write_array_type_def()
2982 unsigned indent) in write_array_type_def() argument
2983 {return write_array_type_def(decl, "", ctxt, indent);} in write_array_type_def()
3006 unsigned indent) in write_enum_type_decl() argument
3013 annotate(decl->get_canonical_type(), ctxt, indent); in write_enum_type_decl()
3017 do_indent(o, indent); in write_enum_type_decl()
3038 do_indent(o, indent + ctxt.get_config().get_xml_element_indent()); in write_enum_type_decl()
3048 do_indent(o, indent + ctxt.get_config().get_xml_element_indent()); in write_enum_type_decl()
3056 do_indent(o, indent); in write_enum_type_decl()
3076 unsigned indent) in write_enum_type_decl() argument
3077 {return write_enum_type_decl(decl, "", ctxt, indent);} in write_enum_type_decl()
3092 unsigned indent) in write_elf_symbol() argument
3099 annotate(sym, ctxt, indent); in write_elf_symbol()
3100 do_indent(o, indent); in write_elf_symbol()
3160 unsigned indent) in write_elf_symbols_table() argument
3166 write_elf_symbol(*it, ctxt, indent); in write_elf_symbols_table()
3184 unsigned indent) in write_elf_needed() argument
3195 do_indent(o, indent); in write_elf_needed()
3222 unsigned indent) in write_typedef_decl() argument
3229 annotate(decl, ctxt, indent); in write_typedef_decl()
3231 do_indent(o, indent); in write_typedef_decl()
3267 unsigned indent) in write_typedef_decl() argument
3268 {return write_typedef_decl(decl, "", ctxt, indent);} in write_typedef_decl()
3284 bool write_linkage_name, unsigned indent) in write_var_decl() argument
3289 annotate(decl, ctxt, indent); in write_var_decl()
3293 do_indent(o, indent); in write_var_decl()
3336 bool skip_first_parm, unsigned indent) in write_function_decl() argument
3341 annotate(decl, ctxt, indent); in write_function_decl()
3345 do_indent(o, indent); in write_function_decl()
3382 do_indent(o, indent + ctxt.get_config().get_xml_element_indent()); in write_function_decl()
3390 indent + ctxt.get_config().get_xml_element_indent()); in write_function_decl()
3392 do_indent(o, indent + ctxt.get_config().get_xml_element_indent()); in write_function_decl()
3410 indent + ctxt.get_config().get_xml_element_indent()); in write_function_decl()
3411 do_indent(o, indent + ctxt.get_config().get_xml_element_indent()); in write_function_decl()
3416 do_indent(o, indent); in write_function_decl()
3435 write_context& ctxt, unsigned indent) in write_function_type() argument
3442 annotate(fn_type, ctxt, indent); in write_function_type()
3444 do_indent(o, indent); in write_function_type()
3480 do_indent(o, indent + ctxt.get_config().get_xml_element_indent()); in write_function_type()
3487 annotate(*pi, ctxt, indent + ctxt.get_config().get_xml_element_indent()); in write_function_type()
3489 do_indent(o, indent + ctxt.get_config().get_xml_element_indent()); in write_function_type()
3507 annotate(return_type, ctxt, indent + ctxt.get_config().get_xml_element_indent()); in write_function_type()
3508 do_indent(o, indent + ctxt.get_config().get_xml_element_indent()); in write_function_type()
3513 do_indent(o, indent); in write_function_type()
3541 unsigned indent, in write_class_decl_opening_tag() argument
3549 do_indent_to_level(ctxt, indent, 0); in write_class_decl_opening_tag()
3613 unsigned indent, in write_union_decl_opening_tag() argument
3621 do_indent_to_level(ctxt, indent, 0); in write_union_decl_opening_tag()
3674 unsigned indent) in write_class_decl() argument
3681 annotate(decl, ctxt, indent); in write_class_decl()
3726 write_class_decl_opening_tag(decl, id, ctxt, indent, in write_class_decl()
3733 unsigned nb_ws = get_indent_to_level(ctxt, indent, 1); in write_class_decl()
3740 o << indent << "</class-decl>\n"; in write_class_decl()
3751 write_class_decl_opening_tag(decl, id, ctxt, indent, in write_class_decl()
3756 unsigned nb_ws = get_indent_to_level(ctxt, indent, 1); in write_class_decl()
3811 get_indent_to_level(ctxt, indent, 2)); in write_class_decl()
3813 do_indent_to_level(ctxt, indent, 1); in write_class_decl()
3842 get_indent_to_level(ctxt, indent, 2)); in write_class_decl()
3844 do_indent_to_level(ctxt, indent, 1); in write_class_decl()
3870 get_indent_to_level(ctxt, indent, 2)); in write_class_decl()
3872 do_indent_to_level(ctxt, indent, 1); in write_class_decl()
3890 get_indent_to_level(ctxt, indent, 2)); in write_class_decl()
3907 get_indent_to_level(ctxt, indent, 2)); in write_class_decl()
3912 do_indent_to_level(ctxt, indent, 0); in write_class_decl()
3934 unsigned indent) in write_class_decl() argument
3935 {return write_class_decl(decl, "", ctxt, indent);} in write_class_decl()
3950 unsigned indent) in write_union_decl() argument
3957 annotate(decl, ctxt, indent); in write_union_decl()
3961 write_union_decl_opening_tag(decl, id, ctxt, indent, in write_union_decl()
3965 unsigned nb_ws = get_indent_to_level(ctxt, indent, 1); in write_union_decl()
3994 get_indent_to_level(ctxt, indent, 2)); in write_union_decl()
3996 do_indent_to_level(ctxt, indent, 1); in write_union_decl()
4025 get_indent_to_level(ctxt, indent, 2)); in write_union_decl()
4027 do_indent_to_level(ctxt, indent, 1); in write_union_decl()
4045 get_indent_to_level(ctxt, indent, 2)); in write_union_decl()
4062 get_indent_to_level(ctxt, indent, 2)); in write_union_decl()
4067 do_indent_to_level(ctxt, indent, 0); in write_union_decl()
4080 unsigned indent) in write_union_decl() argument
4081 {return write_union_decl(decl, "", ctxt, indent);} in write_union_decl()
4095 unsigned indent) in write_member_type_opening_tag() argument
4099 do_indent_to_level(ctxt, indent, 0); in write_member_type_opening_tag()
4124 write_member_type(const type_base_sptr& t, write_context& ctxt, unsigned indent) in write_member_type() argument
4131 write_member_type_opening_tag(t, ctxt, indent); in write_member_type()
4135 unsigned nb_ws = get_indent_to_level(ctxt, indent, 1); in write_member_type()
4153 do_indent_to_level(ctxt, indent, 0); in write_member_type()
4171 unsigned indent) in write_type_tparameter() argument
4177 do_indent_to_level(ctxt, indent, 0); in write_type_tparameter()
4213 write_context& ctxt, unsigned indent) in write_non_type_tparameter() argument
4219 do_indent_to_level(ctxt, indent, 0); in write_non_type_tparameter()
4249 unsigned indent) in write_template_tparameter() argument
4255 do_indent_to_level(ctxt, indent, 0); in write_template_tparameter()
4270 unsigned nb_spaces = get_indent_to_level(ctxt, indent, 1); in write_template_tparameter()
4277 do_indent_to_level(ctxt, indent, 0); in write_template_tparameter()
4297 write_context& ctxt, unsigned indent) in write_type_composition() argument
4304 do_indent_to_level(ctxt, indent, 0); in write_type_composition()
4308 unsigned nb_spaces = get_indent_to_level(ctxt, indent, 1); in write_type_composition()
4322 do_indent_to_level(ctxt, indent, 0); in write_type_composition()
4339 write_context& ctxt, unsigned indent) in write_template_parameter() argument
4342 (dynamic_pointer_cast<type_tparameter>(decl), ctxt, indent)) in write_template_parameter()
4345 ctxt, indent)) in write_template_parameter()
4348 ctxt, indent)) in write_template_parameter()
4351 ctxt, indent))) in write_template_parameter()
4362 write_context& ctxt, unsigned indent) in write_template_parameters() argument
4367 unsigned nb_spaces = get_indent_to_level(ctxt, indent, 1); in write_template_parameters()
4384 write_context& ctxt, unsigned indent) in write_function_tdecl() argument
4391 do_indent_to_level(ctxt, indent, 0); in write_function_tdecl()
4403 write_template_parameters(decl, ctxt, indent); in write_function_tdecl()
4407 get_indent_to_level(ctxt, indent, 1)); in write_function_tdecl()
4409 do_indent_to_level(ctxt, indent, 0); in write_function_tdecl()
4429 write_context& ctxt, unsigned indent) in write_class_tdecl() argument
4436 do_indent_to_level(ctxt, indent, 0); in write_class_tdecl()
4446 write_template_parameters(decl, ctxt, indent); in write_class_tdecl()
4449 get_indent_to_level(ctxt, indent, 1)); in write_class_tdecl()
4451 do_indent_to_level(ctxt, indent, 0); in write_class_tdecl()
4490 unsigned indent, in write_corpus() argument
4499 do_indent_to_level(ctxt, indent, 0); in write_corpus()
4540 do_indent_to_level(ctxt, indent, 1); in write_corpus()
4543 get_indent_to_level(ctxt, indent, 2)); in write_corpus()
4544 do_indent_to_level(ctxt, indent, 1); in write_corpus()
4551 do_indent_to_level(ctxt, indent, 1); in write_corpus()
4555 get_indent_to_level(ctxt, indent, 2)); in write_corpus()
4557 do_indent_to_level(ctxt, indent, 1); in write_corpus()
4564 do_indent_to_level(ctxt, indent, 1); in write_corpus()
4568 get_indent_to_level(ctxt, indent, 2)); in write_corpus()
4570 do_indent_to_level(ctxt, indent, 1); in write_corpus()
4583 get_indent_to_level(ctxt, indent, 1), in write_corpus()
4587 do_indent_to_level(ctxt, indent, 0); in write_corpus()
4608 unsigned indent) in write_corpus_group() argument
4614 do_indent_to_level(ctxt, indent, 0); in write_corpus_group()
4642 write_corpus(ctxt, *c, get_indent_to_level(ctxt, indent, 1), true); in write_corpus_group()
4644 do_indent_to_level(ctxt, indent, 0); in write_corpus_group()