Home
last modified time | relevance | path

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

/freebsd/contrib/atf/atf-c/
H A Dcheck_test.c105 FILE *sfile; in ATF_TC_BODY() local
110 fclose(sfile); in ATF_TC_BODY()
123 FILE *sfile; in ATF_TC_BODY() local
128 fclose(sfile); in ATF_TC_BODY()
141 FILE *sfile; in ATF_TC_BODY() local
151 fclose(sfile); in ATF_TC_BODY()
167 FILE *sfile; in ATF_TC_BODY() local
172 fclose(sfile); in ATF_TC_BODY()
185 FILE *sfile; in ATF_TC_BODY() local
190 fclose(sfile); in ATF_TC_BODY()
[all …]
H A Dbuild_test.c167 RE(atf_build_c_o(test->sfile, test->ofile, test->optargs, in ATF_TC_BODY()
170 RE(atf_build_c_o(test->sfile, test->ofile, NULL, &argv)); in ATF_TC_BODY()
195 RE(atf_build_cpp(test->sfile, test->ofile, test->optargs, in ATF_TC_BODY()
198 RE(atf_build_cpp(test->sfile, test->ofile, NULL, &argv)); in ATF_TC_BODY()
224 RE(atf_build_cxx_o(test->sfile, test->ofile, test->optargs, in ATF_TC_BODY()
227 RE(atf_build_cxx_o(test->sfile, test->ofile, NULL, &argv)); in ATF_TC_BODY()
H A Dbuild.c146 atf_build_c_o(const char *sfile, in atf_build_c_o() argument
177 err = append_src_out(sfile, ofile, &argv_list); in atf_build_c_o()
192 atf_build_cpp(const char *sfile, in atf_build_cpp() argument
223 err = append_arg1(sfile, &argv_list); in atf_build_cpp()
238 atf_build_cxx_o(const char *sfile, in atf_build_cxx_o() argument
270 err = append_src_out(sfile, ofile, &argv_list); in atf_build_cxx_o()
H A Dh_build.h41 const char *sfile; member
179 const char *sfile; member
278 const char *sfile; member
H A Dcheck.c397 atf_check_build_c_o(const char *sfile, in atf_check_build_c_o() argument
405 err = atf_build_c_o(sfile, ofile, optargs, &argv); in atf_check_build_c_o()
417 atf_check_build_cpp(const char *sfile, in atf_check_build_cpp() argument
425 err = atf_build_cpp(sfile, ofile, optargs, &argv); in atf_check_build_cpp()
437 atf_check_build_cxx_o(const char *sfile, in atf_check_build_cxx_o() argument
445 err = atf_build_cxx_o(sfile, ofile, optargs, &argv); in atf_check_build_cxx_o()
/freebsd/contrib/atf/atf-c++/
H A Dcheck_test.cpp93 std::ofstream sfile("test.c"); in ATF_TEST_CASE_BODY() local
95 sfile.close(); in ATF_TEST_CASE_BODY()
108 std::ofstream sfile("test.c"); in ATF_TEST_CASE_BODY() local
110 sfile.close(); in ATF_TEST_CASE_BODY()
124 sfile << "#define A foo\n"; in ATF_TEST_CASE_BODY()
125 sfile << "#define B bar\n"; in ATF_TEST_CASE_BODY()
126 sfile << "A B\n"; in ATF_TEST_CASE_BODY()
127 sfile.close(); in ATF_TEST_CASE_BODY()
142 sfile.close(); in ATF_TEST_CASE_BODY()
157 sfile.close(); in ATF_TEST_CASE_BODY()
[all …]
H A Dbuild.cpp76 impl::c_o(const std::string& sfile, const std::string& ofile, in c_o() argument
81 atf_error_t err = atf_build_c_o(sfile.c_str(), ofile.c_str(), in c_o()
90 impl::cpp(const std::string& sfile, const std::string& ofile, in cpp() argument
95 atf_error_t err = atf_build_cpp(sfile.c_str(), ofile.c_str(), in cpp()
104 impl::cxx_o(const std::string& sfile, const std::string& ofile, in cxx_o() argument
109 atf_error_t err = atf_build_cxx_o(sfile.c_str(), ofile.c_str(), in cxx_o()
H A Dcheck.cpp103 impl::build_c_o(const std::string& sfile, const std::string& ofile, in build_c_o() argument
108 atf_error_t err = atf_check_build_c_o(sfile.c_str(), ofile.c_str(), in build_c_o()
117 impl::build_cpp(const std::string& sfile, const std::string& ofile, in build_cpp() argument
122 atf_error_t err = atf_check_build_cpp(sfile.c_str(), ofile.c_str(), in build_cpp()
131 impl::build_cxx_o(const std::string& sfile, const std::string& ofile, in build_cxx_o() argument
136 atf_error_t err = atf_check_build_cxx_o(sfile.c_str(), ofile.c_str(), in build_cxx_o()
H A Dbuild_test.cpp164 atf::build::c_o(test->sfile, test->ofile, in ATF_TEST_CASE_BODY()
185 atf::build::cpp(test->sfile, test->ofile, in ATF_TEST_CASE_BODY()
207 atf::build::cxx_o(test->sfile, test->ofile, in ATF_TEST_CASE_BODY()
/freebsd/contrib/sendmail/mailstats/
H A Dmailstats.c54 char *sfile; variable
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/contrib/sendmail/src/
H A Dstats.c132 poststats(sfile) in poststats() argument
133 char *sfile; in poststats()
141 if (sfile == NULL || *sfile == '\0' || !GotStats || entered)
155 fd = safeopen(sfile, O_RDWR, 0600, sff);
160 sfile, sm_errstring(errno));
/freebsd/contrib/atf/atf-c++/detail/
H A Dtest_helpers.cpp53 build_check_cxx_o(const char* sfile) in build_check_cxx_o() argument
60 return atf::check::build_cxx_o(sfile, "test.o", in build_check_cxx_o()
65 build_check_cxx_o_srcdir(const atf::tests::tc& tc, const char* sfile) in build_check_cxx_o_srcdir() argument
68 atf::fs::path(tc.get_config_var("srcdir")) / sfile; in build_check_cxx_o_srcdir()
H A Dtest_helpers.hpp56 #define BUILD_TC(name, sfile, descr, failmsg) \ argument
66 if (!build_check_cxx_o_srcdir(*this, sfile)) \
/freebsd/usr.bin/gprof/
H A Dgprof.c339 FILE *sfile; in dumpsum() local
341 if ( ( sfile = fopen ( sumfile , "w" ) ) == NULL ) in dumpsum()
346 if ( fwrite( &gmonhdr , sizeof gmonhdr , 1 , sfile ) != 1 ) in dumpsum()
351 if (fwrite(samples, histcounter_size, nsamples, sfile) != nsamples) in dumpsum()
361 if ( fwrite ( &arc , sizeof arc , 1 , sfile ) != 1 ) in dumpsum()
371 fclose( sfile ); in dumpsum()
/freebsd/contrib/atf/atf-c/detail/
H A Dtest_helpers.h61 #define BUILD_TC(name, sfile, descr, failmsg) \ argument
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) in build_check_c_o_srcdir() argument
71 atf_tc_get_config_var(tc, "srcdir"), sfile)); in build_check_c_o_srcdir()
/freebsd/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/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/usr.bin/diff/
H A Ddiffreg.c216 static struct line *sfile[2]; /* shortened by pruning common prefix/suffix */ variable
434 sort(sfile[0], slen[0]); in diffreg_stone()
435 sort(sfile[1], slen[1]); in diffreg_stone()
438 equiv(sfile[0], slen[0], sfile[1], slen[1], member); in diffreg_stone()
442 unsort(sfile[0], slen[0], class); in diffreg_stone()
589 sfile[j] = file[j] + pref; in prune()
592 sfile[j][i].serial = i; in prune()
/freebsd/contrib/elftoolchain/nm/
H A Dnm.c1199 char *type_table, **sec_table, *sfile, **src_files; in read_elf() local
1407 if (dwarf_linesrc(lbuf[i], &sfile, &de)) { in read_elf()
1417 lie->file = strdup(sfile); in read_elf()