file1 40 maint/gnulib/lib/at-func2.c at_func2 (int fd1, char const *file1, file1 42 maint/gnulib/lib/at-func2.c int (*func) (char const *file1, char const *file2)) file1 77 maint/gnulib/lib/at-func2.c if ((fd1 == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file1)) file1 79 maint/gnulib/lib/at-func2.c return func (file1, file2); /* Case 0-2, 4-6, 8-10. */ file1 84 maint/gnulib/lib/at-func2.c char *proc_file1 = ((fd1 == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file1)) file1 85 maint/gnulib/lib/at-func2.c ? (char *) file1 file1 86 maint/gnulib/lib/at-func2.c : openat_proc_name (proc_buf1, fd1, file1)); file1 97 maint/gnulib/lib/at-func2.c if (proc_file1 != proc_buf1 && proc_file1 != file1) file1 112 maint/gnulib/lib/at-func2.c else if (proc_file1 != proc_buf1 && proc_file1 != file1) file1 119 maint/gnulib/lib/at-func2.c if (IS_ABSOLUTE_FILE_NAME (file1)) file1 136 maint/gnulib/lib/at-func2.c return func (file1, file2); file1 148 maint/gnulib/lib/at-func2.c return func (file1, file2); file1 163 maint/gnulib/lib/at-func2.c return func (file1, file2); /* Further reduced to case 5. */ file1 176 maint/gnulib/lib/at-func2.c return func (file1, file2); /* Reduced to case 5. */ file1 180 maint/gnulib/lib/at-func2.c if (file1[0] == '\0' || file2[0] == '\0') file1 207 maint/gnulib/lib/at-func2.c file1_alt = (char *) file1; file1 210 maint/gnulib/lib/at-func2.c if (fd1 == AT_FDCWD && !IS_ABSOLUTE_FILE_NAME (file1)) /* Case 7. */ file1 223 maint/gnulib/lib/at-func2.c file1_alt = mfile_name_concat (cwd, file1, NULL); file1 261 maint/gnulib/lib/at-func2.c if (file1 != file1_alt) file1 274 maint/gnulib/lib/at-func2.c if (file1 != file1_alt) file1 372 maint/gnulib/lib/git-merge-changelog.c struct changelog_file *file1; file1 392 maint/gnulib/lib/git-merge-changelog.c struct changelog_file *file1 = mapping->file1; file1 394 maint/gnulib/lib/git-merge-changelog.c size_t n1 = file1->num_entries; file1 396 maint/gnulib/lib/git-merge-changelog.c struct entry *entry_i = file1->entries[i]; file1 425 maint/gnulib/lib/git-merge-changelog.c entry_fstrcmp (file1->entries[ii], entry_j, file1 455 maint/gnulib/lib/git-merge-changelog.c struct changelog_file *file1 = mapping->file1; file1 457 maint/gnulib/lib/git-merge-changelog.c size_t n1 = file1->num_entries; file1 469 maint/gnulib/lib/git-merge-changelog.c entry_fstrcmp (file1->entries[i], entry_j, best_i_similarity); file1 479 maint/gnulib/lib/git-merge-changelog.c struct entry *entry_i = file1->entries[best_i]; file1 519 maint/gnulib/lib/git-merge-changelog.c compute_mapping (struct changelog_file *file1, struct changelog_file *file2, file1 527 maint/gnulib/lib/git-merge-changelog.c size_t n1 = file1->num_entries; file1 543 maint/gnulib/lib/git-merge-changelog.c struct entry *entry = file1->entries[i]; file1 570 maint/gnulib/lib/git-merge-changelog.c gl_list_indexof_from (file1->entries_reversed, file1 591 maint/gnulib/lib/git-merge-changelog.c result->file1 = file1; file1 656 maint/gnulib/lib/git-merge-changelog.c compute_differences (struct changelog_file *file1, struct changelog_file *file2, file1 665 maint/gnulib/lib/git-merge-changelog.c size_t n1 = file1->num_entries; file1 671 maint/gnulib/lib/git-merge-changelog.c ctxt.xvec = file1->entries; file1 71 maint/gnulib/lib/link.c link (const char *file1, const char *file2) file1 74 maint/gnulib/lib/link.c size_t len1 = strlen (file1); file1 90 maint/gnulib/lib/link.c if ((len1 && (file1[len1 - 1] == '/' || file1[len1 - 1] == '\\')) file1 95 maint/gnulib/lib/link.c if (stat (file1, &st)) file1 126 maint/gnulib/lib/link.c if (CreateHardLinkFunc (file2, file1, NULL) == 0) file1 183 maint/gnulib/lib/link.c rpl_link (char const *file1, char const *file2) file1 197 maint/gnulib/lib/link.c len1 = strlen (file1); file1 199 maint/gnulib/lib/link.c if ((len1 && file1[len1 - 1] == '/') file1 206 maint/gnulib/lib/link.c if (stat (file1, &st)) file1 235 maint/gnulib/lib/link.c return link (file1, file2); file1 44 maint/gnulib/lib/linkat.c link_immediate (char const *file1, char const *file2) file1 46 maint/gnulib/lib/linkat.c char *target = areadlink (file1); file1 62 maint/gnulib/lib/linkat.c if (lstat (file1, &st1) == 0 && stat (dir, &st2) == 0) file1 81 maint/gnulib/lib/linkat.c return link (file1, file2); file1 91 maint/gnulib/lib/linkat.c link_follow (char const *file1, char const *file2) file1 93 maint/gnulib/lib/linkat.c char *name = (char *) file1; file1 105 maint/gnulib/lib/linkat.c if (name != file1) file1 112 maint/gnulib/lib/linkat.c if (name != file1) file1 137 maint/gnulib/lib/linkat.c if (name != file1) file1 142 maint/gnulib/lib/linkat.c if (name != file1) file1 158 maint/gnulib/lib/linkat.c solaris_optimized_link_immediate (char const *file1, char const *file2) file1 161 maint/gnulib/lib/linkat.c return link (file1, file2); file1 162 maint/gnulib/lib/linkat.c return link_immediate (file1, file2); file1 166 maint/gnulib/lib/linkat.c solaris_optimized_link_follow (char const *file1, char const *file2) file1 169 maint/gnulib/lib/linkat.c return link (file1, file2); file1 170 maint/gnulib/lib/linkat.c return link_follow (file1, file2); file1 190 maint/gnulib/lib/linkat.c linkat (int fd1, char const *file1, int fd2, char const *file2, int flag) file1 197 maint/gnulib/lib/linkat.c return at_func2 (fd1, file1, fd2, file2, file1 209 maint/gnulib/lib/linkat.c linkat_follow (int fd1, char const *file1, int fd2, char const *file2) file1 211 maint/gnulib/lib/linkat.c char *name = (char *) file1; file1 221 maint/gnulib/lib/linkat.c if (name != file1) file1 228 maint/gnulib/lib/linkat.c if (name != file1) file1 253 maint/gnulib/lib/linkat.c if (name != file1) file1 258 maint/gnulib/lib/linkat.c if (name != file1) file1 268 maint/gnulib/lib/linkat.c rpl_linkat (int fd1, char const *file1, int fd2, char const *file2, int flag) file1 279 maint/gnulib/lib/linkat.c size_t len1 = strlen (file1); file1 281 maint/gnulib/lib/linkat.c if ((len1 && file1[len1 - 1] == '/') file1 288 maint/gnulib/lib/linkat.c if (fstatat (fd1, file1, &st, flag ? 0 : AT_SYMLINK_NOFOLLOW)) file1 301 maint/gnulib/lib/linkat.c int result = linkat (fd1, file1, fd2, file2, flag); file1 307 maint/gnulib/lib/linkat.c return at_func2 (fd1, file1, fd2, file2, link_immediate); file1 317 maint/gnulib/lib/linkat.c int result = linkat (fd1, file1, fd2, file2, flag); file1 326 maint/gnulib/lib/linkat.c return linkat_follow (fd1, file1, fd2, file2); file1 60 maint/gnulib/lib/openat-priv.h int at_func2 (int fd1, char const *file1, file1 62 maint/gnulib/lib/openat-priv.h int (*func) (char const *file1, char const *file2)); file1 1250 maint/gnulib/lib/stdio.in.h (int fd1, char const *file1, int fd2, char const *file2) file1 1253 maint/gnulib/lib/stdio.in.h (int fd1, char const *file1, int fd2, char const *file2)); file1 1257 maint/gnulib/lib/stdio.in.h (int fd1, char const *file1, int fd2, char const *file2) file1 1261 maint/gnulib/lib/stdio.in.h (int fd1, char const *file1, int fd2, char const *file2)); file1 35 maint/gnulib/tests/test-copy-acl.c const char *file1; file1 44 maint/gnulib/tests/test-copy-acl.c file1 = argv[1]; file1 47 maint/gnulib/tests/test-copy-acl.c fd1 = open (file1, O_RDONLY); file1 50 maint/gnulib/tests/test-copy-acl.c fprintf (stderr, "could not open file \"%s\"\n", file1); file1 63 maint/gnulib/tests/test-copy-acl.c if (copy_acl (file1, fd1, file2, fd2, mode)) file1 30 maint/gnulib/tests/test-copy-file.c const char *file1; file1 36 maint/gnulib/tests/test-copy-file.c file1 = argv[1]; file1 41 maint/gnulib/tests/test-copy-file.c ASSERT (qcopy_file_preserving (file1, file2) == 0); file1 43 maint/gnulib/tests/test-copy-file.c copy_file_preserving (file1, file2); file1 168 maint/gnulib/tests/test-linkat.c char *file1 = mfile_name_concat ((i & 4) ? ".." : cwd, BASE "xx", NULL); file1 171 maint/gnulib/tests/test-linkat.c ASSERT (file1); file1 175 maint/gnulib/tests/test-linkat.c ASSERT (sprintf (strchr (file1, '\0') - 2, "%02d", i) == 2); file1 177 maint/gnulib/tests/test-linkat.c ASSERT (linkat (fd1, file1, fd2, file2, flag) == 0); file1 178 maint/gnulib/tests/test-linkat.c ASSERT (unlinkat (fd1, file1, 0) == 0); file1 179 maint/gnulib/tests/test-linkat.c free (file1); file1 127 maint/gnulib/tests/test-renameat.c char *file1 = file_name_concat ((i & 4) ? ".." : cwd, BASE "xx", NULL); file1 131 maint/gnulib/tests/test-renameat.c ASSERT (sprintf (strchr (file1, '\0') - 2, "%02d", i) == 2); file1 133 maint/gnulib/tests/test-renameat.c ASSERT (renameat (fd1, file1, fd2, file2) == 0); file1 134 maint/gnulib/tests/test-renameat.c free (file1); file1 130 maint/gnulib/tests/test-renameatu.c char *file1 = file_name_concat ((i & 4) ? ".." : cwd, BASE "xx", NULL); file1 134 maint/gnulib/tests/test-renameatu.c ASSERT (sprintf (strchr (file1, '\0') - 2, "%02d", i) == 2); file1 136 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (fd1, file1, fd2, file2, 0) == 0); file1 137 maint/gnulib/tests/test-renameatu.c free (file1); file1 43 maint/gnulib/tests/test-sameacls.c const char *file1; file1 48 maint/gnulib/tests/test-sameacls.c file1 = argv[1]; file1 58 maint/gnulib/tests/test-sameacls.c contents1 = read_file (file1, 0, &size1); file1 61 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error reading file %s: errno = %d\n", file1, errno); file1 76 maint/gnulib/tests/test-sameacls.c file1, file2); file1 83 maint/gnulib/tests/test-sameacls.c file1, file2); file1 97 maint/gnulib/tests/test-sameacls.c if (stat (file1, &statbuf1) < 0) file1 99 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing file %s: errno = %d\n", file1, errno); file1 112 maint/gnulib/tests/test-sameacls.c file1, file2, file1 138 maint/gnulib/tests/test-sameacls.c acl1 = acl_get_file (file1, type); file1 178 maint/gnulib/tests/test-sameacls.c file1, file2, text1, text2); file1 185 maint/gnulib/tests/test-sameacls.c file1, file2); file1 194 maint/gnulib/tests/test-sameacls.c file1, file2); file1 202 maint/gnulib/tests/test-sameacls.c file1, file2, errno1, errno2); file1 211 maint/gnulib/tests/test-sameacls.c file1, file2); file1 220 maint/gnulib/tests/test-sameacls.c file1, file2); file1 235 maint/gnulib/tests/test-sameacls.c count1 = acl (file1, GETACLCNT, 0, NULL); file1 244 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing the ACLs of file %s\n", file1); file1 257 maint/gnulib/tests/test-sameacls.c file1, file2, count1, count2); file1 266 maint/gnulib/tests/test-sameacls.c if (count1 > 0 && acl (file1, GETACL, count1, entries1) < count1) file1 268 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error retrieving the ACLs of file %s\n", file1); file1 283 maint/gnulib/tests/test-sameacls.c file1, file2, i, entries1[i].a_type, entries2[i].a_type); file1 289 maint/gnulib/tests/test-sameacls.c file1, file2, i, (int)entries1[i].a_id, (int)entries2[i].a_id); file1 295 maint/gnulib/tests/test-sameacls.c file1, file2, i, (unsigned int) entries1[i].a_perm, (unsigned int) entries2[i].a_perm); file1 303 maint/gnulib/tests/test-sameacls.c count1 = acl (file1, ACE_GETACLCNT, 0, NULL); file1 311 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing the ACE-ACLs of file %s\n", file1); file1 327 maint/gnulib/tests/test-sameacls.c ret = acl (file1, ACE_GETACL, count1, entries1); file1 332 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error retrieving the ACE-ACLs of file %s\n", file1); file1 349 maint/gnulib/tests/test-sameacls.c file1, file2, count1, count2); file1 358 maint/gnulib/tests/test-sameacls.c file1, file2, i, entries1[i].a_type, entries2[i].a_type); file1 364 maint/gnulib/tests/test-sameacls.c file1, file2, i, (int)entries1[i].a_who, (int)entries2[i].a_who); file1 370 maint/gnulib/tests/test-sameacls.c file1, file2, i, (unsigned int) entries1[i].a_access_mask, (unsigned int) entries2[i].a_access_mask); file1 376 maint/gnulib/tests/test-sameacls.c file1, file2, i, (unsigned int) entries1[i].a_flags, (unsigned int) entries2[i].a_flags); file1 388 maint/gnulib/tests/test-sameacls.c count1 = getacl (file1, 0, NULL); file1 399 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing the ACLs of file %s\n", file1); file1 412 maint/gnulib/tests/test-sameacls.c file1, file2, count1, count2); file1 421 maint/gnulib/tests/test-sameacls.c if (getacl (file1, count1, entries1) < count1) file1 423 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error retrieving the ACLs of file %s\n", file1); file1 438 maint/gnulib/tests/test-sameacls.c file1, file2, i, (int)entries1[i].uid, (int)entries2[i].uid); file1 444 maint/gnulib/tests/test-sameacls.c file1, file2, i, (int)entries1[i].gid, (int)entries2[i].gid); file1 450 maint/gnulib/tests/test-sameacls.c file1, file2, i, (unsigned int) entries1[i].mode, (unsigned int) entries2[i].mode); file1 462 maint/gnulib/tests/test-sameacls.c count1 = acl ((char *) file1, ACL_CNT, NACLVENTRIES, dummy_entries); file1 474 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing the ACLs of file %s\n", file1); file1 487 maint/gnulib/tests/test-sameacls.c file1, file2, count1, count2); file1 496 maint/gnulib/tests/test-sameacls.c if (acl ((char *) file1, ACL_GET, count1, entries1) < count1) file1 498 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error retrieving the ACLs of file %s\n", file1); file1 513 maint/gnulib/tests/test-sameacls.c file1, file2, i, entries1[i].a_type, entries2[i].a_type); file1 519 maint/gnulib/tests/test-sameacls.c file1, file2, i, (int)entries1[i].a_id, (int)entries2[i].a_id); file1 525 maint/gnulib/tests/test-sameacls.c file1, file2, i, (unsigned int) entries1[i].a_perm, (unsigned int) entries2[i].a_perm); file1 550 maint/gnulib/tests/test-sameacls.c if (aclx_get (file1, 0, &type1, acl1, &aclsize1, &mode1) < 0) file1 556 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing the ACLs of file %s\n", file1); file1 562 maint/gnulib/tests/test-sameacls.c if (aclx_printStr (text1, &textsize1, acl1, aclsize1, type1, file1, 0) < 0) file1 564 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "cannot convert the ACLs of file %s to text\n", file1); file1 594 maint/gnulib/tests/test-sameacls.c file1, file2, text1, text2); file1 602 maint/gnulib/tests/test-sameacls.c if (statacl (file1, STX_NORMAL, &acl1.a, sizeof (acl1)) < 0) file1 604 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing the ACLs of file %s\n", file1); file1 618 maint/gnulib/tests/test-sameacls.c file1, file2, acl1.a.acl_len, acl2.a.acl_len); file1 624 maint/gnulib/tests/test-sameacls.c file1, file2, acl1.a.acl_mode, acl2.a.acl_mode); file1 632 maint/gnulib/tests/test-sameacls.c file1, file2, file1 640 maint/gnulib/tests/test-sameacls.c file1, file2); file1 647 maint/gnulib/tests/test-sameacls.c count1 = acl ((char *) file1, ACL_CNT, NACLENTRIES, NULL); file1 652 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing the ACLs of file %s\n", file1); file1 665 maint/gnulib/tests/test-sameacls.c file1, file2, count1, count2); file1 674 maint/gnulib/tests/test-sameacls.c if (acl ((char *) file1, ACL_GET, count1, entries1) < count1) file1 676 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error retrieving the ACLs of file %s\n", file1); file1 691 maint/gnulib/tests/test-sameacls.c file1, file2, i, entries1[i].a_type, entries2[i].a_type); file1 697 maint/gnulib/tests/test-sameacls.c file1, file2, i, (int)entries1[i].a_id, (int)entries2[i].a_id); file1 703 maint/gnulib/tests/test-sameacls.c file1, file2, i, (unsigned int) entries1[i].a_perm, (unsigned int) entries2[i].a_perm);