Searched refs:read_file (Results 1 - 25 of 49) sorted by relevance

12

/freebsd-current/libexec/tftpd/
H A Dtftp-file.h33 size_t read_file(char *buffer, int count);
/freebsd-current/contrib/kyua/utils/
H A Dstream.hpp51 std::string read_file(const utils::fs::path&);
H A Dstream_test.cpp111 ATF_REQUIRE_EQ(contents, utils::read_file(fs::path("input.txt")));
120 utils::read_file(fs::path("foo.txt")));
H A Dstream.cpp121 utils::read_file(const fs::path& path) function in class:utils
/freebsd-current/tools/tools/git/
H A Dcandidatematch.lua13 local function read_file(filename) function
58 local from_hashes = read_file(from_file)
59 local to_hashes = read_file(to_file)
64 exclude_hashes = read_file(exclude_file)
/freebsd-current/sys/contrib/zstd/doc/educational_decoder/
H A Dharness.c36 static buffer_s read_file(const char *path) function
75 buffer_s const input = read_file(argv[1]);
79 dict = read_file(argv[3]);
/freebsd-current/contrib/kyua/integration/helpers/
H A Drace.cpp90 const std::string read_contents = utils::read_file(shared_path);
/freebsd-current/lib/libsecureboot/
H A Dreadfile.c55 read_file(const char *path, size_t *len) function
H A Dpass_manifest.c79 content = read_file(path, NULL);
/freebsd-current/contrib/atf/atf-c++/
H A Dutils_test.cpp46 read_file(const std::string& path) function
76 ATF_REQUIRE_EQ("", read_file("captured.txt"));
88 ATF_REQUIRE_EQ("PREFIXThis is a single line\n", read_file("captured.txt"));
101 read_file("captured.txt"));
113 ATF_REQUIRE_EQ("PREFIXFoo\nPREFIX bar baz", read_file("captured.txt"));
206 ATF_REQUIRE_EQ("This is a %d test", read_file("test.txt"));
242 ATF_REQUIRE_EQ("Child stdout\n", read_file(out_name.str()));
243 ATF_REQUIRE_EQ("Child stderr\n", read_file(err_name.str()));
304 ATF_REQUIRE_EQ("The printed message", read_file("captured.txt"));
315 ATF_REQUIRE_EQ("The printed message", read_file("capture
[all...]
/freebsd-current/contrib/atf/atf-c/
H A Dutils_test.c56 read_file(const char *path, void *const buffer, const size_t buflen) function
77 read_file("captured.txt", buffer, sizeof(buffer));
91 read_file("captured.txt", buffer, sizeof(buffer));
105 read_file("captured.txt", buffer, sizeof(buffer));
119 read_file("captured.txt", buffer, sizeof(buffer));
214 read_file("test.txt", buffer, sizeof(buffer));
252 read_file(atf_dynstr_cstring(&out_name), buffer, sizeof(buffer));
254 read_file(atf_dynstr_cstring(&err_name), buffer, sizeof(buffer));
358 read_file("captured.txt", buffer, sizeof(buffer));
371 read_file("capture
[all...]
/freebsd-current/lib/libsecureboot/h/
H A Dlibsecureboot.h46 unsigned char * read_file(const char *, size_t *);
/freebsd-current/tools/test/stress2/misc/
H A Dnfsrename.sh101 read_file(void)
165 read_file(); function
/freebsd-current/usr.sbin/efidp/
H A Defidp.c61 read_file(int fd, void **rv) function
197 len = read_file(STDIN_FILENO, &data);
/freebsd-current/sbin/pfctl/tests/
H A Dpfctl_test.c106 read_file(const char *filename) function
142 expected_output = read_file(expected_path);
/freebsd-current/contrib/kyua/store/
H A Dwrite_backend.cpp113 db.exec(utils::read_file(schema));
H A Dschema_inttest.cpp426 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-current/contrib/tzcode/
H A Dtzselect.ksh193 read_file() { function
203 read_file TZ_COUNTRY_TABLE "$TZDIR/iso3166.tab"
204 read_file TZ_ZONETABTYPE_TABLE "$TZDIR/$zonetabtype.tab"
457 ${TZ_ZONENOW_TABLE:+:} read_file TZ_ZONENOW_TABLE "$TZDIR/zonenow.tab"
/freebsd-current/contrib/libfido2/tools/
H A Dextern.h93 int read_file(const char *, u_char **, size_t *);
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dinput.c87 read_file(Elf *elf, char *file, char *label, read_cb_f *func, void *arg, function
160 rc = read_file(melf, memname, label,
208 found = read_file(elf, file, label,
/freebsd-current/lib/libsecureboot/openpgp/
H A Dopgp_sig.c445 sdata = read_file(sname, &sz);
465 if ((sdata = read_file(sigfile, &sbytes))) {
470 if ((fdata = read_file(pbuf, &fbytes))) {
H A Ddearmor.c128 data = read_file(infile, &n);
/freebsd-current/contrib/bearssl/tools/
H A Dfiles.c35 read_file(const char *fname, size_t *len) function
266 buf = read_file(fname, &len);
/freebsd-current/contrib/llvm-project/lldb/source/Interpreter/
H A DScriptInterpreter.cpp203 lldb::file_t read_file = pipe.GetReadNativeHandle(); local
206 std::make_unique<ConnectionGenericFile>(read_file, true);
/freebsd-current/usr.sbin/config/
H A Dmkmakefile.cc380 read_file(char *fname) function
426 read_file(ifname);
613 read_file(fname);
616 read_file(fname);
618 read_file(nl->f_name);

Completed in 284 milliseconds

12