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

/freebsd-9.3-release/bin/ln/
H A Dln.c181 samedirent(const char *path1, const char *path2) argument
187 if (strcmp(path1, path2) == 0)
194 file2 = strrchr(path2, '/');
198 file2 = path2;
201 if (file1 - path1 >= PATH_MAX || file2 - path2 >= PATH_MAX)
211 if (file2 == path2)
214 memcpy(pathbuf, path2, file2 - path2);
215 pathbuf[file2 - path2] = '\0';
/freebsd-9.3-release/contrib/libarchive/libarchive/test/
H A Dtest_read_format_isorr_ce.c89 char path2[160]; local
99 mkpath(path2, 152);
150 } else if (strcmp(path2, archive_entry_pathname(ae)) == 0) {
152 assertEqualString(path2, archive_entry_pathname(ae));
190 assertEqualString(path2, archive_entry_symlink(ae));
H A Dtest.h193 #define assertIsHardlink(path1, path2) \
194 assertion_is_hardlink(__FILE__, __LINE__, path1, path2)
195 #define assertIsNotHardlink(path1, path2) \
196 assertion_is_not_hardlink(__FILE__, __LINE__, path1, path2)
H A Dmain.c852 const char *path1, const char *path2)
865 r = my_GetFileInformationByName(path2, &bhfi2);
867 failure_start(file, line, "File %s can't be inspected?", path2);
885 r = lstat(path2, &st2);
887 failure_start(file, line, "File should exist: %s", path2);
897 const char *path1, const char *path2)
899 if (is_hardlink(file, line, path1, path2))
902 "Files %s and %s are not hardlinked", path1, path2);
909 const char *path1, const char *path2)
911 if (!is_hardlink(file, line, path1, path2))
851 is_hardlink(const char *file, int line, const char *path1, const char *path2) argument
896 assertion_is_hardlink(const char *file, int line, const char *path1, const char *path2) argument
908 assertion_is_not_hardlink(const char *file, int line, const char *path1, const char *path2) argument
[all...]
/freebsd-9.3-release/contrib/libarchive/cpio/test/
H A Dtest.h189 #define assertIsHardlink(path1, path2) \
190 assertion_is_hardlink(__FILE__, __LINE__, path1, path2)
191 #define assertIsNotHardlink(path1, path2) \
192 assertion_is_not_hardlink(__FILE__, __LINE__, path1, path2)
H A Dmain.c862 const char *path1, const char *path2)
875 r = my_GetFileInformationByName(path2, &bhfi2);
877 failure_start(file, line, "File %s can't be inspected?", path2);
895 r = lstat(path2, &st2);
897 failure_start(file, line, "File should exist: %s", path2);
907 const char *path1, const char *path2)
909 if (is_hardlink(file, line, path1, path2))
912 "Files %s and %s are not hardlinked", path1, path2);
919 const char *path1, const char *path2)
921 if (!is_hardlink(file, line, path1, path2))
861 is_hardlink(const char *file, int line, const char *path1, const char *path2) argument
906 assertion_is_hardlink(const char *file, int line, const char *path1, const char *path2) argument
918 assertion_is_not_hardlink(const char *file, int line, const char *path1, const char *path2) argument
[all...]
/freebsd-9.3-release/contrib/libarchive/tar/test/
H A Dtest.h191 #define assertIsHardlink(path1, path2) \
192 assertion_is_hardlink(__FILE__, __LINE__, path1, path2)
193 #define assertIsNotHardlink(path1, path2) \
194 assertion_is_not_hardlink(__FILE__, __LINE__, path1, path2)
H A Dmain.c958 const char *path1, const char *path2)
971 r = my_GetFileInformationByName(path2, &bhfi2);
973 failure_start(file, line, "File %s can't be inspected?", path2);
991 r = lstat(path2, &st2);
993 failure_start(file, line, "File should exist: %s", path2);
1003 const char *path1, const char *path2)
1005 if (is_hardlink(file, line, path1, path2))
1008 "Files %s and %s are not hardlinked", path1, path2);
1015 const char *path1, const char *path2)
1017 if (!is_hardlink(file, line, path1, path2))
957 is_hardlink(const char *file, int line, const char *path1, const char *path2) argument
1002 assertion_is_hardlink(const char *file, int line, const char *path1, const char *path2) argument
1014 assertion_is_not_hardlink(const char *file, int line, const char *path1, const char *path2) argument
[all...]
/freebsd-9.3-release/sys/xen/xenbus/
H A Dxenbus.c127 const char *path2, struct xs_watch *watch,
131 char *state = malloc(strlen(path) + 1 + strlen(path2) + 1,
136 strcat(state, path2);
126 xenbus_watch_path2(device_t dev, const char *path, const char *path2, struct xs_watch *watch, xs_watch_cb_t *callback, uintptr_t callback_data) argument
H A Dxenbusvar.h147 * Initialize and register a watch at path/path2 in the XenStore.
151 * \param path2 The tail XenStore path of the object to be watched.
167 * watched object is allocated from the heap and filled with "path '/' path2".
172 const char *path2, struct xs_watch *watch,
/freebsd-9.3-release/sys/cam/
H A Dcam_xpt.h92 struct cam_path *path2);
H A Dcam_xpt.c3595 * in path1, 2 for match with wildcards in path2.
3598 xpt_path_comp(struct cam_path *path1, struct cam_path *path2) argument
3602 if (path1->bus != path2->bus) {
3605 else if (path2->bus->path_id == CAM_BUS_WILDCARD)
3610 if (path1->target != path2->target) {
3614 } else if (path2->target->target_id == CAM_TARGET_WILDCARD)
3619 if (path1->device != path2->device) {
3623 } else if (path2->device->lun_id == CAM_LUN_WILDCARD)
/freebsd-9.3-release/sys/dev/aic7xxx/
H A Daic7xxx_osm.c154 struct cam_path *path2; local
161 path2 = NULL;
252 if (xpt_create_path(&path2, /*periph*/NULL,
261 xpt_setup_ccb(&csa.ccb_h, path2, /*priority*/5);
276 ahc->platform_data->path = path2;
281 ahc->platform_data->path_b = path2;
/freebsd-9.3-release/bin/sh/
H A Dexec.c717 const char *path2 = path; local
721 name = padvance(&path2, argv[i]);
/freebsd-9.3-release/sys/sys/
H A Dsyscallsubr.h129 char *path2, enum uio_seg segflg, int follow);
227 int kern_symlinkat(struct thread *td, char *path1, int fd, char *path2,
H A Dsysproto.h1577 char path2_l_[PADL_(char *)]; char * path2; char path2_r_[PADR_(char *)]; member in struct:linkat_args
1617 char path2_l_[PADL_(char *)]; char * path2; char path2_r_[PADR_(char *)]; member in struct:symlinkat_args
/freebsd-9.3-release/usr.bin/make/
H A Ddir.c1176 Path_Concat(struct Path *path1, const struct Path *path2) argument
1180 TAILQ_FOREACH(p2, path2, link) {
/freebsd-9.3-release/sys/kern/
H A Dkern_jail.c4007 char *path1, *path2; local
4011 path2 = pr2->pr_path;
4013 return (path2);
4015 if (strncmp(path1, path2, len1))
4016 return (path2);
4017 if (path2[len1] == '\0')
4019 if (path2[len1] == '/')
4020 return (path2 + len1);
4021 return (path2);
H A Dvfs_syscalls.c1555 char *path2; member in struct:linkat_args
1568 return (kern_linkat(td, uap->fd1, uap->fd2, uap->path1, uap->path2,
1619 kern_linkat(struct thread *td, int fd1, int fd2, char *path1, char *path2, argument
1649 segflg, path2, fd2, td);
1706 char *path2; member in struct:symlinkat_args
1713 return (kern_symlinkat(td, uap->path1, uap->fd, uap->path2,
1725 kern_symlinkat(struct thread *td, char *path1, int fd, char *path2, argument
1746 segflg, path2, fd, td);
H A Dsystrace_args.c2945 uarg[3] = (intptr_t) p->path2; /* char * */
3013 uarg[2] = (intptr_t) p->path2; /* char * */
/freebsd-9.3-release/contrib/bmake/
H A Ddir.c1747 * path2 Source
1758 Dir_Concat(Lst path1, Lst path2) argument
1763 for (ln = Lst_First(path2); ln != NULL; ln = Lst_Succ(ln)) {
/freebsd-9.3-release/contrib/nvi/build/ExtUtils/
H A DEmbed.pm343 B<-I> <path1:path2>
/freebsd-9.3-release/sys/dev/filemon/
H A Dfilemon_wrapper.c451 copyinstr(uap->path2, filemon->fname2,
/freebsd-9.3-release/crypto/openssh/
H A Dsftp.c1193 unsigned long *n_arg, char **path1, char **path2)
1239 *path1 = *path2 = NULL;
1257 *path2 = xstrdup(argv[optidx + 1]);
1259 undo_glob_escape(*path2);
1285 *path2 = xstrdup(argv[optidx + 1]);
1288 undo_glob_escape(*path2);
1386 char *path1, *path2, *tmp; local
1396 path1 = path2 = NULL;
1398 &iflag, &lflag, &pflag, &rflag, &sflag, &n_arg, &path1, &path2);
1417 err = process_get(conn, path1, path2, *pw
1191 parse_args(const char **cpp, int *ignore_errors, int *aflag, int *fflag, int *hflag, int *iflag, int *lflag, int *pflag, int *rflag, int *sflag, unsigned long *n_arg, char **path1, char **path2) argument
[all...]
/freebsd-9.3-release/sys/compat/freebsd32/
H A Dfreebsd32_systrace_args.c2816 uarg[3] = (intptr_t) p->path2; /* char * */
2884 uarg[2] = (intptr_t) p->path2; /* char * */

Completed in 441 milliseconds