Home
last modified time | relevance | path

Searched refs:xloc (Results 1 – 25 of 40) sorted by relevance

12

/dragonfly/contrib/gcc-4.7/gcc/
HDinput.c40 expanded_location xloc; in expand_location() local
45 xloc = linemap_expand_location (line_table, map, loc); in expand_location()
48 xloc.file = loc == UNKNOWN_LOCATION ? NULL : _("<built-in>"); in expand_location()
50 return xloc; in expand_location()
HDlto-streamer-out.c156 expanded_location xloc; in lto_output_location_bitpack() local
162 xloc = expand_location (loc); in lto_output_location_bitpack()
164 bp_pack_value (bp, ob->current_file != xloc.file, 1); in lto_output_location_bitpack()
165 if (ob->current_file != xloc.file) in lto_output_location_bitpack()
167 streamer_string_index (ob, xloc.file, in lto_output_location_bitpack()
168 strlen (xloc.file) + 1, in lto_output_location_bitpack()
170 ob->current_file = xloc.file; in lto_output_location_bitpack()
172 bp_pack_value (bp, ob->current_line != xloc.line, 1); in lto_output_location_bitpack()
173 if (ob->current_line != xloc.line) in lto_output_location_bitpack()
174 bp_pack_var_len_unsigned (bp, xloc.line); in lto_output_location_bitpack()
[all …]
HDtree-mudflap.c126 expanded_location xloc = expand_location (DECL_SOURCE_LOCATION (decl)); in mf_varname_tree() local
128 unsigned sourceline = xloc.line; in mf_varname_tree()
130 sourcecolumn = xloc.column; in mf_varname_tree()
131 sourcefile = xloc.file; in mf_varname_tree()
206 expanded_location xloc = expand_location (location); in mf_file_function_line_tree() local
213 file = xloc.file; in mf_file_function_line_tree()
219 if (xloc.line > 0) in mf_file_function_line_tree()
221 if (xloc.column > 0) in mf_file_function_line_tree()
222 sprintf (linecolbuf, "%d:%d", xloc.line, xloc.column); in mf_file_function_line_tree()
224 sprintf (linecolbuf, "%d", xloc.line); in mf_file_function_line_tree()
HDprint-tree.c223 expanded_location xloc; in print_node() local
505 xloc = expand_location (DECL_SOURCE_LOCATION (node)); in print_node()
506 fprintf (file, " file %s line %d col %d", xloc.file, xloc.line, in print_node()
507 xloc.column); in print_node()
987 expanded_location xloc = expand_location (EXPR_LOCATION (node)); in print_node() local
989 fprintf (file, "%s:%d:%d", xloc.file, xloc.line, xloc.column); in print_node()
HDc-aux-info.c533 expanded_location xloc = expand_location (DECL_SOURCE_LOCATION (fndecl)); in gen_aux_info_record() local
549 xloc.file, xloc.line, in gen_aux_info_record()
HDcoverage.c522 expanded_location xloc in coverage_compute_lineno_checksum() local
524 unsigned chksum = xloc.line; in coverage_compute_lineno_checksum()
526 chksum = coverage_checksum_string (chksum, xloc.file); in coverage_compute_lineno_checksum()
569 expanded_location xloc; in coverage_begin_function() local
577 xloc = expand_location (DECL_SOURCE_LOCATION (current_function_decl)); in coverage_begin_function()
586 gcov_write_string (xloc.file); in coverage_begin_function()
587 gcov_write_unsigned (xloc.line); in coverage_begin_function()
HDtree-dump.c348 expanded_location xloc; in dequeue_and_dump() local
361 xloc = expand_location (DECL_SOURCE_LOCATION (t)); in dequeue_and_dump()
362 if (xloc.file) in dequeue_and_dump()
364 const char *filename = lbasename (xloc.file); in dequeue_and_dump()
368 xloc.line); in dequeue_and_dump()
HDcfglayout.c538 expanded_location xloc; in locator_line() local
542 xloc = expand_location (locator_location (loc)); in locator_line()
543 return xloc.line; in locator_line()
557 expanded_location xloc; in locator_file() local
561 xloc = expand_location (locator_location (loc)); in locator_file()
562 return xloc.file; in locator_file()
HDgimple-pretty-print.c1618 expanded_location xloc; in dump_gimple_phi() local
1620 xloc = expand_location (gimple_phi_arg_location (phi, i)); in dump_gimple_phi()
1622 if (xloc.file) in dump_gimple_phi()
1624 pp_string (buffer, xloc.file); in dump_gimple_phi()
1627 pp_decimal_int (buffer, xloc.line); in dump_gimple_phi()
1629 pp_decimal_int (buffer, xloc.column); in dump_gimple_phi()
1858 expanded_location xloc = expand_location (gimple_location (gs)); in dump_gimple_stmt() local
1860 if (xloc.file) in dump_gimple_stmt()
1862 pp_string (buffer, xloc.file); in dump_gimple_stmt()
1865 pp_decimal_int (buffer, xloc.line); in dump_gimple_stmt()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
HDprint-tree.c181 expanded_location xloc; in print_node() local
448 xloc = expand_location (DECL_SOURCE_LOCATION (node)); in print_node()
449 fprintf (file, " %s:%d:%d", xloc.file, xloc.line, in print_node()
450 xloc.column); in print_node()
966 expanded_location xloc = expand_location (EXPR_LOCATION (node)); in print_node() local
968 fprintf (file, "%s:%d:%d", xloc.file, xloc.line, xloc.column); in print_node()
974 xloc = expand_location (r.m_start); in print_node()
975 fprintf (file, " start: %s:%d:%d", xloc.file, xloc.line, xloc.column); in print_node()
983 xloc = expand_location (r.m_finish); in print_node()
984 fprintf (file, " finish: %s:%d:%d", xloc.file, xloc.line, xloc.column); in print_node()
HDcoverage.c556 expanded_location xloc in coverage_compute_lineno_checksum() local
558 unsigned chksum = xloc.line; in coverage_compute_lineno_checksum()
560 if (xloc.file) in coverage_compute_lineno_checksum()
561 chksum = coverage_checksum_string (chksum, xloc.file); in coverage_compute_lineno_checksum()
583 expanded_location xloc in coverage_compute_profile_id() local
587 chksum = (use_name_only ? 0 : xloc.line); in coverage_compute_profile_id()
588 if (xloc.file) in coverage_compute_profile_id()
589 chksum = coverage_checksum_string (chksum, xloc.file); in coverage_compute_profile_id()
641 expanded_location xloc; in coverage_begin_function() local
649 xloc = expand_location (DECL_SOURCE_LOCATION (current_function_decl)); in coverage_begin_function()
[all …]
HDtree-dump.c336 expanded_location xloc; in dequeue_and_dump() local
350 xloc = expand_location (DECL_SOURCE_LOCATION (t)); in dequeue_and_dump()
351 if (xloc.file) in dequeue_and_dump()
353 const char *filename = lbasename (xloc.file); in dequeue_and_dump()
357 xloc.line); in dequeue_and_dump()
HDubsan.c291 expanded_location xloc; in ubsan_source_location() local
294 xloc = expand_location (loc); in ubsan_source_location()
296 if (xloc.file == NULL) in ubsan_source_location()
299 xloc.line = 0; in ubsan_source_location()
300 xloc.column = 0; in ubsan_source_location()
305 size_t len = strlen (xloc.file) + 1; in ubsan_source_location()
306 str = build_string (len, xloc.file); in ubsan_source_location()
314 xloc.line), NULL_TREE, in ubsan_source_location()
316 xloc.column)); in ubsan_source_location()
1779 expanded_location xloc = expand_location (loc); in ubsan_use_new_style_p() local
[all …]
HDlto-streamer-out.c167 expanded_location xloc; in lto_output_location() local
176 xloc = expand_location (loc); in lto_output_location()
178 bp_pack_value (bp, ob->current_file != xloc.file, 1); in lto_output_location()
179 bp_pack_value (bp, ob->current_line != xloc.line, 1); in lto_output_location()
180 bp_pack_value (bp, ob->current_col != xloc.column, 1); in lto_output_location()
182 if (ob->current_file != xloc.file) in lto_output_location()
184 bp_pack_string (ob, bp, xloc.file, true); in lto_output_location()
185 bp_pack_value (bp, xloc.sysp, 1); in lto_output_location()
187 ob->current_file = xloc.file; in lto_output_location()
188 ob->current_sysp = xloc.sysp; in lto_output_location()
[all …]
HDdiagnostic.c1664 expanded_location xloc; in assert_location_text() local
1665 xloc.file = filename; in assert_location_text()
1666 xloc.line = line; in assert_location_text()
1667 xloc.column = column; in assert_location_text()
1668 xloc.data = NULL; in assert_location_text()
1669 xloc.sysp = false; in assert_location_text()
1671 char *actual_loc_text = diagnostic_get_location_text (&dc, xloc); in assert_location_text()
HDprint-rtl.c281 expanded_location xloc in print_rtx_operand_code_0() local
283 fprintf (m_outfile, " %s:%i", xloc.file, xloc.line); in print_rtx_operand_code_0()
400 expanded_location xloc = insn_location (in_insn); in print_rtx_operand_code_i() local
401 fprintf (m_outfile, " \"%s\":%i", xloc.file, xloc.line); in print_rtx_operand_code_i()
HDinput.c159 expanded_location xloc; in expand_location_1() local
170 memset (&xloc, 0, sizeof (xloc)); in expand_location_1()
217 xloc = linemap_expand_location (line_table, map, loc); in expand_location_1()
220 xloc.data = block; in expand_location_1()
222 xloc.file = loc == UNKNOWN_LOCATION ? NULL : _("<built-in>"); in expand_location_1()
224 return xloc; in expand_location_1()
263 expanded_location xloc = expand_location (l); in total_lines_num() local
264 r = xloc.line; in total_lines_num()
/dragonfly/contrib/gcc-4.7/libcpp/
HDline-map.c1125 expanded_location xloc; in linemap_expand_location() local
1127 memset (&xloc, 0, sizeof (xloc)); in linemap_expand_location()
1147 xloc.file = LINEMAP_FILE (map); in linemap_expand_location()
1148 xloc.line = SOURCE_LINE (map, loc); in linemap_expand_location()
1149 xloc.column = SOURCE_COLUMN (map, loc); in linemap_expand_location()
1150 xloc.sysp = LINEMAP_SYSP (map) != 0; in linemap_expand_location()
1153 return xloc; in linemap_expand_location()
/dragonfly/contrib/gcc-4.7/gcc/cp/
HDerror.c3025 expanded_location xloc; in print_instantiation_partial_context_line() local
3026 xloc = expand_location (loc); in print_instantiation_partial_context_line()
3030 xloc.file, xloc.line, xloc.column); in print_instantiation_partial_context_line()
3033 xloc.file, xloc.line); in print_instantiation_partial_context_line()
3093 expanded_location xloc; in print_instantiation_partial_context() local
3094 xloc = expand_location (loc); in print_instantiation_partial_context()
3098 xloc.file, xloc.line, xloc.column, skip); in print_instantiation_partial_context()
3102 xloc.file, xloc.line, skip); in print_instantiation_partial_context()
3159 expanded_location xloc = expand_location (EXPR_LOCATION (t)); in maybe_print_constexpr_context() local
3164 xloc.file, xloc.line, xloc.column, s); in maybe_print_constexpr_context()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/c/
HDc-aux-info.c534 expanded_location xloc = expand_location (DECL_SOURCE_LOCATION (fndecl)); in gen_aux_info_record() local
550 xloc.file, xloc.line, in gen_aux_info_record()
HDgimple-parser.c1580 location_t xloc = c_parser_peek_token (parser)->location; in c_parser_gimple_return_stmt() local
1584 c_finish_gimple_return (xloc, expr.value); in c_parser_gimple_return_stmt()
1600 source_location xloc = expansion_point_location_if_in_system_header (loc); in c_finish_gimple_return() local
1603 warning_at (xloc, 0, in c_finish_gimple_return()
1614 (xloc, "%<return%> with a value, in function returning void"); in c_finish_gimple_return()
1622 (xloc, "invalid conversion in return statement"); in c_finish_gimple_return()
/dragonfly/contrib/gcc-8.0/gcc/cp/
HDerror.c3489 expanded_location xloc = expand_location (loc); in print_instantiation_partial_context_line() local
3493 "locus", xloc.file, xloc.line, xloc.column); in print_instantiation_partial_context_line()
3496 "locus", xloc.file, xloc.line); in print_instantiation_partial_context_line()
3566 expanded_location xloc; in print_instantiation_partial_context() local
3567 xloc = expand_location (loc); in print_instantiation_partial_context()
3573 "locus", xloc.file, xloc.line, xloc.column, skip); in print_instantiation_partial_context()
3579 "locus", xloc.file, xloc.line, skip); in print_instantiation_partial_context()
3626 expanded_location xloc = expand_location (EXPR_LOCATION (t)); in maybe_print_constexpr_context() local
3631 "locus", xloc.file, xloc.line, xloc.column, s); in maybe_print_constexpr_context()
3635 "locus", xloc.file, xloc.line, s); in maybe_print_constexpr_context()
/dragonfly/contrib/gcc-8.0/libcpp/
HDline-map.c1731 expanded_location xloc; in linemap_expand_location() local
1733 memset (&xloc, 0, sizeof (xloc)); in linemap_expand_location()
1736 xloc.data in linemap_expand_location()
1761 xloc.file = LINEMAP_FILE (ord_map); in linemap_expand_location()
1762 xloc.line = SOURCE_LINE (ord_map, loc); in linemap_expand_location()
1763 xloc.column = SOURCE_COLUMN (ord_map, loc); in linemap_expand_location()
1764 xloc.sysp = LINEMAP_SYSP (ord_map) != 0; in linemap_expand_location()
1767 return xloc; in linemap_expand_location()
/dragonfly/contrib/gcc-4.7/gcc/c-family/
HDc-ada-spec.c1196 expanded_location xloc = expand_location (decl_sloc (decl, false)); in pp_ada_tree_identifier() local
1198 if (xloc.file && xloc.line) in pp_ada_tree_identifier()
1200 if (xloc.file != source_file_base) in pp_ada_tree_identifier()
1217 char *s1 = get_ada_package (xloc.file); in pp_ada_tree_identifier()
1584 expanded_location xloc; in dump_sloc() local
1586 xloc.file = NULL; in dump_sloc()
1589 xloc = expand_location (DECL_SOURCE_LOCATION (node)); in dump_sloc()
1591 xloc = expand_location (EXPR_LOCATION (node)); in dump_sloc()
1593 if (xloc.file) in dump_sloc()
1595 pp_string (buffer, xloc.file); in dump_sloc()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/c-family/
HDc-ada-spec.c1343 expanded_location xloc = expand_location (decl_sloc (decl, false)); in pp_ada_tree_identifier() local
1345 if (xloc.file && xloc.line) in pp_ada_tree_identifier()
1347 if (xloc.file != current_source_file) in pp_ada_tree_identifier()
1364 char *s1 = get_ada_package (xloc.file); in pp_ada_tree_identifier()
1826 expanded_location xloc; in dump_sloc() local
1828 xloc.file = NULL; in dump_sloc()
1831 xloc = expand_location (DECL_SOURCE_LOCATION (node)); in dump_sloc()
1833 xloc = expand_location (EXPR_LOCATION (node)); in dump_sloc()
1835 if (xloc.file) in dump_sloc()
1837 pp_string (buffer, xloc.file); in dump_sloc()
[all …]

12