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

12

/macosx-10.10/apr-32/apr/apr/file_io/netware/
H A Dfilesys.c49 apr_status_t filepath_compare_drive(const char *path1, const char *path2, apr_pool_t *p) argument
53 if (path1 && path2) {
54 s1 = strchr (path1, ':');
60 if (s1 && s2 && ((s1-path1) == (s2-path2))) {
61 return strnicmp (s1, s2, s1-path1);
/macosx-10.10/xar-254/xar/test/
H A Dhardlink.py15 def _assert_same_inodes(path1, path2):
16 assert os.path.exists(path1), "missing hard-linked-file {p}".format(p=path1)
17 assert os.path.exists(path1), "missing hard-linked-file {p}".format(p=path2)
18 stat1 = os.lstat(path1)
20 assert stat1.st_ino == stat2.st_ino, "inodes do not match for hard-linked files \"{p1}\" and \"{p2}\"".format(p1=path1, p2=path2)
H A Dutil.py80 def assert_identical_directories(path1, path2):
88 for file1 in os.listdir(path1):
90 entry1 = os.path.join(path1, file1)
92 assert os.path.exists(entry2), "\"{f1}\" exists in \"{p1}\" but not \"{p2}\"".format(f1=file1, p1=path1, p2=path2)
130 assert file2 in seen, "\"{f2}\" exists in \"{p2}\" but not \"{p1}\"".format(f2=file2, p1=path1, p2=path2)
/macosx-10.10/libarchive-30/libarchive/libarchive/test/
H A Dtest_read_format_isorr_ce.c88 char path1[160]; local
98 mkpath(path1, 151);
136 } else if (strcmp(path1, archive_entry_pathname(ae)) == 0) {
138 assertEqualString(path1, archive_entry_pathname(ae));
181 assertEqualString(path1, 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.c836 const char *path1, const char *path2)
843 r = my_GetFileInformationByName(path1, &bhfi1);
845 failure_start(file, line, "File %s can't be inspected?", path1);
863 r = lstat(path1, &st1);
865 failure_start(file, line, "File should exist: %s", path1);
881 const char *path1, const char *path2)
883 if (is_hardlink(file, line, path1, path2))
886 "Files %s and %s are not hardlinked", path1, path2);
893 const char *path1, const char *path2)
895 if (!is_hardlink(file, line, path1, path
835 is_hardlink(const char *file, int line, const char *path1, const char *path2) argument
880 assertion_is_hardlink(const char *file, int line, const char *path1, const char *path2) argument
892 assertion_is_not_hardlink(const char *file, int line, const char *path1, const char *path2) argument
[all...]
/macosx-10.10/ICU-531.30/icuSources/config/
H A Dmh-alpha-osf33 LD_RPATH= $(LD_RPATH)$(LD_RPATH_PRE)path1
/macosx-10.10/OpenSSH-189/openssh/
H A Dsftp.c1116 int *hflag, int *sflag, unsigned long *n_arg, char **path1, char **path2)
1161 *path1 = *path2 = NULL;
1175 *path1 = xstrdup(argv[optidx]);
1193 *path1 = xstrdup(argv[optidx]);
1196 undo_glob_escape(*path1);
1211 *path1 = xstrdup(argv[optidx]);
1214 undo_glob_escape(*path1);
1222 *path1 = NULL;
1224 *path1 = xstrdup(argv[optidx]);
1225 undo_glob_escape(*path1);
1115 parse_args(const char **cpp, int *pflag, int *rflag, int *lflag, int *iflag, int *hflag, int *sflag, unsigned long *n_arg, char **path1, char **path2) argument
1289 char *path1, *path2, *tmp; local
[all...]
/macosx-10.10/libarchive-30/libarchive/cpio/test/
H A Dtest.h190 #define assertIsHardlink(path1, path2) \
191 assertion_is_hardlink(__FILE__, __LINE__, path1, path2)
192 #define assertIsNotHardlink(path1, path2) \
193 assertion_is_not_hardlink(__FILE__, __LINE__, path1, path2)
H A Dmain.c846 const char *path1, const char *path2)
853 r = my_GetFileInformationByName(path1, &bhfi1);
855 failure_start(file, line, "File %s can't be inspected?", path1);
873 r = lstat(path1, &st1);
875 failure_start(file, line, "File should exist: %s", path1);
891 const char *path1, const char *path2)
893 if (is_hardlink(file, line, path1, path2))
896 "Files %s and %s are not hardlinked", path1, path2);
903 const char *path1, const char *path2)
905 if (!is_hardlink(file, line, path1, path
845 is_hardlink(const char *file, int line, const char *path1, const char *path2) argument
890 assertion_is_hardlink(const char *file, int line, const char *path1, const char *path2) argument
902 assertion_is_not_hardlink(const char *file, int line, const char *path1, const char *path2) argument
[all...]
/macosx-10.10/libarchive-30/libarchive/tar/test/
H A Dtest.h192 #define assertIsHardlink(path1, path2) \
193 assertion_is_hardlink(__FILE__, __LINE__, path1, path2)
194 #define assertIsNotHardlink(path1, path2) \
195 assertion_is_not_hardlink(__FILE__, __LINE__, path1, path2)
H A Dtest_windows.c42 mkfullpath(char **path1, char **path2, const char *tpath, int type) argument
111 *path1 = fp1;
H A Dmain.c942 const char *path1, const char *path2)
949 r = my_GetFileInformationByName(path1, &bhfi1);
951 failure_start(file, line, "File %s can't be inspected?", path1);
969 r = lstat(path1, &st1);
971 failure_start(file, line, "File should exist: %s", path1);
987 const char *path1, const char *path2)
989 if (is_hardlink(file, line, path1, path2))
992 "Files %s and %s are not hardlinked", path1, path2);
999 const char *path1, const char *path2)
1001 if (!is_hardlink(file, line, path1, path
941 is_hardlink(const char *file, int line, const char *path1, const char *path2) argument
986 assertion_is_hardlink(const char *file, int line, const char *path1, const char *path2) argument
998 assertion_is_not_hardlink(const char *file, int line, const char *path1, const char *path2) argument
[all...]
/macosx-10.10/DiskArbitration-268/diskarbitrationd/
H A DDAPrivate.c265 CFURLRef path1 = NULL; local
269 path1 = DADiskGetDescription( disk, kDADiskDescriptionVolumePathKey );
270 if ( path1 == NULL ) { status = kDAReturnBadArgument; goto _DADiskSetEncodingErr; }
272 status = __DAFileSystemSetEncoding( DADiskGetFileSystem( disk ), path1, encoding );
281 name2 = _DAFileSystemCopyName( DADiskGetFileSystem( disk ), path1 );
/macosx-10.10/apache-793/httpd/modules/dav/fs/
H A Drepos.c62 dav_buffer path1; member in struct:__anon6174
1525 dav_check_bufsize(pool, &fsctx->path1, DAV_BUFFER_PAD);
1526 fsctx->path1.buf[fsctx->path1.cur_len++] = '/';
1527 fsctx->path1.buf[fsctx->path1.cur_len] = '\0'; /* in pad area */
1546 if ((status = apr_dir_open(&dirp, fsctx->path1.buf, pool)) != APR_SUCCESS) {
1582 dav_buffer_place_mem(pool, &fsctx->path1, dirent.name, len + 1, 0);
1584 status = apr_stat(&fsctx->info1.finfo, fsctx->path1.buf,
1603 fsctx->info1.pathname = fsctx->path1
[all...]
/macosx-10.10/tcsh-65/tcsh/win32/
H A Dsupport.c566 char * path1=NULL; local
716 rc = GetEnvironmentVariable("Path",path1,0);
719 path1 =heap_alloc(rc);
721 GetEnvironmentVariable("Path",path1,rc);
724 SetEnvironmentVariable("PATH",path1);
726 heap_free(path1);
/macosx-10.10/apr-32/apr/apr/include/arch/netware/
H A Dapr_arch_file_io.h163 apr_status_t filepath_compare_drive(const char *path1, const char *path2, apr_pool_t *p);
/macosx-10.10/bash-94.1.2/bash-3.2/
H A Dgeneral.c397 same_file (path1, path2, stp1, stp2)
398 char *path1, *path2;
405 if (stat (path1, &st1) != 0)
/macosx-10.10/ruby-106/ruby/ext/pathname/lib/
H A Dpathname.rb334 def plus(path1, path2) # -> path # :nodoc:
344 prefix1 = path1
382 # path1 = Pathname.new("/usr") + "bin/ruby" # Pathname:/usr/bin/ruby
383 # path0 == path1
/macosx-10.10/webdavfs-367/mount.tproj/
H A Dwebdav_cookie.c83 boolean_t path2InPath1(const char *path1, const char *path2);
1601 // Returns TRUE if path2 is enclosed in path1.
1603 // Example: path1 = /a/b/c
1612 boolean_t path2InPath1(const char *path1, const char *path2) argument
1619 if (path1 == NULL || path2 == NULL)
1622 path1Len = strlen(path1);
1631 if (path1[0] != '/' || path2[0] != '/') {
1635 // If path1 is '/', then it includes all subpaths
1642 if (path1[path1Len - 1] == '/')
1652 if (path1[
[all...]
/macosx-10.10/apr-32/apr/apr/file_io/win32/
H A Dfilepath.c331 static int same_drive(const char *path1, const char *path2) argument
333 char drive1 = path1[0];
336 if (!drive1 || !drive2 || path1[1] != ':' || path2[1] != ':')
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/generic/
H A DtclXutil.c773 * o path1, path2 - File paths to join.
781 TclX_JoinPath (path1, path2, joinedPath)
782 char *path1;
788 joinArgv [0] = path1;
/macosx-10.10/emacs-93/emacs/lisp/textmodes/
H A Dreftex.el1586 (let (path1 dir recursive)
1595 (setq path1 (append (reftex-recursive-directory-list dir) path1))
1597 (push dir path1)))
1598 (nreverse path1)))
1602 (let ((path (list dir)) path1 file files)
1609 (push dir path1)))
1610 path1))
/macosx-10.10/ruby-106/ruby/ext/tk/lib/tkextlib/iwidgets/
H A Dmenubar.rb153 def delete(path1, path2=nil)
/macosx-10.10/tcl-105/tcl_ext/incrtcl/iwidgets/generic/
H A Dmenubar.itk1630 set path1 [_parsePath $entryPath]
1633 set fromEntryIndex $_pathMap($path1)
1647 regsub {[.][^.]*$} $path1 "" menuPath

Completed in 162 milliseconds

12