Home
last modified time | relevance | path

Searched refs:get_filename (Results 1 – 25 of 51) sorted by relevance

123

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dedit-context.c70 const char *get_filename () const { return m_filename; } in get_filename() function
911 auto_free <char *> result = edit.get_content (tmp.get_filename ()); in test_get_content()
922 auto_free <char *> result = edit.get_content (tmp.get_filename ()); in test_get_content()
935 auto_free <char *> result = edit.get_content (tmp.get_filename ()); in test_get_content()
955 const char *filename = tmp.get_filename (); in test_applying_fixits_insert_before()
957 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 2); in test_applying_fixits_insert_before()
1010 const char *filename = tmp.get_filename (); in test_applying_fixits_insert_after()
1012 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 2); in test_applying_fixits_insert_after()
1055 const char *filename = tmp.get_filename (); in test_applying_fixits_insert_after_at_line_end()
1057 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 2); in test_applying_fixits_insert_after_at_line_end()
[all …]
H A Dselftest.c189 FILE *out = fopen (get_filename (), "w"); in temp_source_file()
191 fail_formatted (loc, "unable to open tempfile: %s", get_filename ()); in temp_source_file()
367 FILE *f = fopen (t.get_filename (), "w"); in test_named_temp_file()
370 "unable to open %s for writing", t.get_filename ()); in test_named_temp_file()
381 char *buf = read_file (SELFTEST_LOCATION, t.get_filename ()); in test_read_file()
H A Ddiagnostic-show-locus.c2659 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 1); in test_layout_x_offset_display_utf8()
2667 ASSERT_STREQ (tmp.get_filename (), LOCATION_FILE (line_end)); in test_layout_x_offset_display_utf8()
2671 char_span lspan = location_get_source_line (tmp.get_filename (), 1); in test_layout_x_offset_display_utf8()
3350 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 1); in test_diagnostic_show_locus_one_liner()
3358 ASSERT_STREQ (tmp.get_filename (), LOCATION_FILE (line_end)); in test_diagnostic_show_locus_one_liner()
3874 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 1); in test_diagnostic_show_locus_one_liner_utf8()
3882 ASSERT_STREQ (tmp.get_filename (), LOCATION_FILE (line_end)); in test_diagnostic_show_locus_one_liner_utf8()
3886 char_span lspan = location_get_source_line (tmp.get_filename (), 1); in test_diagnostic_show_locus_one_liner_utf8()
3925 tmp.get_filename (), 0)); in test_add_location_if_nearby()
3989 tmp.get_filename (), 0)); in test_diagnostic_show_locus_fixit_lines()
[all …]
H A Drtl-tests.c68 FILE *outfile = fopen (tmp_out.get_filename (), "w"); in assert_rtl_dump_eq()
73 char *dump = read_file (SELFTEST_LOCATION, tmp_out.get_filename ()); in assert_rtl_dump_eq()
H A Dinput.c1894 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 1); in test_make_location_nonpure_range_endpoints()
1953 char_span source_line = location_get_source_line (tmp.get_filename (), 3); in test_reading_source_line()
1960 source_line = location_get_source_line (tmp.get_filename (), 2); in test_reading_source_line()
1967 source_line = location_get_source_line (tmp.get_filename (), 4); in test_reading_source_line()
2036 const char *fname = cpp_read_main_file (parser, tmp.get_filename ()); in test_lexer()
2048 ASSERT_TOKEN_LOC_EQ (tok, tmp.get_filename (), 1, 1, 9); in test_lexer()
2054 ASSERT_TOKEN_LOC_EQ (tok, tmp.get_filename (), 2, 35, 48); in test_lexer()
2060 ASSERT_TOKEN_LOC_EQ (tok, tmp.get_filename (), 4, 4, 5); in test_lexer()
2264 m_tempfile.get_filename ()); in lexer_test()
2444 ASSERT_TOKEN_LOC_EQ (tok, test.m_tempfile.get_filename (), 1, 9, 20); in test_lexer_string_locations_simple()
[all …]
H A Dread-md.c262 fprintf (stderr, "%s:%d:%d: error: ", md_reader_ptr->get_filename (), in fatal_with_file_and_line()
284 md_reader_ptr->get_filename (), in fatal_with_file_and_line()
585 get_filename (), get_lineno (), in read_escape()
H A Dfunction-tests.c659 FILE *outfile = fopen (tmp_out.get_filename (), "w"); in test_expansion_to_rtl()
663 char *dump = read_file (SELFTEST_LOCATION, tmp_out.get_filename ()); in test_expansion_to_rtl()
H A Dread-md.h221 const char *get_filename () const { return m_read_md_filename; } in get_filename() function
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dedit-context.cc70 const char *get_filename () const { return m_filename; } in get_filename() function in edited_file
917 auto_free <char *> result = edit.get_content (tmp.get_filename ()); in test_get_content()
928 auto_free <char *> result = edit.get_content (tmp.get_filename ()); in test_get_content()
941 auto_free <char *> result = edit.get_content (tmp.get_filename ()); in test_get_content()
961 const char *filename = tmp.get_filename (); in test_applying_fixits_insert_before()
963 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 2); in test_applying_fixits_insert_before()
1016 const char *filename = tmp.get_filename (); in test_applying_fixits_insert_after()
1018 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 2); in test_applying_fixits_insert_after()
1061 const char *filename = tmp.get_filename (); in test_applying_fixits_insert_after_at_line_end()
1063 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 2); in test_applying_fixits_insert_after_at_line_end()
[all …]
H A Dselftest.cc188 FILE *out = fopen (get_filename (), "w"); in temp_source_file()
190 fail_formatted (loc, "unable to open tempfile: %s", get_filename ()); in temp_source_file()
203 FILE *out = fopen (get_filename (), "w"); in temp_source_file()
205 fail_formatted (loc, "unable to open tempfile: %s", get_filename ()); in temp_source_file()
381 FILE *f = fopen (t.get_filename (), "w"); in test_named_temp_file()
384 "unable to open %s for writing", t.get_filename ()); in test_named_temp_file()
395 char *buf = read_file (SELFTEST_LOCATION, t.get_filename ()); in test_read_file()
H A Ddiagnostic-show-locus.cc2965 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 1); in test_layout_x_offset_display_utf8()
2973 ASSERT_STREQ (tmp.get_filename (), LOCATION_FILE (line_end)); in test_layout_x_offset_display_utf8()
2977 char_span lspan = location_get_source_line (tmp.get_filename (), 1); in test_layout_x_offset_display_utf8()
3118 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 1); in test_layout_x_offset_display_tab()
3127 char_span lspan = location_get_source_line (tmp.get_filename (), 1); in test_layout_x_offset_display_tab()
3764 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 1); in test_diagnostic_show_locus_one_liner()
3772 ASSERT_STREQ (tmp.get_filename (), LOCATION_FILE (line_end)); in test_diagnostic_show_locus_one_liner()
4346 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 1); in test_diagnostic_show_locus_one_liner_utf8()
4354 ASSERT_STREQ (tmp.get_filename (), LOCATION_FILE (line_end)); in test_diagnostic_show_locus_one_liner_utf8()
4358 char_span lspan = location_get_source_line (tmp.get_filename (), 1); in test_diagnostic_show_locus_one_liner_utf8()
[all …]
H A Drtl-tests.cc68 FILE *outfile = fopen (tmp_out.get_filename (), "w"); in assert_rtl_dump_eq()
73 char *dump = read_file (SELFTEST_LOCATION, tmp_out.get_filename ()); in assert_rtl_dump_eq()
H A Dinput.cc2054 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 1); in test_make_location_nonpure_range_endpoints()
2113 char_span source_line = location_get_source_line (tmp.get_filename (), 3); in test_reading_source_line()
2120 source_line = location_get_source_line (tmp.get_filename (), 2); in test_reading_source_line()
2127 source_line = location_get_source_line (tmp.get_filename (), 4); in test_reading_source_line()
2196 const char *fname = cpp_read_main_file (parser, tmp.get_filename ()); in test_lexer()
2208 ASSERT_TOKEN_LOC_EQ (tok, tmp.get_filename (), 1, 1, 9); in test_lexer()
2214 ASSERT_TOKEN_LOC_EQ (tok, tmp.get_filename (), 2, 35, 48); in test_lexer()
2220 ASSERT_TOKEN_LOC_EQ (tok, tmp.get_filename (), 4, 4, 5); in test_lexer()
2424 m_tempfile.get_filename ()); in lexer_test()
2604 ASSERT_TOKEN_LOC_EQ (tok, test.m_tempfile.get_filename (), 1, 9, 20); in test_lexer_string_locations_simple()
[all …]
H A Dread-md.cc262 fprintf (stderr, "%s:%d:%d: error: ", md_reader_ptr->get_filename (), in fatal_with_file_and_line()
284 md_reader_ptr->get_filename (), in fatal_with_file_and_line()
585 get_filename (), get_lineno (), in read_escape()
H A Dfunction-tests.cc666 FILE *outfile = fopen (tmp_out.get_filename (), "w"); in test_expansion_to_rtl()
670 char *dump = read_file (SELFTEST_LOCATION, tmp_out.get_filename ()); in test_expansion_to_rtl()
H A Dread-md.h221 const char *get_filename () const { return m_read_md_filename; } in get_filename() function
/netbsd-src/external/bsd/less/dist/
H A Dprompt.c186 return (strcmp(get_filename(curr_ifile), "-") != 0); in cond()
289 ap_str(get_filename(curr_ifile)); in protochar()
292 ap_str(last_component(get_filename(curr_ifile))); in protochar()
295 s = shell_quote(get_filename(curr_ifile)); in protochar()
372 ap_str(get_filename(h)); in protochar()
H A Dedit.c382 close_altfile(altfilename, get_filename(curr_ifile)); in close_file()
492 filename = save(get_filename(ifile)); in edit_ifile()
717 good_filename = get_filename(curr_ifile); in edit_list()
H A Dfilename.c334 n += (int) strlen(get_filename(ifile)); in fexpand()
369 strcpy(to, get_filename(ifile)); in fexpand()
1089 int r = stat(get_filename(curr_ifile), &st); in curr_ifile_changed()
H A Difile.c246 public char * get_filename(IFILE ifile) in get_filename() function
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/asn1/
H A Dgen_locl.h77 const char *get_filename (void);
H A Dlex.l291 fprintf (stderr, "%s:%d: ", get_filename(), lineno); in lex_error_message()
/netbsd-src/bin/ed/
H A Dmain.c517 } else if ((fnp = get_filename()) == NULL) in exec_command()
548 } else if ((fnp = get_filename()) == NULL) in exec_command()
681 if ((fnp = get_filename()) == NULL) in exec_command()
812 } else if ((fnp = get_filename()) == NULL) in exec_command()
943 get_filename(void) in get_filename() function
H A Ded.h189 char *get_filename(void);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/
H A DDIAInjectedSource.cpp32 return invokeBstrMethod(*SourceFile, &IDiaInjectedSource::get_filename); in getFileName()

123