Home
last modified time | relevance | path

Searched refs:read_file (Results 1 – 25 of 57) sorted by relevance

123

/netbsd-src/external/bsd/atf/dist/atf-c++/
H A Dutils_test.cpp50 read_file(const char *path) in read_file() function
80 ATF_REQUIRE_EQ("", read_file("captured.txt")); in ATF_TEST_CASE_BODY()
92 ATF_REQUIRE_EQ("PREFIXThis is a single line\n", read_file("captured.txt")); in ATF_TEST_CASE_BODY()
105 read_file("captured.txt")); in ATF_TEST_CASE_BODY()
117 ATF_REQUIRE_EQ("PREFIXFoo\nPREFIX bar baz", read_file("captured.txt")); in ATF_TEST_CASE_BODY()
210 ATF_REQUIRE_EQ("This is a %d test", read_file("test.txt")); in ATF_TEST_CASE_BODY()
241 ATF_REQUIRE_EQ("Child stdout\n", read_file("atf_utils_fork_out.txt")); in ATF_TEST_CASE_BODY()
242 ATF_REQUIRE_EQ("Child stderr\n", read_file("atf_utils_fork_err.txt")); in ATF_TEST_CASE_BODY()
303 ATF_REQUIRE_EQ("The printed message", read_file("captured.txt")); in ATF_TEST_CASE_BODY()
314 ATF_REQUIRE_EQ("The printed message", read_file("captured.txt")); in ATF_TEST_CASE_BODY()
[all …]
/netbsd-src/external/bsd/atf/dist/atf-c/
H A Dutils_test.c59 read_file(const char *path, void *const buffer, const size_t buflen) in read_file() function
80 read_file("captured.txt", buffer, sizeof(buffer)); in ATF_TC_BODY()
94 read_file("captured.txt", buffer, sizeof(buffer)); in ATF_TC_BODY()
108 read_file("captured.txt", buffer, sizeof(buffer)); in ATF_TC_BODY()
122 read_file("captured.txt", buffer, sizeof(buffer)); in ATF_TC_BODY()
217 read_file("test.txt", buffer, sizeof(buffer)); in ATF_TC_BODY()
250 read_file("atf_utils_fork_out.txt", buffer, sizeof(buffer)); in ATF_TC_BODY()
252 read_file("atf_utils_fork_err.txt", buffer, sizeof(buffer)); in ATF_TC_BODY()
353 read_file("captured.txt", buffer, sizeof(buffer)); in ATF_TC_BODY()
366 read_file("captured.txt", buffer, sizeof(buffer)); in ATF_TC_BODY()
[all …]
/netbsd-src/games/atc/
H A Dmain.c74 static int read_file(const char *);
153 if (file == NULL || read_file(file) < 0) in main()
225 read_file(const char *s) in read_file() function
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dselftest.c221 read_file (const location &loc, const char *path) in read_file() function
381 char *buf = read_file (SELFTEST_LOCATION, t.get_filename ()); in test_read_file()
392 char *buf = read_file (SELFTEST_LOCATION, path); in test_locate_file()
H A Dread-md.h163 bool read_file (const char *filename);
/netbsd-src/external/gpl2/xcvs/dist/contrib/
H A Dlog_accum.in238 sub read_file {
744 push(@text, &read_file("$BRANCH_FILE.$i.$id.$cvs_user", "Branch:"));
745 push(@text, &read_file("$CHANGED_FILE.$i.$id.$cvs_user", "Modified:"));
746 push(@text, &read_file("$ADDED_FILE.$i.$id.$cvs_user", "Added:"));
747 push(@text, &read_file("$REMOVED_FILE.$i.$id.$cvs_user", "Removed:"));
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dselftest.cc235 read_file (const location &loc, const char *path) in read_file() function
395 char *buf = read_file (SELFTEST_LOCATION, t.get_filename ()); in test_read_file()
406 char *buf = read_file (SELFTEST_LOCATION, path); in test_locate_file()
H A Dread-md.h163 bool read_file (const char *filename);
H A Drtl-tests.cc73 char *dump = read_file (SELFTEST_LOCATION, tmp_out.get_filename ()); in assert_rtl_dump_eq()
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dinput.c91 read_file(Elf *elf, char *file, char *label, read_cb_f *func, void *arg, in read_file() function
164 rc = read_file(melf, memname, label, in read_archive()
212 found = read_file(elf, file, label, in read_ctf_common()
/netbsd-src/usr.bin/btkey/
H A Dbtkey.h46 bool read_file(void);
H A Dfile.c96 read_file(void) in read_file() function
H A Dbtkey.c169 if (!read_file()) in main()
/netbsd-src/external/bsd/am-utils/dist/mk-amd-map/
H A Dmk-amd-map.c110 read_file(FILE *fp, char *map, voidp db) in read_file() function
330 error = read_file(mapf, mapsrc, db); in main()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A Dlinebreak.c1237 read_file (FILE *stream) in read_file() function
1288 char *input = read_file (stdin); in main()
1323 char *input = read_file (stdin); in main()
1714 read_file (FILE *stream) in read_file() function
1766 char *input = read_file (stdin); in main()
1798 char *input = read_file (stdin); in main()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dlinebreak.c1237 read_file (FILE *stream) in read_file() function
1288 char *input = read_file (stdin); in main()
1323 char *input = read_file (stdin); in main()
1714 read_file (FILE *stream) in read_file() function
1766 char *input = read_file (stdin); in main()
1798 char *input = read_file (stdin); in main()
/netbsd-src/external/bsd/libfido2/dist/tools/
H A Dextern.h92 int read_file(const char *, u_char **, size_t *);
/netbsd-src/sys/arch/sgimips/stand/sgivol/
H A Dsgivol.c105 void read_file(void);
242 read_file(); in main()
390 read_file(void) in read_file() function
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nvptx/
H A Dmkoffload.c126 read_file (FILE *stream, size_t *plen) in read_file() function
236 const char *input = read_file (in, &len); in process()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/nvptx/
H A Dmkoffload.cc127 read_file (FILE *stream, size_t *plen) in read_file() function
237 const char *input = read_file (in, &len); in process()
/netbsd-src/bin/ed/
H A Ded.h219 long read_file(char *, long);
H A Dmain.c180 if (read_file(*argv, 0) < 0 && !isatty(0)) in main()
535 if (read_file(*fnp ? fnp : old_filename, 0) < 0) in exec_command()
693 if ((addr = read_file(*fnp ? fnp : old_filename, second_addr)) < 0) in exec_command()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/gcn/
H A Dmkoffload.c97 read_file (FILE *stream, size_t *plen) in read_file() function
413 const char *input = read_file (in, &len); in process_obj()
/netbsd-src/external/gpl2/groff/dist/src/preproc/html/
H A Dpre-html.cpp408 int read_file(FILE *fp);
449 int char_buffer::read_file(FILE *fp) in read_file() function in char_buffer
1773 if (inputFile.read_file(fp)) { in do_file()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/gcn/
H A Dgcn-run.cc356 read_file (const char *filename, size_t *plen) in read_file() function
406 Elf64_Ehdr *image = (void *) read_file (filename, &image_size); in load_image()

123