Searched refs:file2 (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/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);
303 * if there are more than 2 argsc, file2 is a directory
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
[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[BUFSI local
484 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);
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_003_pos.ksh54 for file in $ibackup $mntpnt/file1 $mntpnt/file2; do
68 log_must mkfile 10m $mntpnt/file2
76 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then
89 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then
H A Dzfs_receive_011_pos.ksh67 log_must mkfile 5M $origdir/file2
74 log_must rm $origdir/file2
H A Dzfs_receive_007_neg.ksh52 for file in $ibackup $mntpnt/file1 $mntpnt/file2; do
70 log_must mkfile 10m $mntpnt/file2
80 log_must rm -rf $mntpnt/file2
H A Dzfs_receive_006_pos.ksh56 for file in $fbackup1 $fbackup2 $mntpnt/file1 $mntpnt/file2; do
88 log_must mkfile 10m $mntpnt/file2
/illumos-gate/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
/illumos-gate/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.$$
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcmp.c55 "\nfile1 file2 [skip1 [skip2]]\n"
99 cmp(const char* file1, Sfio_t* f1, const char* file2, Sfio_t* f2, int flags) argument
133 error(ERROR_exit(1), "EOF on %s", file2);
169 sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u\n", file1, file2, sizeof(pos), pos - (last - p1), sizeof(lines), lines);
188 char* file2; local
221 if (error_info.errors || !(file1 = *argv++) || !(file2 = *argv++))
232 if (streq(file2, "-"))
234 else if (!(f2 = sfopen(NiL, file2, "r")))
237 error(ERROR_system(0), "%s: cannot open", file2);
253 error(ERROR_exit(0), "%s: %s: invalid skip", file2,
[all...]
/illumos-gate/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
141 # ./file2
149 mkfile 20m file2
170 log_must mv file2 file99
/illumos-gate/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
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.c342 file2 = argv[1];
373 if (strcmp(file2, "-") == 0) {
385 } else if (stat(file2, &stb2) < 0) {
387 perror(file2);
397 filename(&file1, &file2, &stb1, &input_file1);
398 filename(&file2, &file1, &stb2, &input_file2);
407 if ((input[1] = fopen(file2, "r")) == NULL) {
409 perror(file2);
424 perror(ferror(input[0])? file1:file2);
455 perror(ferror(input[0])? file1:file2);
1364 scanpr(struct dir *dp, int test, char *title, char *file1, char *efile1, char *file2, char *efile2) argument
1570 file2, pfiletype(fmt2)); local
[all...]
H A Ddiff.h160 * With diffdir, file1 and file2 are allocated BUFSIZ space,
164 char *file1, *file2, *efile1, *efile2; variable
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool/
H A Dzpool_002_pos.ksh70 vdev2=$TESTDIR/file2
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_010_neg.ksh73 for files in $TESTDIR/file1 $TESTDIR/file2
79 "$TOOSMALL $TESTDIR/file1" "$TESTPOOL1 $TESTDIR/file1 $TESTDIR/file2" \
80 "$TOOSMALL mirror $TESTDIR/file1 $TESTDIR/file2" \
81 "$TOOSMALL raidz $TESTDIR/file1 $TESTDIR/file2"
/illumos-gate/usr/src/cmd/sdiff/
H A Dsdiff.c34 * sdiff [-l] [-s] [-w #] [-o output] file1 file2
104 static char *file2; variable
203 "Usage: sdiff [-l] [-s] [-o output] [-w #] file1 file2\n"));
208 file2 = *argv;
209 file1 = filename(file1, file2);
210 file2 = filename(file2, file1);
216 if ((fdes2 = fopen(file2, "r")) == NULL)
217 error(gettext("Cannot open: %s"), file2);
249 (void) strcat(diffcmd, file2);
[all...]
/illumos-gate/usr/src/cmd/sgs/error/common/
H A Derrorinput.c348 char *file1, *file2; local
367 (persperdexplode(wordv[wordc], &line2, &file2)) &&
374 nwordv2[0] = file2; nwordv2[1] = line2;
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dcap.c56 Dbg_cap_identical(Lm_list *lml, const char *file1, const char *file2) argument
61 dbg_print(lml, MSG_INTL(MSG_CAP_IDENTICAL), file1, file2);
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dtest.c516 static time_t test_time(const char *file1,const char *file2) argument
520 int r=test_stat(file2,&statb2);
538 int test_inode(const char *file1,const char *file2) argument
541 if(test_stat(file1,&stat1)>=0 && test_stat(file2,&stat2)>=0)
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_download.c866 emlxs_be_fw_file_t *file2; local
1158 file2 = &fw_image->file[FCOE_BACKUP_FLASHTYPE];
1160 bcopy((uint8_t *)file, (uint8_t *)file2,
1162 file2->type = MGMT_FLASHROM_OPTYPE_FCOE_BACKUP;
1163 (void) strlcpy(file2->label, "FCOE BACKUP",
1164 sizeof (file2->label));
1174 file2 = &fw_image->file[ISCSI_BACKUP_FLASHTYPE];
1176 bcopy((uint8_t *)file, (uint8_t *)file2,
1178 file2->type = MGMT_FLASHROM_OPTYPE_ISCSI_BACKUP;
1179 (void) strlcpy(file2
1238 emlxs_be_fw_file_t *file2; local
[all...]
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A DAppcertUtil.pm1298 my ($file1, $file2, $fast) = @_;
1307 if ($file1 eq $file2) {
1313 $f2 = $file2;
1329 $inode2 = file_inode($file2);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.file.c243 fcompare(tchar **file1, tchar **file2) argument
249 return (strcoll_(*file1, *file2));
/illumos-gate/usr/src/tools/scripts/
H A Dwebrev.sh880 ' /tmp/$$.diffs > /tmp/$$.file2
887 html_quote < $2 | $AWK -f /tmp/$$.file2 > /tmp/$$.file2.html
904 strip_unchanged /tmp/$$.file2.html
910 framed_sdiff $TNAME $TPATH /tmp/$$.file1.html /tmp/$$.file2.html \

Completed in 98 milliseconds

12