Home
last modified time | relevance | path

Searched refs:file2 (Results 1 – 25 of 35) sorted by relevance

12

/titanic_41/usr/src/cmd/bnu/
H A Duucp.c66 char file1[MAXFULLNAME], file2[MAXFULLNAME]; local
282 (void) split(argv[argc - 1], sys2, fwd2, file2);
300 DEBUG(9, "file2: %s\n", file2);
306 (void) strcat(file2, "/");
355 ruux(sys1, sys1, file1, sys2p, fwd2, file2);
366 ruux(sys2, sys1, file1, "", fwd2, file2);
379 ruux(sys2, sys1, file1, "", fwd2, file2);
402 if (copy(sys1, file1, sys2p, file2))
491 char file1[MAXFULLNAME], file2[MAXFULLNAME]; local
496 (void) strcpy(file2, f2);
[all …]
H A Dbnuconvert.c43 char file1[NAMESIZE+1], file2[NAMESIZE+1]; local
106 while (gnamef(machdir, file2) == TRUE) {
109 DEBUG(9, "is (%s)\n", file2);
111 if (!EQUALSN(file2, "C.",2))
116 (void) strncpy(svdcfile.file, file2, NAMESIZE-1);
H A Duucleanup.c161 char file1[NAMESIZE+1], file2[NAMESIZE+1], file3[NAMESIZE+1]; local
270 while (gnamef(machdir, file2) == TRUE) {
272 (void) sprintf(statfile, "%s/%s", machname, file2);
275 LOCKPRE, SYSNSIZE, file1, file2);
285 DEBUG(7, "Directory: (%s) is open\n", file2);
306 DEBUG(9, "file: %s\n", file2);
308 if (EQUALSN(file2, "X.", 2)) {
312 else if (EQUALSN(file2, "D.", 2)) {
314 procdtype(machname, file2);
388 char file1[BUFSIZ], file2[BUFSIZ], file3[BUFSIZ], type[2], opt[256]; local
[all …]
H A Duustat.c473 char file1[BUFSIZ], file2[BUFSIZ], file3[BUFSIZ], type[2], opt[256]; local
520 if (sscanf(buf,"%s%s%s%s%s%s", type, file1, file2,
527 DEBUG(9, "file2 (%s)", file2);
585 else if (file2[0] != 'X')
590 else if (*type == 'S' && file2[0] == 'X') {
712 char file1[BUFSIZ], file2[BUFSIZ], file3[BUFSIZ], type[2], opt[256]; local
758 if (sscanf(buf,"%s%s%s%s%s%s", type, file1, file2,
776 DEBUG(9, "file2 (%s)", file2);
/titanic_41/usr/src/lib/libcmd/common/
H A Dcmp.c99 cmp(const char* file1, Sfio_t* f1, const char* file2, Sfio_t* f2, int flags) in cmp() argument
133 error(ERROR_exit(1), "EOF on %s", file2); in cmp()
169 …sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u\n", file1, file2, sizeof(pos), pos - (last … in cmp()
188 char* file2; in b_cmp() local
221 if (error_info.errors || !(file1 = *argv++) || !(file2 = *argv++)) in b_cmp()
232 if (streq(file2, "-")) in b_cmp()
234 else if (!(f2 = sfopen(NiL, file2, "r"))) in b_cmp()
237 error(ERROR_system(0), "%s: cannot open", file2); in b_cmp()
253 error(ERROR_exit(0), "%s: %s: invalid skip", file2, s); in b_cmp()
273 error(ERROR_exit(0), "EOF on %s", file2); in b_cmp()
[all …]
/titanic_41/usr/src/test/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_017_pos.ksh72 verify_file $DIR/file2
82 verify_file ./file2
90 verify_file ../file2
104 verify_file ../../file2
149 $MKFILE 20m file2
170 log_must $MV file2 file99
/titanic_41/usr/src/cmd/diff/
H A Ddiff.c342 file2 = argv[1]; in main()
373 if (strcmp(file2, "-") == 0) { in main()
385 } else if (stat(file2, &stb2) < 0) { in main()
387 perror(file2); in main()
397 filename(&file1, &file2, &stb1, &input_file1); in main()
398 filename(&file2, &file1, &stb2, &input_file2); in main()
407 if ((input[1] = fopen(file2, "r")) == NULL) { in main()
409 perror(file2); in main()
424 perror(ferror(input[0])? file1:file2); in main()
455 perror(ferror(input[0])? file1:file2); in main()
[all …]
H A Ddiff.h164 char *file1, *file2, *efile1, *efile2; variable
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_003_pos.ksh50 for file in $ibackup $mntpnt/file1 $mntpnt/file2; do
64 log_must $MKFILE 10m $mntpnt/file2
72 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then
85 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then
H A Dzfs_receive_007_neg.ksh48 for file in $ibackup $mntpnt/file1 $mntpnt/file2; do
66 log_must $MKFILE 10m $mntpnt/file2
76 log_must $RM -rf $mntpnt/file2
H A Dzfs_receive_006_pos.ksh52 for file in $fbackup1 $fbackup2 $mntpnt/file1 $mntpnt/file2; do
84 log_must $MKFILE 10m $mntpnt/file2
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rollback/
H A Dzfs_rollback_common.kshlib249 eval typeset file2=\$TESTDIR$ind/\$TESTFILE2
253 log_must files_exist $file0 $file1 $file2
257 typeset sum2=$(getsum $file2)
266 log_must files_nonexist $file2
277 log_must files_nonexist $file1 $file2
/titanic_41/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dxattr_common.kshlib57 $RUNAT $FILE2 $CAT $XATTR_NAME > /tmp/file2.$$
59 log_must $DIFF /tmp/file1.$$ /tmp/file2.$$
60 log_must $RM /tmp/file1.$$ /tmp/file2.$$
/titanic_41/usr/src/cmd/sdiff/
H A Dsdiff.c104 static char *file2; variable
208 file2 = *argv; in main()
209 file1 = filename(file1, file2); in main()
210 file2 = filename(file2, file1); in main()
216 if ((fdes2 = fopen(file2, "r")) == NULL) in main()
217 error(gettext("Cannot open: %s"), file2); in main()
249 (void) strcat(diffcmd, file2); in main()
/titanic_41/usr/src/test/zfs-tests/tests/functional/refquota/
H A Drefquota_001_pos.ksh69 log_mustnot $MKFILE 2M $mntpnt/file2
74 log_must $MKFILE 10 $mntpnt/file2
/titanic_41/usr/src/cmd/sgs/error/common/
H A Derrorinput.c348 char *file1, *file2; in lint1() local
367 (persperdexplode(wordv[wordc], &line2, &file2)) && in lint1()
374 nwordv2[0] = file2; nwordv2[1] = line2; in lint1()
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dtest.c516 static time_t test_time(const char *file1,const char *file2) in test_time() argument
520 int r=test_stat(file2,&statb2); in test_time()
538 int test_inode(const char *file1,const char *file2) in test_inode() argument
541 if(test_stat(file1,&stat1)>=0 && test_stat(file2,&stat2)>=0) in test_inode()
/titanic_41/usr/src/cmd/ssh/sftp/
H A Dsftp.c179 int interactive_loop(int fd_in, int fd_out, char *file1, char *file2);
1286 interactive_loop(int fd_in, int fd_out, char *file1, char *file2) in interactive_loop() argument
1341 if (remote_is_dir(conn, dir) && file2 == NULL) { in interactive_loop()
1351 if (file2 == NULL) in interactive_loop()
1355 file2); in interactive_loop()
1531 char *host, *userhost, *cp, *file2 = NULL; in main() local
1627 file2 = argv[optind+1]; in main()
1674 err = interactive_loop(in, out, file1, file2); in main()
/titanic_41/usr/src/cmd/sgs/liblddbg/common/
H A Dcap.c56 Dbg_cap_identical(Lm_list *lml, const char *file1, const char *file2) in Dbg_cap_identical() argument
61 dbg_print(lml, MSG_INTL(MSG_CAP_IDENTICAL), file1, file2); in Dbg_cap_identical()
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_010_neg.ksh72 for files in $TESTDIR/file1 $TESTDIR/file2
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zpool/
H A Dzpool_002_pos.ksh65 vdev2=$TESTDIR/file2
/titanic_41/usr/src/cmd/perl/contrib/Sun/Solaris/Project/t/
H A DProject.t207 my ($ret, $file1, $file2, $file3, $file4, $file5, $pass);
220 # file2, duplicate project names.
221 open($file2, "+>/tmp/project.$$.2") || fatal($!);
222 print $file2 <<EOF;
278 [ "dup names", $file2, "/tmp/project.$$.2", $flags1, 0 ],
279 [ "dup names", $file2, "/tmp/project.$$.2", $flags2, 1 ],
280 [ "dup names", $file2, "/tmp/project.$$.2", $flags3, 1 ],
281 [ "dup names", $file2, "/tmp/project.$$.2", $flags4, 1 ],
341 close($file2);
/titanic_41/usr/src/test/zfs-tests/tests/functional/quota/
H A Dquota.cfg34 export TESTFILE2=file2
/titanic_41/usr/src/test/zfs-tests/tests/functional/reservation/
H A Dreservation.cfg44 export TESTFILE2=file2.$$
/titanic_41/usr/src/cmd/lp/filter/postscript/postio/
H A DREADME64 postio -l /dev/tty?? -b 9600 -L log file1 file2 file3
72 postio -R2 -l/dev/tty?? -b9600 -Llog file1 file2 file3

12