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

12

/macosx-10.9.5/bless-98/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.9.5/apache-786.1/httpd/srclib/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.9.5/apr-30/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.9.5/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.9.5/ICU-511.35/icuSources/tools/toolutil/
H A Dfiletools.cpp52 char newpath[MAX_PATH_SIZE] = ""; local
53 uprv_strcpy(newpath, checkAgainst);
54 uprv_strcat(newpath, U_FILE_SEP_STRING);
55 uprv_strcat(newpath, dirEntry->d_name);
57 if ((subDirp = opendir(newpath)) != NULL) {
58 /* If this new path is a directory, make a recursive call with the newpath. */
60 isLatest = isFileModTimeLater(filePath, newpath, isDir);
65 int32_t latest = whichFileModTimeIsLater(filePath, newpath);
/macosx-10.9.5/emacs-92/
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.9.5/Heimdal-323.92.1/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.9.5/apache-786.1/httpd/srclib/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.9.5/apr-30/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.9.5/autofs-234/automountd/
H A Dnfs_subr.c71 convert_special(char **specialp, char *host, char *oldpath, char *newpath, argument
156 p2 = newpath;
/macosx-10.9.5/OpenSSH-186/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.9.5/apache-786.1/httpd/srclib/apr/file_io/unix/
H A Dfilepath.c81 APR_DECLARE(apr_status_t) apr_filepath_merge(char **newpath,
288 *newpath = path;
H A Ddir.c60 const char *newpath = path_canonicalize (path, pool); local
63 for (i = (strlen(newpath) - 1); i >= 0; i--) {
/macosx-10.9.5/apr-30/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.9.5/tcl-102/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.9.5/libarchive-29/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 *);
/macosx-10.9.5/libarchive-29/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 *);
/macosx-10.9.5/libarchive-29/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 *);
/macosx-10.9.5/OpenLDAP-491.1/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.9.5/apache-786.1/httpd/srclib/apr/include/
H A Dapr_file_info.h343 * @param newpath the merged paths returned
354 APR_DECLARE(apr_status_t) apr_filepath_merge(char **newpath,
/macosx-10.9.5/apr-30/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.9.5/ICU-511.35/icuSources/common/
H A Dputil.cpp954 /* Create a newpath with the new entry to test each entry in the directory. */
955 char newpath[MAX_PATH_SIZE]; local
956 uprv_strcpy(newpath, curpath);
957 uprv_strcat(newpath, dirName);
959 if ((subDirp = opendir(newpath)) != NULL) {
960 /* If this new path is a directory, make a recursive call with the newpath. */
962 uprv_strcat(newpath, "/");
963 result = searchForTZFile(newpath, tzInfo);
975 if(compareBinaryFiles(TZDEFAULT, newpath, tzInfo)) {
976 const char* zoneid = newpath
[all...]
/macosx-10.9.5/bind9-45.100/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);

Completed in 407 milliseconds

12