| /netbsd-src/external/bsd/atf/dist/atf-c++/ |
| H A D | utils_test.cpp | 50 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 D | utils_test.c | 59 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 D | main.c | 74 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 D | selftest.c | 221 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 D | read-md.h | 163 bool read_file (const char *filename);
|
| /netbsd-src/external/gpl2/xcvs/dist/contrib/ |
| H A D | log_accum.in | 238 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 D | selftest.cc | 235 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 D | read-md.h | 163 bool read_file (const char *filename);
|
| H A D | rtl-tests.cc | 73 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 D | input.c | 91 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 D | btkey.h | 46 bool read_file(void);
|
| H A D | file.c | 96 read_file(void) in read_file() function
|
| H A D | btkey.c | 169 if (!read_file()) in main()
|
| /netbsd-src/external/bsd/am-utils/dist/mk-amd-map/ |
| H A D | mk-amd-map.c | 110 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 D | linebreak.c | 1237 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 D | linebreak.c | 1237 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 D | extern.h | 92 int read_file(const char *, u_char **, size_t *);
|
| /netbsd-src/sys/arch/sgimips/stand/sgivol/ |
| H A D | sgivol.c | 105 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 D | mkoffload.c | 126 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 D | mkoffload.cc | 127 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 D | ed.h | 219 long read_file(char *, long);
|
| H A D | main.c | 180 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 D | mkoffload.c | 97 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 D | pre-html.cpp | 408 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 D | gcn-run.cc | 356 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()
|