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

12

/macosx-10.10/bless-103/test/
H A Dtestgetfileid.c53 char newpath[MAXPATHLEN]; local
71 newpath), error);
73 require(strcmp(newpath, path) == 0, cantstrcmp);
75 printf("Success: %s\n", newpath);
83 printf("%s != %s\n", newpath, path);
96 char newpath[MAXPATHLEN]; local
108 newpath), error2);
110 printf("Success: %s\n", newpath);
/macosx-10.10/apr-32/apr/apr/file_io/win32/
H A Dfilepath.c46 char *newpath; local
81 newpath = apr_pcalloc(p, strlen(server)+strlen(volume)+5);
82 construct(newpath, server, volume, NULL, NULL, NULL, PATH_NETWARE);
86 strcat(newpath, seperator);
87 *rootpath = newpath;
91 newpath = volsep;
93 ++newpath;
94 } while (*newpath && ((*newpath == '/') || (*newpath
[all...]
/macosx-10.10/gpatch-3/patch/
H A Ddirname.c57 char *newpath = xmalloc (length + append_dot + 1); local
58 memcpy (newpath, path, length);
60 newpath[length++] = '.';
61 newpath[length] = 0;
62 return newpath;
/macosx-10.10/ICU-531.30/icuSources/tools/toolutil/
H A Dfiletools.cpp59 char newpath[MAX_PATH_SIZE] = ""; local
60 uprv_strcpy(newpath, checkAgainst);
61 uprv_strcat(newpath, U_FILE_SEP_STRING);
62 uprv_strcat(newpath, dirEntry->d_name);
64 if ((subDirp = opendir(newpath)) != NULL) {
65 /* If this new path is a directory, make a recursive call with the newpath. */
67 isLatest = isFileModTimeLater(filePath, newpath, isDir);
72 int32_t latest = whichFileModTimeIsLater(filePath, newpath);
/macosx-10.10/emacs-93/
H A Ddumpemacs.c159 char tempdir[MAXPATHLEN], newpath[MAXPATHLEN]; local
181 snprintf(newpath, sizeof(newpath), "%s/etc", tempdir);
182 if(debugflag) printf("Making directory %s\n", newpath);
183 ret = mkdir(newpath, S_IRWXU);
185 err(1, "mkdir(%s)", newpath);
186 chown(newpath, nobodyUID, 0);
188 snprintf(newpath, sizeof(newpath), "%s/lib-src", tempdir);
189 if(debugflag) printf("Making directory %s\n", newpath);
[all...]
/macosx-10.10/Heimdal-398.1.2/appl/ftp/ftpd/
H A Dpopen.c84 static char newpath[MaxPathLen]; local
90 snprintf(newpath, sizeof(newpath), "%s/%s", home, path);
91 if(access(newpath, X_OK))
92 strlcpy(newpath, path, sizeof(newpath));
93 return newpath;
/macosx-10.10/apr-32/apr/apr/file_io/os2/
H A Ddir_make_recurse.c49 const char *newpath = path_canonicalize(path, pool); local
52 for (i = strlen(newpath) - 1; i >= 0; i--) {
/macosx-10.10/autofs-246/automountd/
H A Dnfs_subr.c71 convert_special(char **specialp, char *host, char *oldpath, char *newpath, argument
156 p2 = newpath;
/macosx-10.10/OpenSSH-189/openssh/
H A Dsftp-server.c1064 char *oldpath, *newpath; local
1070 newpath = get_string(NULL);
1072 logit("rename old \"%s\" new \"%s\"", oldpath, newpath);
1080 if (link(oldpath, newpath) == -1) {
1095 if (stat(newpath, &st) == -1) {
1096 if (rename(oldpath, newpath) == -1)
1108 unlink(newpath);
1111 } else if (stat(newpath, &sb) == -1) {
1112 if (rename(oldpath, newpath) == -1)
1119 xfree(newpath);
1151 char *oldpath, *newpath; local
1174 char *oldpath, *newpath; local
1231 char *oldpath, *newpath; local
[all...]
H A Dsftp-client.c771 do_rename(struct sftp_conn *conn, char *oldpath, char *newpath) argument
789 buffer_put_cstring(&msg, newpath);
793 "SSH2_FXP_RENAME", oldpath, newpath);
799 newpath, fx2txt(status));
805 do_hardlink(struct sftp_conn *conn, char *oldpath, char *newpath) argument
823 buffer_put_cstring(&msg, newpath);
826 oldpath, newpath);
832 newpath, fx2txt(status));
838 do_symlink(struct sftp_conn *conn, char *oldpath, char *newpath) argument
855 buffer_put_cstring(&msg, newpath);
[all...]
/macosx-10.10/apr-32/apr/apr/file_io/unix/
H A Dfilepath.c81 APR_DECLARE(apr_status_t) apr_filepath_merge(char **newpath,
288 *newpath = path;
H A Ddir.c63 const char *newpath = path_canonicalize (path, pool); local
66 for (i = (strlen(newpath) - 1); i >= 0; i--) {
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/pop3d/
H A Dpop3d_dbox.tcl214 set newpath [file join $dir $new]
219 if {[file exists $newpath]} {
224 file rename -force $oldpath $newpath
/macosx-10.10/libarchive-30/libarchive/cpio/test/
H A Dtest.h247 int assertion_make_hardlink(const char *, int, const char *newpath, const char *);
248 int assertion_make_symlink(const char *, int, const char *newpath, const char *);
H A Dmain.c1323 const char *newpath, const char *linkto)
1329 succeeded = my_CreateHardLinkA(newpath, linkto);
1331 succeeded = !link(linkto, newpath);
1338 logprintf(" New link: %s\n", newpath);
1347 const char *newpath, const char *linkto)
1352 if (my_CreateSymbolicLinkA(newpath, linkto, targetIsDir))
1356 if (0 == symlink(linkto, newpath))
1360 logprintf(" New link: %s\n", newpath);
1322 assertion_make_hardlink(const char *file, int line, const char *newpath, const char *linkto) argument
1346 assertion_make_symlink(const char *file, int line, const char *newpath, const char *linkto) argument
/macosx-10.10/libarchive-30/libarchive/libarchive/test/
H A Dtest.h250 int assertion_make_hardlink(const char *, int, const char *newpath, const char *);
251 int assertion_make_symlink(const char *, int, const char *newpath, const char *);
H A Dmain.c1313 const char *newpath, const char *linkto)
1319 succeeded = my_CreateHardLinkA(newpath, linkto);
1321 succeeded = !link(linkto, newpath);
1328 logprintf(" New link: %s\n", newpath);
1337 const char *newpath, const char *linkto)
1342 if (my_CreateSymbolicLinkA(newpath, linkto, targetIsDir))
1346 if (0 == symlink(linkto, newpath))
1350 logprintf(" New link: %s\n", newpath);
1312 assertion_make_hardlink(const char *file, int line, const char *newpath, const char *linkto) argument
1336 assertion_make_symlink(const char *file, int line, const char *newpath, const char *linkto) argument
/macosx-10.10/libarchive-30/libarchive/tar/test/
H A Dtest.h250 int assertion_make_hardlink(const char *, int, const char *newpath, const char *);
251 int assertion_make_symlink(const char *, int, const char *newpath, const char *);
H A Dmain.c1419 const char *newpath, const char *linkto)
1425 succeeded = my_CreateHardLinkA(newpath, linkto);
1427 succeeded = !link(linkto, newpath);
1434 logprintf(" New link: %s\n", newpath);
1443 const char *newpath, const char *linkto)
1448 if (my_CreateSymbolicLinkA(newpath, linkto, targetIsDir))
1452 if (0 == symlink(linkto, newpath))
1456 logprintf(" New link: %s\n", newpath);
1418 assertion_make_hardlink(const char *file, int line, const char *newpath, const char *linkto) argument
1442 assertion_make_symlink(const char *file, int line, const char *newpath, const char *linkto) argument
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-ldif/
H A Dldif.c1552 struct berval newpath; local
1558 newpath = *oldpath;
1560 rc = ldif_prepare_create( op, entry, &newpath,
1567 rc = ldif_write_entry( op, entry, &newpath, parentdir, text );
1570 ldif2dir_len( newpath );
1575 ldif2dir_name( newpath );
1577 rename_res = move_dir( oldpath->bv_val, newpath.bv_val );
1581 trash = newpath.bv_val;
1586 dir2ldif_name( newpath );
1594 trash = newpath
[all...]
/macosx-10.10/apr-32/apr/apr/include/
H A Dapr_file_info.h347 * @param newpath the merged paths returned
358 APR_DECLARE(apr_status_t) apr_filepath_merge(char **newpath,
/macosx-10.10/ICU-531.30/icuSources/common/
H A Dputil.cpp958 /* Create a newpath with the new entry to test each entry in the directory. */
959 char newpath[MAX_PATH_SIZE]; local
960 uprv_strcpy(newpath, curpath);
961 uprv_strcat(newpath, dirName);
963 if ((subDirp = opendir(newpath)) != NULL) {
964 /* If this new path is a directory, make a recursive call with the newpath. */
966 uprv_strcat(newpath, "/");
967 result = searchForTZFile(newpath, tzInfo);
979 if(compareBinaryFiles(TZDEFAULT, newpath, tzInfo)) {
980 const char* zoneid = newpath
[all...]
/macosx-10.10/bind9-45.101/bind9/contrib/zkt/
H A Ddki.c560 char newpath[MAX_PATHSIZE+1]; local
580 pathname (newpath, sizeof (newpath), dkp->dname, newfile, *pext);
582 dbg_val2 ("dki_remove: %s ==> %s \n", path, newpath);
583 rename (path, newpath);
/macosx-10.10/kext_tools-384.1.4/
H A Dsafecalls.c330 int srename(int fdvol, const char *oldpath, const char *newpath) argument
338 PATHCPY(newname, newpath);
/macosx-10.10/smb-759.0/lib/smb/
H A Dparse_url.c470 CFMutableStringRef newpath = CFStringCreateMutableCopy(NULL, 0, path); local
471 if (newpath) {
472 CFStringTrim(newpath, CFSTR("/")); /* Remove any trailing slashes */
474 path = newpath;

Completed in 334 milliseconds

12