Searched refs:path2 (Results 1 - 25 of 34) 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) {
55 s2 = strchr (path2, ':');
60 if (s1 && s2 && ((s1-path1) == (s2-path2))) {
/macosx-10.10/man-16/man/src/
H A Dman-iconv.c82 char *charset_env, *file, *path2, *p; local
96 path2 = my_strdup(path);
97 p = strrchr(path2, '/');
100 file = my_xsprintf("%s/.charset", path2);
104 free(path2);
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/PyObjCTest/
H A Dtest_cgpath.py78 path2 = CGPathCreateMutable()
80 CGPathAddPath(path, transform, path2)
83 self.assertTrue(CGPathIsEmpty(path2) is True)
150 path2 = CGPathCreateCopyByTransformingPath(path, transform)
151 self.assertIsInstance(path2, CGPathRef)
163 path2 = CGPathCreateCopyByDashingPath(path, transform, 2.5, [2.0, 3.0, 4.0], 3)
164 self.assertIsInstance(path2, CGPathRef)
167 path2 = CGPathCreateCopyByStrokingPath(path, transform, 4, kCGLineCapButt, kCGLineJoinRound, 1.0)
168 self.assertIsInstance(path2, CGPathRef)
/macosx-10.10/xar-254/xar/test/
H A Dhardlink.py15 def _assert_same_inodes(path1, path2):
17 assert os.path.exists(path1), "missing hard-linked-file {p}".format(p=path2)
19 stat2 = os.lstat(path2)
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):
91 entry2 = os.path.join(path2, file1)
92 assert os.path.exists(entry2), "\"{f1}\" exists in \"{p1}\" but not \"{p2}\"".format(f1=file1, p1=path1, p2=path2)
129 for file2 in os.listdir(path2):
130 assert file2 in seen, "\"{f2}\" exists in \"{p2}\" but not \"{p1}\"".format(f2=file2, p1=path1, p2=path2)
/macosx-10.10/DiskArbitration-268/diskarbitrationd/
H A DDAPrivate.c266 CFURLRef path2 = NULL; local
296 path2 = DAMountCreateMountPointWithAction( disk, kDAMountPointActionMove );
301 if ( path2 )
303 DADiskSetBypath( disk, path2 );
305 DADiskSetDescription( disk, kDADiskDescriptionVolumePathKey, path2 );
316 if ( path2 ) CFRelease( path2 );
/macosx-10.10/libarchive-30/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.c836 const char *path1, const char *path2)
849 r = my_GetFileInformationByName(path2, &bhfi2);
851 failure_start(file, line, "File %s can't be inspected?", path2);
869 r = lstat(path2, &st2);
871 failure_start(file, line, "File should exist: %s", path2);
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, path2))
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/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)
859 r = my_GetFileInformationByName(path2, &bhfi2);
861 failure_start(file, line, "File %s can't be inspected?", path2);
879 r = lstat(path2, &st2);
881 failure_start(file, line, "File should exist: %s", path2);
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, path2))
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
112 *path2 = fp2;
H A Dmain.c942 const char *path1, const char *path2)
955 r = my_GetFileInformationByName(path2, &bhfi2);
957 failure_start(file, line, "File %s can't be inspected?", path2);
975 r = lstat(path2, &st2);
977 failure_start(file, line, "File should exist: %s", path2);
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, path2))
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/ruby-106/ruby/ext/pathname/lib/
H A Dpathname.rb334 def plus(path1, path2) # -> path # :nodoc:
335 prefix2 = path2
343 return path2 if prefix2 != ''
368 suffix2 = path2[index_list2.first..-1]
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Quartz/PyObjCTest/
H A Dtest_cgpath.py73 path2 = CGPathCreateMutable()
75 CGPathAddPath(path, transform, path2)
78 self.failUnless(CGPathIsEmpty(path2) is True)
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Quartz/PyObjCTest/
H A Dtest_cgpath.py73 path2 = CGPathCreateMutable()
75 CGPathAddPath(path, transform, path2)
78 self.assertTrue(CGPathIsEmpty(path2) is True)
/macosx-10.10/apache-793/httpd/modules/dav/fs/
H A Drepos.c68 dav_buffer path2; member in struct:__anon6174
1530 if (fsctx->path2.buf != NULL) {
1531 dav_check_bufsize(pool, &fsctx->path2, DAV_BUFFER_PAD);
1532 fsctx->path2.buf[fsctx->path2.cur_len++] = '/';
1533 fsctx->path2.buf[fsctx->path2.cur_len] = '\0'; /* in pad area */
1598 if (fsctx->path2.buf != NULL) {
1599 dav_buffer_place_mem(pool, &fsctx->path2, dirent.name, len + 1, 0);
1604 fsctx->info2.pathname = fsctx->path2
[all...]
/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/ruby-106/ruby/ext/tk/lib/tkextlib/iwidgets/
H A Dmenubar.rb153 def delete(path1, path2=nil)
154 if path2
/macosx-10.10/bash-94.1.2/bash-3.2/
H A Dgeneral.c397 same_file (path1, path2, stp1, stp2)
398 char *path1, *path2;
412 if (stat (path2, &st2) != 0)
/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.
1605 // path2 Return Value
1612 boolean_t path2InPath1(const char *path1, const char *path2) argument
1619 if (path1 == NULL || path2 == NULL)
1623 path2Len = strlen(path2);
1631 if (path1[0] != '/' || path2[0] != '/') {
1644 if (path2[path2Len - 1] == '/')
1652 if (path1[i] != path2[i]) {
1657 // if we got here then path2 i
[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
334 char drive2 = path2[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)
783 char *path2;
789 joinArgv [1] = path2;
/macosx-10.10/bind9-45.101/bind9/unit/atf-src/atf-sh/
H A Datf-check.cpp622 atf::fs::path path2 = atf::fs::path(atf::config::get("atf_workdir")) local
624 temp_file temp(path2);

Completed in 231 milliseconds

12