| /netbsd-src/external/bsd/less/dist/lesstest/ |
| H A D | log.c | 72 int log_command(char* const* argv, int argc, const char* textfile) { in log_command() argument 77 fprintf(logf, " \"%s\"", (a < argc-1) ? argv[a] : textfile); in log_command() 82 int log_textfile(const char* textfile) { in log_textfile() argument 85 if (stat(textfile, &st) < 0) { in log_textfile() 86 fprintf(stderr, "cannot stat %s\n", textfile); in log_textfile() 89 FILE* fd = fopen(textfile, "r"); in log_textfile() 91 fprintf(stderr, "cannot open %s\n", textfile); in log_textfile() 94 fprintf(logf, "F \"%s\" %ld\n", textfile, (long) st.st_size); in log_textfile() 100 fprintf(stderr, "read only %ld/%ld from %s\n", (long) nread, (long) st.st_size, textfile); in log_textfile() 111 int log_test_header(char* const* argv, int argc, const char* textfile) { in log_test_header() argument [all …]
|
| H A D | maketest | 14 my $textfile = shift @ARGV; 15 die $usage if not defined $textfile; 32 if ($textfile =~ m|/|) { 33 my ($basename) = $textfile =~ m|^.*/([^/]+)$|; 34 if (not link $textfile, $basename) { 35 print "cannot link $textfile to $basename: $!\n"; 39 $textfile = $basename; 44 $ltfile = "lt/$textfile$suffix.lt"; 49 …es COLUMNS=$columns $lesstest $lt_opts $ls_opts -s '$lt_screen' -o '$ltfile' -- $less '$textfile'"; 57 unlink $textfile if $linked;
|
| H A D | parse.c | 53 setup->textfile = malloc(len); in parse_textfile() 54 strcpy(setup->textfile, filename); in parse_textfile() 55 FILE* textfd = fopen(setup->textfile, "w"); in parse_textfile() 57 fprintf(stderr, "cannot create %s\n", setup->textfile); in parse_textfile() 75 setup->textfile = NULL; in new_test_setup() 83 if (setup->textfile != NULL) { in free_test_setup() 84 unlink(setup->textfile); in free_test_setup() 85 free(setup->textfile); in free_test_setup() 149 if (setup->textfile == NULL || setup->argv == NULL) { in read_test_setup() 153 …if (verbose) { fprintf(stderr, "setup: textfile %s\n", setup->textfile); print_strings("argv:", se… in read_test_setup()
|
| H A D | pipeline.c | 102 const char* textfile = argv[argc-1]; in create_less_pipeline() local 103 const char* textbase = basename(textfile); in create_less_pipeline() 104 if (textbase != textfile) { in create_less_pipeline() 106 if (link(textfile, textbase) < 0) { in create_less_pipeline() 107 fprintf(stderr, "cannot link %s to %s: %s\n", textfile, textbase, strerror(errno)); in create_less_pipeline() 110 textfile = textbase; in create_less_pipeline() 128 if (verbose) fprintf(stderr, "testing %s on %s\n", less, textfile); in create_less_pipeline()
|
| H A D | lesstest.h | 18 char* textfile; member 64 int log_test_header(char* const* argv, int argc, const char* textfile);
|
| H A D | run.c | 106 const char* textfile = (pipeline->tempfile != NULL) ? pipeline->tempfile : argv[argc-1]; in run_interactive() local 107 if (!log_test_header(argv, argc, textfile)) { in run_interactive()
|
| /netbsd-src/external/gpl2/rcs/dist/src/ |
| H A D | rcsgen.c | 349 putdesc(textflag, textfile) in putdesc() argument 351 char *textfile; 386 if (!textfile) 392 if (*textfile == '-') { 393 p = textfile + 1; 396 if (!(txt = fopenSafer(textfile, "r"))) 397 efaterror(textfile);
|
| H A D | ci.c | 290 char *a, **newargv, *textfile; variable 305 author = rev = state = textfile = 0; 398 if (textfile) redefined('t'); 399 textfile = a; 582 putdesc(false,textfile);
|
| H A D | rcs.c | 286 char *a, **newargv, *textfile; variable 303 branchsym = commsyml = textfile = 0; 448 if (textfile) redefined('t'); 449 textfile = a; 608 putdesc(textflag,textfile);
|
| /netbsd-src/external/ibm-public/postfix/dist/proto/ |
| H A D | stop | 820 textfile
|
| /netbsd-src/external/gpl2/xcvs/dist/contrib/ |
| H A D | rcs-5.7-commitid.patch | 263 char *a, **newargv, *textfile;
|
| /netbsd-src/external/bsd/nsd/dist/doc/ |
| H A D | RELNOTES | 1645 - You can adjust nsdc patch to skip textfile patching. This will
|