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

12

/freebsd-11-stable/usr.bin/diff/
H A Ddiffreg.c259 diffreg(char *file1, char *file2, int flags, int capsicum) argument
282 if (strcmp(file1, "-") == 0 && strcmp(file2, "-") == 0)
310 if ((f2 = opentemp(file2)) == NULL ||
312 warn("%s", file2);
316 } else if (strcmp(file2, "-") == 0)
319 f2 = fopen(file2, "r");
322 warn("%s", file2);
333 xasprintf(&header, "%s %s %s", diffargs, file1, file2);
381 err(2, "unable to limit rights on: %s", file2);
445 output(file1, f1, file2, f
935 output(char *file1, FILE *f1, char *file2, FILE *f2, int flags) argument
1054 change(char *file1, FILE *f1, char *file2, FILE *f2, int a, int b, int c, int d, int *pflags) argument
1612 print_header(const char *file1, const char *file2) argument
[all...]
/freebsd-11-stable/contrib/diff/src/
H A Ddir.c175 compare_names_for_qsort (void const *file1, void const *file2) argument
178 char const *const *f2 = file2;
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.
338 Historically, the default common file was file2, so some older
339 applications (e.g. Emacs ediff) used file2 as the ancestor. So,
341 edscript), prefer file2 as the common file. */
495 3) Copy all of the pointers for file2 in. At least for now,
499 needed from file2 (when there isn't a diff block, it's
500 identical to file2 withi
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...]
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_read_format_cab.c70 cat > ${base}/dir2/file2 << END
97 dir2/file2
111 dir2/file2
125 dir2/file2
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)
161 static const char file2[] = { variable
170 #define file2_size (sizeof(file2)-1)
243 /* Verify regular file2. */
246 assertEqualString("dir2/file2", archive_entry_pathnam
[all...]
H A Dtest_read_format_lha.c54 cat > ${base}/file2 << END
68 (cd ${base}/dir2; ln -s ../file2 symlink2)
69 (cd ${base}; chown ${owner}:${group} dir file1 file2)
75 (cd ${base}; chmod 0666 file2)
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 file2 dir
124 static const char file2[] = { variable
[all...]
/freebsd-11-stable/tests/sys/mac/bsdextended/
H A Dmatches_test.sh65 file2=$playground/test-$uidoutrange
77 command2="sh $playground/test-script.sh $file2"
96 chown "$uidoutrange":"$gidoutrange" $file2
97 chmod a+w $file2
/freebsd-11-stable/usr.sbin/pw/tests/
H A Dpw_usermod_test.sh271 echo "entry" > ${HOME}/skel/.file2
273 test -f ${HOME}/home/foo/.file2 || atf_fail "Skell files not added"
274 echo > ${HOME}/home/foo/.file2
276 atf_check -s exit:0 -o inline:"\n" cat ${HOME}/home/foo/.file2
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_ucma.c1482 static void ucma_lock_files(struct ucma_file *file1, struct ucma_file *file2) argument
1485 if (file1 < file2) {
1487 mutex_lock_nested(&file2->mut, SINGLE_DEPTH_NESTING);
1489 mutex_lock(&file2->mut);
1494 static void ucma_unlock_files(struct ucma_file *file1, struct ucma_file *file2) argument
1496 if (file1 < file2) {
1497 mutex_unlock(&file2->mut);
1501 mutex_unlock(&file2->mut);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dio.c1444 const char *file2,
1456 SVN_ERR(cstring_from_utf8(&file2_apr, file2, pool));
1493 const char *file2,
1505 SVN_ERR(cstring_from_utf8(&file2_apr, file2, scratch_pool));
5142 const char *file2,
5157 err = svn_io_file_open(&file2_h, file2, APR_READ, APR_OS_DEFAULT,
5207 const char *file2,
5225 err = svn_io_file_open(&file2_h, file2, APR_READ, APR_OS_DEFAULT,
5337 const char *file2,
5342 SVN_ERR(svn_io_filesizes_different_p(&q, file1, file2, poo
1438 svn_io_filesizes_different_p(svn_boolean_t *different_p, const char *file1, const char *file2, apr_pool_t *pool) argument
1485 svn_io_filesizes_three_different_p(svn_boolean_t *different_p12, svn_boolean_t *different_p23, svn_boolean_t *different_p13, const char *file1, const char *file2, const char *file3, apr_pool_t *scratch_pool) argument
5129 contents_identical_p(svn_boolean_t *identical_p, const char *file1, const char *file2, apr_pool_t *pool) argument
5192 contents_three_identical_p(svn_boolean_t *identical_p12, svn_boolean_t *identical_p23, svn_boolean_t *identical_p13, const char *file1, const char *file2, const char *file3, apr_pool_t *scratch_pool) argument
5324 svn_io_files_contents_same_p(svn_boolean_t *same, const char *file1, const char *file2, apr_pool_t *pool) argument
5350 svn_io_files_contents_three_same_p(svn_boolean_t *same12, svn_boolean_t *same23, svn_boolean_t *same13, const char *file1, const char *file2, const char *file3, apr_pool_t *scratch_pool) argument
[all...]
/freebsd-11-stable/contrib/subversion/subversion/include/
H A Dsvn_io.h598 /** Set @a *different_p to TRUE if @a file1 and @a file2 have different
599 * sizes, else set to FALSE. Both @a file1 and @a file2 are utf8-encoded.
610 const char *file2,
613 /** Set @a *different_p12 to non-zero if @a file1 and @a file2 have different
615 * @a file2 and @a file3, and @a *different_p13 for @a file1 and @a file3.
616 * The filenames @a file1, @a file2 and @a file3 are utf8-encoded.
631 const char *file2,
660 /** Set @a *same to TRUE if @a file1 and @a file2 have the same
666 const char *file2,
669 /** Set @a *same12 to TRUE if @a file1 and @a file2 hav
[all...]
/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
2089 if (remote_is_dir(conn, dir) && file2 == NULL) {
2104 file2 == NULL ? "" : " ",
2105 file2 == NULL ? "" : file2);
2266 char *host = NULL, *userhost, *cp, *file2 = NULL; local
2406 file2 = argv[optind+1];
2462 err = interactive_loop(conn, file1, file2);
/freebsd-11-stable/usr.sbin/newsyslog/
H A Dnewsyslog.c1741 char file1[MAXPATHLEN], file2[MAXPATHLEN]; local
1829 (void) strlcpy(file2, file1, sizeof(file2));
1838 (void) strlcpy(zfile2, file2, MAXPATHLEN);
/freebsd-11-stable/contrib/subversion/subversion/svn/
H A Dfile-merge.c757 apr_file_t *file2,
776 SVN_ERR(read_diff_chunk(&chunk2, current_line2, file2, *current_line2,
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/contrib/tcsh/
H A Dtw.parse.c2265 const Char *const *file1 = xfile1, *const *file2 = xfile2; local
2267 return collate(*file1, *file2);
/freebsd-11-stable/libexec/ftpd/
H A Dftpd.c210 #define LOGCMD2(cmd, file1, file2) logcmd((cmd), (file1), (file2), -1)
3338 logcmd(char *cmd, char *file1, char *file2, off_t cnt)
3352 if (file2)
3353 appendf(&msg, " %s", file2);
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd.c121 #define LOGCMD2(cmd, file1, file2) \
125 *(file2) == '/' ? "" : curdir(), file2);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang-c/
H A DIndex.h425 * Returns non-zero if the \c file1 and \c file2 point to the same file,
428 CINDEX_LINKAGE int clang_File_isEqual(CXFile file1, CXFile file2);
/freebsd-11-stable/contrib/sqlite3/
H A Dsqlite3.c95051 SorterFile file2; /* Space for other PMAs */ member in struct:SortSubtask
[all...]

Completed in 899 milliseconds

12