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

/freebsd-11-stable/libexec/tftpd/
H A Dtftp-file.h34 size_t read_file(char *buffer, int count);
H A Dtftp-file.c235 read_file(char *buffer, int count) function
H A Dtftp-transfer.c68 size = read_file(sendbuffer, segsize);
70 tftp_log(LOG_ERR, "read_file returned %d", size);
/freebsd-11-stable/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-11-stable/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-11-stable/usr.sbin/efidp/
H A Defidp.c64 read_file(int fd, void **rv) function
201 len = read_file(STDIN_FILENO, &data);
/freebsd-11-stable/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-11-stable/contrib/amd/mk-amd-map/
H A Dmk-amd-map.c108 read_file(FILE *fp, char *map, voidp db) function
328 error = read_file(mapf, mapsrc, db);
/freebsd-11-stable/usr.sbin/config/
H A Dmkmakefile.c388 read_file(char *fname) function
431 read_file(ifname);
617 read_file(fname);
620 read_file(fname);
622 read_file(nl->f_name);
/freebsd-11-stable/bin/ed/
H A Dmain.c166 if (read_file(*argv, 0) < 0 && !isatty(0))
516 if (read_file(*fnp ? fnp : old_filename, 0) < 0)
675 if ((addr = read_file(*fnp ? fnp : old_filename, second_addr)) < 0)
H A Ded.h244 long read_file(char *, long);
H A Dio.c33 /* read_file: read a named file/pipe into the buffer; return line count */
35 read_file(char *fn, long n) function
/freebsd-11-stable/contrib/gcclibs/libcpp/
H A Dfiles.c74 /* The contents of NAME after calling read_file(). */
158 static bool read_file (cpp_reader *pfile, _cpp_file *file);
635 read_file (cpp_reader *pfile, _cpp_file *file) function
695 if (!read_file (pfile, file))
742 same_file_p = read_file (pfile, ref_file)
743 /* Size might have changed in read_file(). */
/freebsd-11-stable/contrib/groff/src/preproc/html/
H A Dpre-html.cpp406 int read_file(FILE *fp);
443 * read_file - Read in a complete file, fp, placing the contents inside
447 int char_buffer::read_file(FILE *fp) function in class:char_buffer
1771 if (inputFile.read_file(fp)) {
/freebsd-11-stable/usr.sbin/usbdump/
H A Dusbdump.c668 read_file(struct usbcap *p) function
899 read_file(p);
/freebsd-11-stable/sbin/init/
H A Dinit.c642 read_file(const char *path, void **bufp, size_t *bufsizep) function
779 error = read_file(init_path_argv0, &buf, &bufsize);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPython.cpp922 lldb::file_t read_file = pipe.GetReadNativeHandle(); local
925 new ConnectionGenericFile(read_file, true));

Completed in 135 milliseconds