Home
last modified time | relevance | path

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

1234

/netbsd/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/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/external/gpl3/gdb/dist/gas/testsuite/gas/rx/
H A Dexplode51 &read_file();
54 &read_file();
57 sub read_file { subroutine
/netbsd/external/gpl3/gdb.old/dist/gas/testsuite/gas/rx/
H A Dexplode51 &read_file();
54 &read_file();
57 sub read_file { subroutine
/netbsd/external/gpl3/gcc/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 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()
/netbsd/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/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()
/netbsd/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/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/usr.bin/btkey/
H A Dbtkey.h46 bool read_file(void);
H A Dfile.c96 read_file(void) in read_file() function
/netbsd/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/external/gpl3/gdb/dist/gdb/testsuite/lib/
H A Dcl_util.h77 extern const char *read_file (const char * const filename, size_t *size);
H A Dopencl_hostapp.c98 program_source = read_file (STRINGIFY (CL_SOURCE), &len); in main()
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/lib/
H A Dcl_util.h77 extern const char *read_file (const char * const filename, size_t *size);
/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.arch/
H A Ds390-multiarch.c134 read_file (unsigned char **buf_ptr, size_t *len_ptr, FILE *fp) in read_file() function
168 read_file (&buf, &len, fp); in elfbuf_init_from_file()
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.arch/
H A Ds390-multiarch.c134 read_file (unsigned char **buf_ptr, size_t *len_ptr, FILE *fp) in read_file() function
168 read_file (&buf, &len, fp); in elfbuf_init_from_file()
/netbsd/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/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/external/bsd/libfido2/dist/tools/
H A Dextern.h89 int read_file(const char *, u_char **, size_t *);
/netbsd/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/external/gpl3/gcc/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()
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/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()

1234