HomeSort by: relevance | last modified time | path
    Searched refs:file2 (Results 1 - 24 of 24) sorted by relevancy

  /src/tests/kernel/kqueue/read/
t_file2.c 46 ATF_TC(file2);
47 ATF_TC_HEAD(file2, tc)
54 ATF_TC_BODY(file2, tc)
76 ATF_TP_ADD_TC(tp, file2);
  /src/usr.bin/make/unit-tests/
varname-vpath.exp 4 CondParser_Eval: exists(file2-in-subdirectory)
5 "file2-in-subdirectory" does not exist
9 CondParser_Eval: exists(file2-in-subdirectory)
10 "file2-in-subdirectory" exists in "varname-vpath.dir2/file2-in-subdirectory"
varname-circumflex.exp 3 unique: file1.o file2.o file3.o
4 duplicate: file1.o file2.o file3.o
8 wait: file1.o .WAIT_1 file2.o
dir-expand-path.exp 2 dir-expand-path.dir.1/file2.src
varname-circumflex.mk 27 unique: file1.o file2.o file3.o
30 duplicate: file1.o file2.o file3.o file3.o
39 wait: file1.o .WAIT file2.o
48 file1.o file2.o file3.o:
dir-expand-path.mk 9 _!= touch dir-expand-path.dir.1/file2.src
varname-vpath.mk 17 touch varname-vpath.dir2/file2-in-subdirectory
34 . if exists(file2-in-subdirectory)
40 : ${exists(file2-in-subdirectory):L:?yes 2:no 2}
varmod-mtime.mk 67 # expect+1: Cannot determine mtime for "no/such/file2": <ENOENT>
68 .if ${no/such/file1 no/such/file2:L:mtime=error}
  /src/usr.bin/cmp/
cmp.c 70 const char *file1, *file2; local in function:main
110 if (strcmp(file2 = argv[1], "-") == 0) {
116 file2 = "stdin";
118 else if ((fd2 = open(file2, O_RDONLY, 0)) < 0) {
120 warn("%s", file2);
146 err(ERR_EXIT, "%s", file2);
153 c_special(fd1, file1, skip1, fd2, file2, skip2);
156 fd2, file2, skip2, sb2.st_size);
165 "Usage: %s [-c] [-l | -s] file1 file2 [skip1 [skip2]]\n",
special.c 50 c_special(int fd1, const char *file1, off_t skip1, int fd2, const char *file2, off_t skip2)
61 err(ERR_EXIT, "%s", file2);
89 diffmsg(file1, file2, byte, line);
100 errmsg(file2, byte, line);
106 eofmsg(file2, byte, line);
misc.c 78 diffmsg(const char *file1, const char *file2, off_t byte, off_t line)
82 file1, file2, (long long)byte, (long long)line);
regular.c 56 int fd2, const char *file2, off_t skip2, off_t len2)
67 eofmsg(file2, len2 + 1, 0);
106 diffmsg(file1, file2, byte, line);
124 eofmsg(len1 > len2 ? file2 : file1, byte, line);
130 c_special(fd1, file1, skip1, fd2, file2, skip2);
  /src/tests/bin/cp/
t_cp.sh 28 FILES="file file2 file3 link dir dir2 dirlink target"
42 echo "I'm a file, 2" > file2
62 rm -f file2
65 atf_check cp file file2
66 cp_compare file_to_file_simple file file2
67 if [ `stat -f "%Lp" file2` != "755" ]; then
72 chmod 777 file2
73 cp_compare file_to_file_simple file file2
74 if [ `stat -f "%Lp" file2` != "777" ]; then
109 atf_check cp file2 lin
    [all...]
  /src/bin/ln/
ln.c 190 const char *file1, *file2; local in function:samedirent
201 file2 = strrchr(path2, '/');
202 if (file2 != NULL)
203 file2++;
205 file2 = path2;
206 if (strcmp(file1, file2) != 0)
208 if (file1 - path1 >= PATH_MAX || file2 - path2 >= PATH_MAX)
218 if (file2 == path2)
221 memcpy(pathbuf, path2, file2 - path2);
222 pathbuf[file2 - path2] = '\0'
    [all...]
  /src/tests/bin/tar/
t_tar.sh 40 # store foo into file2.tar, then append bar to file2.tar
41 atf_check -s exit:0 -o empty -e empty tar -cf file2.tar foo
42 atf_check -s exit:0 -o empty -e empty tar -rf file2.tar bar
44 # ensure that file1.tar and file2.tar are equal
45 atf_check -s exit:0 -o empty -e empty cmp file1.tar file2.tar
  /src/regress/sys/kern/unfdpass/
Makefile 8 CLEANFILES+=file1 file2 file3 file4 file5 file6 file7 file8 file9 file10 \
  /src/tests/bin/pax/
t_pax.sh 41 # store foo into file2.tar, then append bar to file2.tar
43 pax -w -b 512 -x ustar -f file2.tar foo
45 pax -w -b 512 -x ustar -f file2.tar -a bar
47 # ensure that file1.tar and file2.tar are equal
48 atf_check -s exit:0 -o empty -e empty cmp file1.tar file2.tar
  /src/usr.bin/sdiff/
sdiff.c 65 size_t file1ln, file2ln; /* line number of file1 and file2 */
157 FILE *diffpipe, *file1, *file2; local in function:main
171 * file1, and file2 won't have arguments so doubling them will
259 * or file2 are not regular files. This allows sdiff and diff
266 /* file1 and file2 are the same, so copy to same temp file. */
270 /* Copy file1 and file2 into separate temp files. */
318 if ((file2 = fopen(filename2, "r")) == NULL)
325 while (parsecmd(diffpipe, file1, file2) != EOF)
352 s2 = xfgets(file2);
359 fclose(file2);
    [all...]
  /src/tests/fs/psshfs/
t_psshfs.sh 143 touch root/dir/file2
165 ./ne_inodes.sh root/dir root/dir/file2
167 ./ne_inodes.sh root/dir/file1 root/dir/file2
214 touch root/dir/file2
229 file2
  /src/usr.bin/newsyslog/
newsyslog.c 535 char file1[MAXPATHLEN], file2[MAXPATHLEN]; local in function:log_trim
564 snprintf(file2, sizeof(file2), "%s%s", file1,
566 if (lstat(file2, &st) == 0)
577 snprintf(file2, sizeof(file2), "%s.%d%s", log->logfile,
584 PRINFO(("mv %s %s\n", file1, file2));
586 if (rename(file1, file2))
588 PRINFO(("chmod %o %s\n", log->mode, file2));
590 if (chmod(file2, log->mode)
    [all...]
  /src/distrib/vax/tk50/
Makefile 11 cp ../inst/miniroot-${DISTRIBREV}.fs tk50-file2-${DISTRIBREV}
21 dd if=tk50-file2-${DISTRIBREV} of=/dev/nr${TAPEDEV} bs=512
  /src/usr.bin/error/
input.c 402 char *file1 = NULL, *file2 = NULL; local in function:lint1
421 && persperdexplode(cur_wordv[cur_wordc], &line2, &file2)
428 nwordv2[0] = file2;
435 free(file2);
  /src/usr.sbin/pf/pfs/
pfs.c 423 test_ascii_dump(int verbose, const char* file1, const char *file2)
434 f2 = fopen(file2, "w");
439 err(EXIT_FAILURE, "Can't open %s", file2);
  /src/libexec/ftpd/
ftpd.c 3585 * else if file2 != NULL "<command> <file1> <file2>"
3594 logxfer(const char *command, off_t bytes, const char *file1, const char *file2,
3610 if (file2 != NULL)
3611 if ((r2 = realpath(file2, realfile2)) == NULL)
3612 r2 = file2;

Completed in 45 milliseconds