Searched refs:sfile (Results 1 - 20 of 20) sorted by relevance

/freebsd-current/contrib/atf/atf-c++/
H A Dbuild.cpp76 impl::c_o(const std::string& sfile, const std::string& ofile, argument
81 atf_error_t err = atf_build_c_o(sfile.c_str(), ofile.c_str(),
90 impl::cpp(const std::string& sfile, const std::string& ofile, argument
95 atf_error_t err = atf_build_cpp(sfile.c_str(), ofile.c_str(),
104 impl::cxx_o(const std::string& sfile, const std::string& ofile, argument
109 atf_error_t err = atf_build_cxx_o(sfile.c_str(), ofile.c_str(),
H A Dcheck.cpp103 impl::build_c_o(const std::string& sfile, const std::string& ofile, argument
108 atf_error_t err = atf_check_build_c_o(sfile.c_str(), ofile.c_str(),
117 impl::build_cpp(const std::string& sfile, const std::string& ofile, argument
122 atf_error_t err = atf_check_build_cpp(sfile.c_str(), ofile.c_str(),
131 impl::build_cxx_o(const std::string& sfile, const std::string& ofile, argument
136 atf_error_t err = atf_check_build_cxx_o(sfile.c_str(), ofile.c_str(),
H A Dcheck_test.cpp93 std::ofstream sfile("test.c");
94 sfile << "#include <stdio.h>\n";
95 sfile.close();
108 std::ofstream sfile("test.c");
109 sfile << "void foo(void) { int a = UNDEFINED_SYMBOL; }\n";
110 sfile.close();
123 std::ofstream sfile("test.c");
124 sfile << "#define A foo\n";
125 sfile << "#define B bar\n";
126 sfile << "
[all...]
H A Dbuild_test.cpp164 atf::build::c_o(test->sfile, test->ofile,
185 atf::build::cpp(test->sfile, test->ofile,
207 atf::build::cxx_o(test->sfile, test->ofile,
/freebsd-current/contrib/atf/atf-c++/detail/
H A Dtest_helpers.cpp53 build_check_cxx_o(const char* sfile) argument
60 return atf::check::build_cxx_o(sfile, "test.o",
65 build_check_cxx_o_srcdir(const atf::tests::tc& tc, const char* sfile) argument
68 atf::fs::path(tc.get_config_var("srcdir")) / sfile;
H A Dtest_helpers.hpp56 #define BUILD_TC(name, sfile, descr, failmsg) \
66 if (!build_check_cxx_o_srcdir(*this, sfile)) \
/freebsd-current/contrib/atf/atf-c/
H A Dcheck_test.c105 FILE *sfile; local
108 ATF_REQUIRE((sfile = fopen("test.c", "w")) != NULL);
109 fprintf(sfile, "#include <stdio.h>\n");
110 fclose(sfile);
123 FILE *sfile; local
126 ATF_REQUIRE((sfile = fopen("test.c", "w")) != NULL);
127 fprintf(sfile, "void foo(void) { int a = UNDEFINED_SYMBOL; }\n");
128 fclose(sfile);
141 FILE *sfile; local
147 ATF_REQUIRE((sfile
167 FILE *sfile; local
185 FILE *sfile; local
203 FILE *sfile; local
[all...]
H A Dh_build.h41 const char *sfile; member in struct:c_o_test
179 const char *sfile; member in struct:cpp_test
278 const char *sfile; member in struct:cxx_o_test
H A Dbuild_test.c167 RE(atf_build_c_o(test->sfile, test->ofile, test->optargs,
170 RE(atf_build_c_o(test->sfile, test->ofile, NULL, &argv));
195 RE(atf_build_cpp(test->sfile, test->ofile, test->optargs,
198 RE(atf_build_cpp(test->sfile, test->ofile, NULL, &argv));
224 RE(atf_build_cxx_o(test->sfile, test->ofile, test->optargs,
227 RE(atf_build_cxx_o(test->sfile, test->ofile, NULL, &argv));
H A Dbuild.c146 atf_build_c_o(const char *sfile, argument
177 err = append_src_out(sfile, ofile, &argv_list);
192 atf_build_cpp(const char *sfile, argument
223 err = append_arg1(sfile, &argv_list);
238 atf_build_cxx_o(const char *sfile, argument
270 err = append_src_out(sfile, ofile, &argv_list);
H A Dcheck.c397 atf_check_build_c_o(const char *sfile, argument
405 err = atf_build_c_o(sfile, ofile, optargs, &argv);
417 atf_check_build_cpp(const char *sfile, argument
425 err = atf_build_cpp(sfile, ofile, optargs, &argv);
437 atf_check_build_cxx_o(const char *sfile, argument
445 err = atf_build_cxx_o(sfile, ofile, optargs, &argv);
/freebsd-current/contrib/sendmail/src/
H A Dstats.c122 ** sfile -- the name of the statistics file.
128 ** merges the Stat structure with the sfile file.
132 poststats(sfile)
133 char *sfile;
141 if (sfile == NULL || *sfile == '\0' || !GotStats || entered)
155 fd = safeopen(sfile, O_RDWR, 0600, sff);
160 sfile, sm_errstring(errno));
/freebsd-current/contrib/sendmail/mailstats/
H A Dmailstats.c54 char *sfile; local
74 sfile = NULL;
91 sfile = optarg;
184 if (sfile == NULL)
185 sfile = sfilebuf;
216 if (sfile == NULL)
223 fd = open(sfile, O_RDONLY, 0600);
229 sm_perror(sfile);
241 sm_perror(sfile);
256 sfile);
[all...]
/freebsd-current/contrib/atf/atf-c/detail/
H A Dtest_helpers.h61 #define BUILD_TC(name, sfile, descr, failmsg) \
72 if (!build_check_c_o_srcdir(tc, sfile)) \
H A Dtest_helpers.c66 build_check_c_o_srcdir(const atf_tc_t *tc, const char *sfile) argument
71 atf_tc_get_config_var(tc, "srcdir"), sfile));
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Drsend_009_pos.ksh65 log_must mkfile $SPA_MINDEVSIZE $TESTDIR/sfile
67 log_must zpool create -O compression=off $SPOOL $TESTDIR/sfile
/freebsd-current/tests/sys/cddl/zfs/tests/rsend/
H A Drsend_009_pos.ksh71 log_must $TRUNCATE -s 64M $TESTDIR/sfile
73 log_must $ZPOOL create spool $TESTDIR/sfile
/freebsd-current/usr.bin/gprof/
H A Dgprof.c339 FILE *sfile; local
341 if ( ( sfile = fopen ( sumfile , "w" ) ) == NULL )
346 if ( fwrite( &gmonhdr , sizeof gmonhdr , 1 , sfile ) != 1 )
351 if (fwrite(samples, histcounter_size, nsamples, sfile) != nsamples)
361 if ( fwrite ( &arc , sizeof arc , 1 , sfile ) != 1 )
371 fclose( sfile );
/freebsd-current/usr.bin/diff/
H A Ddiffreg.c216 static struct line *sfile[2]; /* shortened by pruning common prefix/suffix */ variable in typeref:struct:line
430 sort(sfile[0], slen[0]);
431 sort(sfile[1], slen[1]);
434 equiv(sfile[0], slen[0], sfile[1], slen[1], member);
438 unsort(sfile[0], slen[0], class);
586 sfile[j] = file[j] + pref;
589 sfile[j][i].serial = i;
/freebsd-current/contrib/elftoolchain/nm/
H A Dnm.c1199 char *type_table, **sec_table, *sfile, **src_files; local
1407 if (dwarf_linesrc(lbuf[i], &sfile, &de)) {
1417 lie->file = strdup(sfile);

Completed in 151 milliseconds