/freebsd/tools/test/stress2/misc/ |
H A D | tmpfs26.sh | 23 static FILE *read_file; 67 len = fread(buf, 1, sizeof(buf), read_file); 68 if (len < (int)sizeof(buf) && ferror(read_file)) { 75 buf[i], i, len, ftell(read_file)); 135 read_file = fopen(filename, "rb"); 136 if (!read_file) { 160 fclose(read_file);
|
H A D | nfsrename.sh | 101 read_file(void) 165 read_file(); function
|
/freebsd/contrib/atf/atf-c/ |
H A D | utils_test.c | 56 read_file(const char *path, void *const buffer, const size_t buflen) in read_file() function 77 read_file("captured.txt", buffer, sizeof(buffer)); in ATF_TC_BODY() 91 read_file("captured.txt", buffer, sizeof(buffer)); in ATF_TC_BODY() 105 read_file("captured.txt", buffer, sizeof(buffer)); in ATF_TC_BODY() 119 read_file("captured.txt", buffer, sizeof(buffer)); in ATF_TC_BODY() 214 read_file("test.txt", buffer, sizeof(buffer)); in ATF_TC_BODY() 252 read_file(atf_dynstr_cstring(&out_name), buffer, sizeof(buffer)); in ATF_TC_BODY() 254 read_file(atf_dynstr_cstring(&err_name), buffer, sizeof(buffer)); in ATF_TC_BODY() 358 read_file("captured.txt", buffer, sizeof(buffer)); in ATF_TC_BODY() 371 read_file("captured.txt", buffer, sizeof(buffer)); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/atf/atf-c++/ |
H A D | utils_test.cpp | 46 read_file(const std::string& path) in read_file() function 76 ATF_REQUIRE_EQ("", read_file("captured.txt")); in ATF_TEST_CASE_BODY() 88 ATF_REQUIRE_EQ("PREFIXThis is a single line\n", read_file("captured.txt")); in ATF_TEST_CASE_BODY() 101 read_file("captured.txt")); in ATF_TEST_CASE_BODY() 113 ATF_REQUIRE_EQ("PREFIXFoo\nPREFIX bar baz", read_file("captured.txt")); in ATF_TEST_CASE_BODY() 206 ATF_REQUIRE_EQ("This is a %d test", read_file("test.txt")); in ATF_TEST_CASE_BODY() 242 ATF_REQUIRE_EQ("Child stdout\n", read_file(out_name.str())); in ATF_TEST_CASE_BODY() 243 ATF_REQUIRE_EQ("Child stderr\n", read_file(err_name.str())); in ATF_TEST_CASE_BODY() 304 ATF_REQUIRE_EQ("The printed message", read_file("captured.txt")); in ATF_TEST_CASE_BODY() 315 ATF_REQUIRE_EQ("The printed message", read_file("captured.txt")); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/release/scripts/oracle/ |
H A D | generate_metadata.lua | 24 local function read_file(path) function 36 local template = read_file(template_file) 46 local caps = read_file(capability_file) 60 local shapes_data = read_file(shapes_file)
|
/freebsd/sys/contrib/zstd/doc/educational_decoder/ |
H A D | harness.c | 36 static buffer_s read_file(const char *path) in read_file() function 75 buffer_s const input = read_file(argv[1]); in main() 79 dict = read_file(argv[3]); in main()
|
/freebsd/contrib/ncurses/misc/ |
H A D | ncu2openbsd | 121 sub read_file($) { subroutine 239 my @source = &read_file($source); 240 my @target = &read_file($target); 294 my @data = &read_file($path); 420 my @docs = &read_file($docs); 680 my @oldfile = &read_file($oldfile); 841 my @oldfile = &read_file($oldfile); 892 my @oldfile = &read_file($oldfile); 1217 my @data = &read_file("dist.mk");
|
/freebsd/contrib/tzcode/ |
H A D | tzselect.ksh | 180 read_file() { 190 read_file TZ_COUNTRY_TABLE "$TZDIR/iso3166.tab" 191 read_file TZ_ZONETABTYPE_TABLE "$TZDIR/$zonetabtype.tab" 444 ${TZ_ZONENOW_TABLE:+:} read_file TZ_ZONENOW_TABLE "$TZDIR/zonenow.tab" 193 read_file() { global() function
|
/freebsd/contrib/kyua/utils/ |
H A D | stream_test.cpp | 111 ATF_REQUIRE_EQ(contents, utils::read_file(fs::path("input.txt"))); in ATF_TEST_CASE_BODY() 120 utils::read_file(fs::path("foo.txt"))); in ATF_TEST_CASE_BODY()
|
H A D | stream.hpp | 51 std::string read_file(const utils::fs::path&);
|
/freebsd/sbin/pfctl/tests/ |
H A D | pfctl_test.c | 106 read_file(const char *filename) in read_file() function 142 expected_output = read_file(expected_path); in run_pfctl_test()
|
/freebsd/usr.sbin/efidp/ |
H A D | efidp.c | 61 read_file(int fd, void **rv) in read_file() function 197 len = read_file(STDIN_FILENO, &data); in format()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | input.c | 87 read_file(Elf *elf, char *file, char *label, read_cb_f *func, void *arg, in read_file() function 160 rc = read_file(melf, memname, label, in read_archive() 208 found = read_file(elf, file, label, in read_ctf_common()
|
/freebsd/lib/libsecureboot/openpgp/ |
H A D | opgp_sig.c | 456 sdata = read_file(sname, &sz); 476 if ((sdata = read_file(sigfile, &sbytes))) { 481 if ((fdata = read_file(pbuf, &fbytes))) {
|
H A D | dearmor.c | 128 data = read_file(infile, &n); in main()
|
/freebsd/usr.sbin/config/ |
H A D | mkmakefile.cc | 380 read_file(char *fname) in read_file() function 438 read_file(ifname); in read_file() 625 read_file(fname); in read_files() 628 read_file(fname); in read_files() 630 read_file(nl->f_name); in read_files()
|
/freebsd/libexec/tftpd/ |
H A D | tftp-file.h | 33 size_t read_file(char *buffer, int count);
|
/freebsd/contrib/kyua/store/ |
H A D | schema_inttest.cpp | 426 db.exec(utils::read_file(store::detail::schema_file())); \ 427 db.exec(utils::read_file(testdata_file(\ 466 db.exec(utils::read_file(testdata_file(schema))); \ 467 db.exec(utils::read_file(testdata_file(testdata))); \
|
/freebsd/lib/libsecureboot/h/ |
H A D | libsecureboot.h | 46 unsigned char * read_file(const char *, size_t *);
|
/freebsd/contrib/kyua/integration/helpers/ |
H A D | race.cpp | 90 const std::string read_contents = utils::read_file(shared_path); in main()
|
/freebsd/contrib/bearssl/tools/ |
H A D | files.c | 35 read_file(const char *fname, size_t *len) in read_file() function 266 buf = read_file(fname, &len); in read_certificates()
|
/freebsd/lib/libsecureboot/ |
H A D | readfile.c | 55 read_file(const char *path, size_t *len) in read_file() function
|
H A D | pass_manifest.c | 79 content = read_file(path, NULL); in pass_manifest()
|
/freebsd/contrib/llvm-project/lldb/source/Interpreter/ |
H A D | ScriptInterpreter.cpp | 219 lldb::file_t read_file = pipe.GetReadNativeHandle(); in ScriptInterpreterIORedirect() local 222 std::make_unique<ConnectionGenericFile>(read_file, true); in ScriptInterpreterIORedirect()
|
/freebsd/contrib/libfido2/tools/ |
H A D | extern.h | 93 int read_file(const char *, u_char **, size_t *);
|