Home
last modified time | relevance | path

Searched refs:file1 (Results 1 – 25 of 36) sorted by relevance

12

/titanic_41/usr/src/cmd/bnu/
H A Duucp.c66 char file1[MAXFULLNAME], file2[MAXFULLNAME]; local
313 (void) split(argv[optind], sys1, fwd1, file1);
342 if ((strchr(file1, '*') != NULL
343 || strchr(file1, '?') != NULL
344 || strchr(file1, '[') != NULL)) {
346 if (ckexpf(file1) == FAIL)
355 ruux(sys1, sys1, file1, sys2p, fwd2, file2);
366 ruux(sys2, sys1, file1, "", fwd2, file2);
379 ruux(sys2, sys1, file1, "", fwd2, file2);
400 DEBUG(4, "file1 - %s, ", file1);
[all …]
H A Dbnuconvert.c43 char file1[NAMESIZE+1], file2[NAMESIZE+1]; local
84 while (gdirf(spooldir, file1, SPOOL)) {
86 (void) sprintf(Rmtname, "%s", file1);
87 (void) sprintf(machname, "%s/%s", SPOOL, file1);
88 DEBUG(9, "File1 is (%s)\n", file1);
H A Duucleanup.c161 char file1[NAMESIZE+1], file2[NAMESIZE+1], file3[NAMESIZE+1]; local
254 while (gdirf(spooldir, file1, SPOOL) == TRUE) {
256 if (*soptName && !EQUALS(soptName, file1))
259 (void) strcpy(Rmtname, file1);
260 (void) sprintf(machname, "%s/%s", SPOOL, file1);
269 DEBUG(7, "Directory: (%s) is open\n", file1);
275 LOCKPRE, SYSNSIZE, file1, file2);
388 char file1[BUFSIZ], file2[BUFSIZ], file3[BUFSIZ], type[2], opt[256]; local
423 if (sscanf(buf,"%s%s%s%s%s%s", type, file1, file2,
437 if (EQUALSN(file1, "D.", 2))
[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,
526 DEBUG(9, "file1 (%s)", file1);
582 sprintf(format_tmp,"%s %s ", user, file1);
587 sprintf(format_tmp,"%s %ld %s ", user, fsize(dir, file3, file1), file1);
591 (void) sprintf(xfullname, "%s/%s", dir, file1);
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,
775 DEBUG(9, "file1 (%s)", file1);
/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
122 error(ERROR_exit(1), "EOF on %s", file1); in cmp()
169 …sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u\n", file1, file2, sizeof(pos), pos - (last … in cmp()
187 char* file1; in b_cmp() local
221 if (error_info.errors || !(file1 = *argv++) || !(file2 = *argv++)) in b_cmp()
224 if (streq(file1, "-")) in b_cmp()
226 else if (!(f1 = sfopen(NiL, file1, "r"))) in b_cmp()
229 error(ERROR_system(0), "%s: cannot open", file1); in b_cmp()
245 error(ERROR_exit(0), "%s: %s: invalid skip", file1, s); in b_cmp()
266 error(ERROR_exit(0), "EOF on %s", file1); in b_cmp()
[all …]
/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
62 log_must $MKFILE 10m $mntpnt/file1
72 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then
78 log_must $RM -rf $mntpnt/file1
83 log_must $RM -rf $mntpnt/file1
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
64 log_must $MKFILE 10m $mntpnt/file1
75 log_must $MKFILE 20m $mntpnt/file1
H A Dzfs_receive_006_pos.ksh52 for file in $fbackup1 $fbackup2 $mntpnt/file1 $mntpnt/file2; do
82 log_must $MKFILE 10m $mntpnt/file1
H A Dzfs_receive_008_pos.ksh91 typeset mnt_file=$mntpnt/file1
/titanic_41/usr/src/cmd/diff/
H A Ddiff.c341 file1 = argv[0]; in main()
359 if (strcmp(file1, "-") == 0) { in main()
367 } else if (stat(file1, &stb1) < 0) { in main()
369 perror(file1); in main()
374 if (strcmp(file1, "-") == 0) in main()
397 filename(&file1, &file2, &stb1, &input_file1); in main()
398 filename(&file2, &file1, &stb2, &input_file2); in main()
399 if ((input[0] = fopen(file1, "r")) == NULL) { in main()
401 perror(file1); in main()
424 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_promote/
H A Dzfs_promote_001_pos.ksh57 for data in $file0 $file1; do
100 file1=$TESTDIR/$TESTFILE1
111 log_must $MKFILE $FILESIZE $file1
118 testing_verify $fs $file1 $snapfile $clone $cfile $csnapfile
123 testing_verify $clone $cfile $csnapfile $fs $file1 $snapfile
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rollback/
H A Dzfs_rollback_common.kshlib248 eval typeset file1=\$TESTDIR$ind/\$TESTFILE1
253 log_must files_exist $file0 $file1 $file2
256 typeset sum1=$(getsum $file1)
265 log_must files_exist $file0 $file1
269 typeset sum1=$(getsum $file1)
277 log_must files_nonexist $file1 $file2
/titanic_41/usr/src/test/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_017_pos.ksh71 verify_file $DIR/file1
81 verify_file ./file1
89 verify_file ../file1
103 verify_file ../../file1
148 $MKFILE 10m file1
/titanic_41/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dxattr_common.kshlib56 $RUNAT $FILE1 $CAT $XATTR_NAME > /tmp/file1.$$
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.c101 static char *file1; variable
207 file1 = *argv++; in main()
209 file1 = filename(file1, file2); in main()
210 file2 = filename(file2, file1); in main()
213 if ((fdes1 = fopen(file1, "r")) == NULL) in main()
214 error(gettext("Cannot open: %s"), file1); in main()
247 (void) strcat(diffcmd, file1); in main()
/titanic_41/usr/src/lib/libshell/common/tests/
H A Dio.sh54 print foo > file1
55 print bar >> file1
56 if [[ $(<file1) != $'foo\nbar' ]]
60 exec 3<> file1
66 if ( 4> file1 ) 2> /dev/null
81 exec 3<> file1
/titanic_41/usr/src/cmd/sgs/error/common/
H A Derrorinput.c348 char *file1, *file2; in lint1() local
368 (persperdexplode(wordv[wordc-2], &line1, &file1))) { in lint1()
371 nwordv1[0] = file1; nwordv1[1] = line1; 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
521 if(test_stat(file1,&statb1)<0) 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/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.ksh64 vdev1=$TESTDIR/file1
/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
1337 if (file1 != NULL) { in interactive_loop()
1338 dir = xstrdup(file1); in interactive_loop()
1533 char *file1 = NULL, *sftp_server = NULL; in main() local
1642 file1 = cp; in main()
1674 err = interactive_loop(in, out, file1, file2); in main()
/titanic_41/usr/src/cmd/perl/contrib/Sun/Solaris/Project/t/
H A DProject.t207 my ($ret, $file1, $file2, $file3, $file4, $file5, $pass);
209 # file1, parse error (extra ":") on group.staff project.
210 open($file1, "+>/tmp/project.$$.1") || fatal($!);
211 print $file1 <<EOF;
274 [ "parse error", $file1, "/tmp/project.$$.1", $flags1, 1 ],
275 [ "parse error", $file1, "/tmp/project.$$.1", $flags2, 1 ],
276 [ "parse error", $file1, "/tmp/project.$$.1", $flags3, 1 ],
277 [ "parse error", $file1, "/tmp/project.$$.1", $flags4, 1 ],
340 close($file1);
/titanic_41/usr/src/test/zfs-tests/tests/functional/quota/
H A Dquota.cfg33 export TESTFILE1=file1

12