Searched refs:file1 (Results 1 - 15 of 15) sorted by relevance

/haiku-fatelf/src/bin/coreutils/lib/
H A Dlinkat.c55 link_immediate (char const *file1, char const *file2) argument
57 char *target = areadlink (file1);
73 if (lstat (file1, &st1) == 0 && stat (dir, &st2) == 0)
94 return link (file1, file2);
104 link_follow (char const *file1, char const *file2) argument
106 char *name = (char *) file1;
118 if (name != file1)
125 if (name != file1)
150 if (name != file1)
159 if (name != file1)
177 linkat(int fd1, char const *file1, int fd2, char const *file2, int flag) argument
196 linkat_follow(int fd1, char const *file1, int fd2, char const *file2) argument
263 rpl_linkat(int fd1, char const *file1, int fd2, char const *file2, int flag) argument
[all...]
H A Dat-func2.c40 at_func2 (int fd1, char const *file1, argument
42 int (*func) (char const *file1, char const *file2))
55 fd1 file1 fd2 file2 action
63 7 cwd rel fd rel convert file1 to abs, then case 3
77 if ((fd1 == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file1))
79 return func (file1, file2); /* Case 0-2, 4-6, 8-10. */
84 char *proc_file1 = ((fd1 == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file1))
85 ? (char *) file1
86 : openat_proc_name (proc_buf1, fd1, file1));
97 if (proc_file1 != proc_buf1 && proc_file1 != file1)
[all...]
H A Dlink.c57 link (const char *file1, const char *file2) argument
60 size_t len1 = strlen (file1);
72 if ((len1 && (file1[len1 - 1] == '/' || file1[len1 - 1] == '\\'))
76 if (stat (file1, &st) == 0 && S_ISDIR (st.st_mode))
102 if (CreateHardLinkFunc (file2, file1, NULL) == 0)
159 rpl_link (char const *file1, char const *file2) argument
162 size_t len1 = strlen (file1);
164 if ((len1 && file1[len1 - 1] == '/')
172 if (stat (file1,
[all...]
H A Dopenat-priv.h40 int at_func2 (int fd1, char const *file1,
42 int (*func) (char const *file1, char const *file2));
H A Dstdio.in.h530 extern int renameat (int fd1, char const *file1, int fd2, char const *file2)
/haiku-fatelf/src/bin/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...]
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Drunlist.c1957 static runlist_element file1[] = { local
2009 test_rl_pure_test(1, c, m, 0, 40, file1, sizeof(file1));
2010 test_rl_pure_test(2, c, m, 40, 40, file1, sizeof(file1));
2011 test_rl_pure_test(3, c, m, 60, 40, file1, sizeof(file1));
2012 test_rl_pure_test(4, c, m, 0, 100, file1, sizeof(file1));
2013 test_rl_pure_test(5, c, m, 200, 40, file1, sizeo
[all...]
/haiku-fatelf/src/bin/diffutils/src/
H A Ddir.c176 compare_names_for_qsort (void const *file1, void const *file2) argument
178 char const *const *f1 = file1;
H A Ddiff3.c345 /* Always compare file1 to file2, even if file2 is "-".
348 file0-file1 diffs didn't line up with the file0-file2 diffs
350 diff3 might report phantom changes from file1 to file2.
352 Also, try to compare file0 to file1, because this is where
354 of files is more likely to avoid phantom changes from file0 to file1.
1495 char const *file0, char const *file1, char const *file2)
1537 fprintf (outputfile, "||||||| %s\n", file1);
1553 type == DIFF_ALL ? file0 : file1);
1611 char const *file0, char const *file1, char const *file2)
1675 fprintf (outputfile, format_2nd, file1);
1489 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
1605 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...]
/haiku-fatelf/src/tests/kits/storage/
H A DEntryTest.cpp63 static TestEntry file1; variable
247 &dir1, &dir2, &file1, &subDir1,
455 InitTest1Paths(file1, B_OK);
500 InitTest1Paths(file1, B_OK, true);
566 InitTest1Refs(file1, B_OK);
606 InitTest1Refs(file1, B_OK, true);
654 InitTest1DirPaths(file1, B_OK);
702 InitTest1DirPaths(file1, B_OK, true);
932 InitTest2Paths(file1, B_OK);
977 InitTest2Paths(file1, B_O
[all...]
H A DResourcesTest.cpp984 CompareFiles(BFile &file1, BFile &file2) argument
988 CPPUNIT_ASSERT( file1.GetSize(&size1) == B_OK );
993 CPPUNIT_ASSERT( file1.ReadAt(0, buffer1, size1) == size1 );
1323 BFile file1(testFile1, B_READ_ONLY);
1325 CompareFiles(file1, file2);
1349 BFile file1(testFile1, B_READ_ONLY);
1351 CompareFiles(file1, file2);
1375 BFile file1(testFile1, B_READ_ONLY);
1377 CompareFiles(file1, file2);
H A DQueryTest.cpp428 // + file1
454 static QueryTestEntry file1(mountPoint + "file1", B_FILE_NODE);
457 static QueryTestEntry link1(mountPoint + "link1", B_SYMLINK_NODE, &file1);
465 &file1, &file2, &file3, &link1, &link2, &link3
1169 &file11, &file12, &file21, &file22, &file31, &file32, &file1,
1181 &file32, &link31, &file1, &file2, &file3, &link1, &link2, &link3
1434 &file11, &file12, &file21, &file22, &file31, &file32, &file1,
H A DMimeTypeTest.cpp3560 MimeInfoTestFile(string(testDir) + "/file1.cpp", "text/x-source-code"),
3561 MimeInfoTestFile(string(testDir) + "/subdir1/file1.gif", "image/gif"),
3562 MimeInfoTestFile(string(testDir) + "/subdir2/subsubdir1/file1",
3952 AppMimeTestFile(string(testDir) + "/file1",
4087 AppMimeTestFile file1(string(testDir) + "/file1",
4091 AppMimeTestFile file2(string(testDir) + "/file1",
4096 CHK(file1.Create(true, true) == B_OK);
4097 CHK(create_app_meta_mime(file1.name.c_str(), false, true, false)
4100 CheckAppMetaMime(file1);
[all...]
/haiku-fatelf/src/kits/app/
H A DRoster.cpp260 BFile file1, file2;
262 file1.SetTo(app1, B_READ_ONLY);
264 appFileInfo1.SetTo(&file1);
268 file1.GetModificationTime(&modificationTime1);
/haiku-fatelf/src/bin/network/ftpd/
H A Dftpd.c228 #define LOGCMD2(cmd, file1, file2) logcmd((cmd), (file1), (file2), -1)
3381 logcmd(char *cmd, char *file1, char *file2, off_t cnt)
3393 if (file1)
3394 appendf(&msg, " %s", file1);

Completed in 106 milliseconds