Searched refs:file1 (Results 1 - 25 of 48) sorted by path

12

/freebsd-11-stable/bin/ln/
H A Dln.c183 const char *file1, *file2; local
189 file1 = strrchr(path1, '/');
190 if (file1 != NULL)
191 file1++;
193 file1 = path1;
199 if (strcmp(file1, file2) != 0)
201 if (file1 - path1 >= PATH_MAX || file2 - path2 >= PATH_MAX)
203 if (file1 == path1)
206 memcpy(pathbuf, path1, file1 - path1);
207 pathbuf[file1
[all...]
/freebsd-11-stable/contrib/diff/src/
H A Ddiff3.c327 /* Always compare file1 to file2, even if file2 is "-".
330 file0-file1 diffs didn't line up with the file0-file2 diffs
332 diff3 might report phantom changes from file1 to file2.
334 Also, try to compare file0 to file1, because this is where
336 of files is more likely to avoid phantom changes from file0 to file1.
1494 char const *file0, char const *file1, char const *file2)
1537 fprintf (outputfile, "||||||| %s\n", file1);
1553 type == DIFF_ALL ? file0 : file1);
1610 char const *file0, char const *file1, char const *file2)
1675 fprintf (outputfile, format_2nd, file1);
1488 output_diff3_edscript(FILE *outputfile, struct diff3_block *diff, int const mapping[3], int const rev_mapping[3], char const *file0, char const *file1, char const *file2) argument
1604 output_diff3_merge(FILE *infile, FILE *outputfile, struct diff3_block *diff, int const mapping[3], int const rev_mapping[3], char const *file0, char const *file1, char const *file2) argument
[all...]
H A Ddir.c175 compare_names_for_qsort (void const *file1, void const *file2) argument
177 char const *const *f1 = file1;
/freebsd-11-stable/contrib/gdb/gdb/
H A Dmacrotab.c199 compare_locations (struct macro_source_file *file1, int line1,
213 if (! file1)
225 if (file1 != file2)
231 int depth1 = inclusion_depth (file1);
238 line1 = file1->included_at_line;
239 file1 = file1->included_by;
251 /* Now both file1 and file2 are at the same depth. Walk toward
253 while (file1 != file2)
255 line1 = file1
196 compare_locations(struct macro_source_file *file1, int line1, struct macro_source_file *file2, int line2) argument
[all...]
/freebsd-11-stable/contrib/groff/contrib/gdiffmk/tests/
H A Druntests.in46 ${command} ${srcdir}/file1 ${srcdir}/file2 ${ResultFile} 2>${tmpfile}
52 ${command} ${srcdir}/file1 ${srcdir}/file2 >${ResultFile} 2>&1
57 ${command} ${srcdir}/file1 ${srcdir}/file2 - >${ResultFile} 2>&1
62 ${command} - ${srcdir}/file2 <${srcdir}/file1 >${ResultFile} 2>&1
67 ${command} ${srcdir}/file1 - <${srcdir}/file2 >${ResultFile} 2>&1
72 ${command} -aA -cC -dD ${srcdir}/file1 ${srcdir}/file2 >${ResultFile} 2>&1
78 ${command} -aA -dD -cC ${srcdir}/file1 tmp_file7 tmp_file7 \
84 ${command} -D ${srcdir}/file1 ${srcdir}/file2 >${ResultFile} 2>&1
90 ${srcdir}/file1 ${srcdir}/file2 >${ResultFile} 2>&1
95 ${command} -D -B ${srcdir}/file1
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_read_format_cab.c63 cat > ${base}/dir1/file1 << END
95 dir1/file1
109 dir1/file1
123 dir1/file1
143 del empty zero dir1\file1 dir2\file2 mkcab1 mkcab2 mkcab3 mkcab4
149 (cd ${base}; zip -q -c $f empty zero dir1/file1 dir2/file2 mkcab1 mkcab2 mkcab3 mkcab4 cab.bat)
154 static const char file1[] = { variable
160 #define file1_size (sizeof(file1)-1)
231 /* Verify regular file1. */
234 assertEqualString("dir1/file1", archive_entry_pathnam
[all...]
H A Dtest_read_format_lha.c48 cat > ${base}/file1 << END
67 (cd ${base}/dir2; ln -s ../file1 symlink1)
69 (cd ${base}; chown ${owner}:${group} dir file1 file2)
74 (cd ${base}; chmod 0644 file1)
78 TZ=utc touch -afhm -t 197001020000.01 ${base}/file1 ${base}/file2
84 (cd ${base}; lha c0q ${lha0} dir file1 file2 dir2)
87 (cd ${base}; lha c1q ${lha1} dir file1 file2 dir2)
90 (cd ${base}; lha c2q ${lha2} dir file1 file2 dir2)
93 (cd ${base}; lha co6q ${lha3} dir file1 file2 dir2)
96 (cd ${base}; lha co7q ${lha4} dir file1 file
117 static const char file1[] = { variable
[all...]
/freebsd-11-stable/contrib/netbsd-tests/bin/pax/
H A Dt_pax.sh37 # store both foo and bar into file1.tar
39 pax -w -b 512 -x ustar -f file1.tar foo bar
47 # ensure that file1.tar and file2.tar are equal
48 atf_check -s eq:0 -o empty -e empty cmp file1.tar file2.tar
/freebsd-11-stable/contrib/netbsd-tests/bin/tar/
H A Dt_tar.sh37 # store both foo and bar into file1.tar
38 atf_check -s eq:0 -o empty -e empty tar -cf file1.tar foo bar
44 # ensure that file1.tar and file2.tar are equal
45 atf_check -s eq:0 -o empty -e empty cmp file1.tar file2.tar
/freebsd-11-stable/contrib/netbsd-tests/fs/psshfs/
H A Dt_psshfs.sh142 touch root/dir/file1
163 ./ne_inodes.sh root/dir root/dir/file1
167 ./ne_inodes.sh root/dir/file1 root/dir/file2
213 touch root/dir/file1
228 file1
/freebsd-11-stable/contrib/ntp/scripts/stats/
H A Densemble.S1 ensemble <- scan(file1, list(day=0, sec=0, gps=0, gpsw=0, loran=0, loranw=0, ensemble=0, std=0))
2 str <- paste("eps/", file1, ".eps", sep="")
H A Detf.S3 etf <- scan(file1, list(day=0, sec=0, offset=0, stab=0))
10 cat(file1, "\n", file=file2, append=TRUE, fill=FALSE, sep="")
12 str <- paste("eps/", file1, ".eps", sep="")
H A Ditf.S1 itf <- scan(file1, list(day=0, sec=0, offset=0, stab=0))
2 str <- paste("eps/", file1, ".eps", sep="")
H A Dloop.S2 loop <- scan(file1, list(day=0, sec=0, offset=0, freq=0, tc=0))
4 str <- paste("eps/", file1, ".eps", sep="")
H A Dsummary.sh29 echo "file1<-"\"${f}\" >>$SIN
77 echo "file1<-"\"${d}\" >>$SIN
H A Dtdata.S1 tdata <- scan(file1, list(day=0, sec=0, m=0, w=0, x=0, y=0, z=0))
2 str <- paste("eps/", file1, ".eps", sep="")
/freebsd-11-stable/contrib/subversion/subversion/svn/
H A Dfile-merge.c756 apr_file_t *file1,
774 SVN_ERR(read_diff_chunk(&chunk1, current_line1, file1, *current_line1,
753 merge_file_chunks(svn_boolean_t *remains_in_conflict, svn_boolean_t *abort_merge, apr_file_t *merged_file, apr_file_t *file1, apr_file_t *file2, apr_off_t start1, apr_off_t len1, apr_off_t start2, apr_off_t len2, svn_linenum_t *current_line1, svn_linenum_t *current_line2, const char *editor_cmd, apr_hash_t *config, apr_pool_t *scratch_pool) argument
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd.c121 #define LOGCMD2(cmd, file1, file2) \
124 *(file1) == '/' ? "" : curdir(), file1, \
/freebsd-11-stable/crypto/openssh/
H A Dsftp.c219 int interactive_loop(struct sftp_conn *, char *file1, char *file2);
2037 interactive_loop(struct sftp_conn *conn, char *file1, char *file2) argument
2085 if (file1 != NULL) {
2086 dir = xstrdup(file1);
2268 char *file1 = NULL, *sftp_server = NULL; local
2422 file1 = cp;
2462 err = interactive_loop(conn, file1, file2);
/freebsd-11-stable/share/examples/tests/tests/atf/
H A DMakefile34 # Install file1 and file2 as files via bsd.progs.mk. Please note the intentional
43 ${PACKAGE}FILES+= file1
44 CLEANFILES+= file1
46 file1:
H A Dcp_test.sh64 cp $(atf_get_srcdir)/file1 .
74 atf_check -s exit:0 -o empty -e empty cp file1 file2
76 verify_copy file1 file2
105 cp $(atf_get_srcdir)/file1 .
108 atf_check cp -f file1 file2
109 verify_copy file1 file2
/freebsd-11-stable/share/examples/tests/tests/plain/
H A DMakefile34 # Install file1 and file2 as files via bsd.progs.mk. Please note the intentional
43 ${PACKAGE}FILES+= file1
44 CLEANFILES+= file1
46 file1:
H A Dcp_test.sh60 cp "$(dirname "${0}")/file1" .
61 cp file1 file2 || err "cp failed"
62 verify_copy file1 file2
68 cp -f file1 file3 || err "cp failed"
69 verify_copy file1 file3
/freebsd-11-stable/share/examples/tests/tests/tap/
H A DMakefile34 # Install file1 and file2 as files via bsd.prog.mk. Please note the intentional
43 ${PACKAGE}FILES+= file1
44 CLEANFILES+= file1
46 file1:
/freebsd-11-stable/tests/sys/mac/bsdextended/
H A Dmatches_test.sh64 file1=$playground/test-$uidinrange
76 command1="sh $playground/test-script.sh $file1"
86 chown "$uidinrange":"$gidinrange" $file1
87 chmod a+w $file1
281 chmod u+s $file1
288 chmod u-s $file1
301 chmod g+s $file1
308 chmod g-s $file1

Completed in 380 milliseconds

12