/freebsd/contrib/atf/atf-c/ |
H A D | check_test.c | 105 FILE *sfile; in ATF_TC_BODY() local 108 ATF_REQUIRE((sfile = fopen("test.c", "w")) != NULL); in ATF_TC_BODY() 109 fprintf(sfile, "#include <stdio.h>\n"); in ATF_TC_BODY() 110 fclose(sfile); in ATF_TC_BODY() 123 FILE *sfile; in ATF_TC_BODY() local 126 ATF_REQUIRE((sfile = fopen("test.c", "w")) != NULL); in ATF_TC_BODY() 127 fprintf(sfile, "void foo(void) { int a = UNDEFINED_SYMBOL; }\n"); in ATF_TC_BODY() 128 fclose(sfile); in ATF_TC_BODY() 141 FILE *sfile; in ATF_TC_BODY() local 147 ATF_REQUIRE((sfile = fopen("test.c", "w")) != NULL); in ATF_TC_BODY() [all …]
|
H A D | build_test.c | 167 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 D | build.c | 146 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 D | h_build.h | 41 const char *sfile; member 179 const char *sfile; member 278 const char *sfile; member
|
H A D | check.c | 397 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 D | check_test.cpp | 93 std::ofstream sfile("test.c"); in ATF_TEST_CASE_BODY() local 94 sfile << "#include <stdio.h>\n"; in ATF_TEST_CASE_BODY() 95 sfile.close(); in ATF_TEST_CASE_BODY() 108 std::ofstream sfile("test.c"); in ATF_TEST_CASE_BODY() local 109 sfile << "void foo(void) { int a = UNDEFINED_SYMBOL; }\n"; in ATF_TEST_CASE_BODY() 110 sfile.close(); in ATF_TEST_CASE_BODY() 123 std::ofstream sfile("test.c"); in ATF_TEST_CASE_BODY() local 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() [all …]
|
H A D | build.cpp | 76 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 D | check.cpp | 103 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 D | build_test.cpp | 164 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 D | mailstats.c | 54 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 D | stats.c | 132 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 D | test_helpers.cpp | 53 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 D | test_helpers.hpp | 56 #define BUILD_TC(name, sfile, descr, failmsg) \ argument 66 if (!build_check_cxx_o_srcdir(*this, sfile)) \
|
/freebsd/usr.bin/gprof/ |
H A D | gprof.c | 339 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 D | test_helpers.h | 61 #define BUILD_TC(name, sfile, descr, failmsg) \ argument 72 if (!build_check_c_o_srcdir(tc, sfile)) \
|
H A D | test_helpers.c | 66 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/tests/sys/cddl/zfs/tests/rsend/ |
H A D | rsend_009_pos.ksh | 71 log_must $TRUNCATE -s 64M $TESTDIR/sfile 73 log_must $ZPOOL create spool $TESTDIR/sfile
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | rsend_009_pos.ksh | 65 log_must mkfile $SPA_MINDEVSIZE $TESTDIR/sfile 67 log_must zpool create -O compression=off $SPOOL $TESTDIR/sfile
|
/freebsd/usr.bin/diff/ |
H A D | diffreg.c | 216 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;
|
/freebsd/contrib/elftoolchain/nm/ |
H A D | nm.c | 1199 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()
|