HomeSort by: relevance | last modified time | path
    Searched refs:newpath (Results 1 - 25 of 51) sorted by relevancy

1 2 3

  /src/sys/dev/
firmload.c 83 char newpath[PATH_MAX+1]; local
88 node.sysctl_data = &newpath[0];
103 if (expected_char != 0 && newpath[i] != expected_char)
105 if (newpath[i] == '\0')
107 else if (newpath[i] == ':')
  /src/usr.bin/utoppya/
utoppya.c 277 char *oldpath, *newpath, *o, *n; local
283 n = newpath = argv[2];
288 for (n = newpath; *n != '\0'; n++)
294 for (n = newpath; *n && *n == '\\'; n++)
299 oldpath, newpath);
307 if (find_toppy_dirent(newpath, &ud))
308 errx(EX_DATAERR, "'%s' already exists", newpath);
315 newpath);
  /src/external/bsd/nsd/dist/contrib/bind2nsd/bind2nsd/
NsdConf.py 437 def make_zone_copy(self, oldpath, newpath):
439 report_info('=> copying "%s" to "%s"' % (oldpath, newpath))
442 os.system('touch ' + newpath)
446 newfd = open(newpath, 'w+')
507 newpath = self.config.getValue('tmpdir') + self.zones[ii].getZonefile() variable in class:NsdConf
508 if not os.path.exists(os.path.dirname(newpath)):
509 os.makedirs(os.path.dirname(newpath))
510 self.make_zone_copy(oldpath, newpath)
521 newpath = self.config.getValue('tmpdir') + ii variable in class:NsdConf
522 run_cmd('touch ' + newpath, 'touch "%s"' % (newpath)
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/crypto/conf/
conf_def.c 734 char *newpath; local
738 newpath = OPENSSL_zalloc(newlen);
739 if (newpath == NULL) {
752 OPENSSL_strlcpy(newpath, path, newlen);
755 if (newpath[0] == '\0') {
756 OPENSSL_strlcpy(newpath, path, newlen);
757 OPENSSL_strlcat(newpath, "/", newlen);
759 OPENSSL_strlcat(newpath, filename, newlen);
761 bio = BIO_new_file(newpath, "r");
762 OPENSSL_free(newpath);
    [all...]
  /src/crypto/external/bsd/openssh/dist/
sftp-server.c 1254 char *oldpath, *newpath; local
1259 (r = sshbuf_get_cstring(iqueue, &newpath, NULL)) != 0)
1263 logit("rename old \"%s\" new \"%s\"", oldpath, newpath);
1269 if (link(oldpath, newpath) == -1) {
1277 if (stat(newpath, &st) == -1) {
1278 if (rename(oldpath, newpath) == -1)
1290 unlink(newpath);
1293 } else if (stat(newpath, &sb) == -1) {
1294 if (rename(oldpath, newpath) == -1)
1301 free(newpath);
1332 char *oldpath, *newpath; local
1352 char *oldpath, *newpath; local
1410 char *oldpath, *newpath; local
    [all...]
sftp-client.c 1085 sftp_copy(struct sftp_conn *conn, const char *oldpath, const char *newpath)
1151 (r = sshbuf_put_cstring(msg, newpath)) != 0 ||
1157 debug3("Sent message SSH2_FXP_OPEN I:%u P:%s", id, newpath);
1162 "remote open(\"%s\")", newpath);
1182 oldpath, newpath);
1187 newpath, fx2txt(status));
1200 sftp_rename(struct sftp_conn *conn, const char *oldpath, const char *newpath,
1214 "\"%s\" to \"%s\"", oldpath, newpath);
1222 oldpath, newpath);
1228 (r = sshbuf_put_cstring(msg, newpath)) != 0
    [all...]
  /src/lib/libpuffs/
paths.c 221 size_t offset, struct puffs_pathobj *newpath)
287 newpath->po_path = path;
288 newpath->po_len = plen;
  /src/lib/librefuse/refuse/
fs.h 62 int fuse_fs_rename_v27(struct fuse_fs* fs, const char* oldpath, const char* newpath);
63 int fuse_fs_rename_v30(struct fuse_fs* fs, const char* oldpath, const char* newpath, unsigned int flags);
67 int fuse_fs_link(struct fuse_fs* fs, const char* oldpath, const char* newpath);
  /src/external/gpl2/lvm2/dist/libdm/
libdm-common.c 555 char newpath[PATH_MAX]; local
573 "is present where raw device should be.", newpath);
595 _build_dev_path(newpath, sizeof(newpath), new_name);
597 if (stat(newpath, &info) == 0) {
600 "is already present", newpath);
612 oldpath, newpath);
617 if (unlink(newpath) < 0) {
631 oldpath, newpath);
633 if (rename(oldpath, newpath) < 0)
    [all...]
  /src/external/mpl/bind/dist/lib/isc/
log.c 1222 char newpath[PATH_MAX + 1]; local
1270 n = snprintf(newpath, sizeof(newpath), "%s.%u", path,
1272 if (n >= (int)sizeof(newpath) || n < 0) {
1277 result = isc_file_rename(current, newpath);
1287 n = snprintf(newpath, sizeof(newpath), "%s.0", path);
1288 if (n >= (int)sizeof(newpath) || n < 0) {
1291 result = isc_file_rename(path, newpath);
1305 char newpath[PATH_MAX + 1] local
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/conf/
conf_def.c 853 char *newpath; local
857 newpath = OPENSSL_zalloc(newlen);
858 if (newpath == NULL)
869 OPENSSL_strlcpy(newpath, path, newlen);
872 if (newpath[0] == '\0') {
873 OPENSSL_strlcpy(newpath, path, newlen);
874 OPENSSL_strlcat(newpath, "/", newlen);
876 OPENSSL_strlcat(newpath, filename, newlen);
878 bio = BIO_new_file(newpath, "r");
879 OPENSSL_free(newpath);
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/conf/
conf_def.c 864 char *newpath; local
868 newpath = OPENSSL_zalloc(newlen);
869 if (newpath == NULL) {
882 OPENSSL_strlcpy(newpath, path, newlen);
885 if (newpath[0] == '\0') {
886 OPENSSL_strlcpy(newpath, path, newlen);
887 OPENSSL_strlcat(newpath, "/", newlen);
889 OPENSSL_strlcat(newpath, filename, newlen);
891 bio = BIO_new_file(newpath, "r");
892 OPENSSL_free(newpath);
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_posix.h 56 uptr internal_rename(const char *oldpath, const char *newpath);
sanitizer_solaris.cc 141 const char *newpath) {
142 return _REAL(rename)(oldpath, newpath);
sanitizer_netbsd.cc 192 uptr internal_rename(const char *oldpath, const char *newpath) {
194 return _REAL(rename, oldpath, newpath);
  /src/external/gpl2/texinfo/dist/info/
filesys.c 218 char *newpath, *filename_only, *newtemp; local
220 newpath = xstrdup (temp);
222 newtemp = info_file_in_path (filename_only, newpath);
224 free (newpath);
  /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
sanitizer_solaris.cpp 155 const char *newpath) {
156 return _REAL(rename)(oldpath, newpath);
sanitizer_posix.h 56 uptr internal_rename(const char *oldpath, const char *newpath);
  /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
sanitizer_solaris.cpp 155 const char *newpath) {
156 return _REAL(rename)(oldpath, newpath);
sanitizer_posix.h 56 uptr internal_rename(const char *oldpath, const char *newpath);
  /src/external/mpl/dhcp/bind/dist/lib/isc/
log.c 1256 char newpath[PATH_MAX + 1]; local
1304 n = snprintf(newpath, sizeof(newpath), "%s.%u", path,
1306 if (n >= (int)sizeof(newpath) || n < 0) {
1311 result = isc_file_rename(current, newpath);
1321 n = snprintf(newpath, sizeof(newpath), "%s.0", path);
1322 if (n >= (int)sizeof(newpath) || n < 0) {
1325 result = isc_file_rename(path, newpath);
1339 char newpath[PATH_MAX + 1] local
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/
remote-fileio.c 724 char *oldpath, *newpath; local
735 /* 2. Parameter: Ptr to newpath / length incl. trailing zero */
750 /* Request newpath using 'm' packet */
751 newpath = (char *) alloca (new_len);
752 if (target_read_memory (new_ptr, (gdb_byte *) newpath, new_len) != 0)
760 nf = stat (newpath, &nst);
768 ret = rename (oldpath, newpath);
772 /* Special case: newpath is a non-empty directory. Some systems
793 cygwin_conv_path (CCP_WIN_A_TO_POSIX, newpath, newfullpath,
  /src/external/gpl3/gdb/dist/gdb/
remote-fileio.c 724 char *oldpath, *newpath; local
735 /* 2. Parameter: Ptr to newpath / length incl. trailing zero */
750 /* Request newpath using 'm' packet */
751 newpath = (char *) alloca (new_len);
752 if (target_read_memory (new_ptr, (gdb_byte *) newpath, new_len) != 0)
760 nf = stat (newpath, &nst);
768 ret = rename (oldpath, newpath);
772 /* Special case: newpath is a non-empty directory. Some systems
793 cygwin_conv_path (CCP_WIN_A_TO_POSIX, newpath, newfullpath,
  /src/external/bsd/openldap/dist/servers/slapd/back-ldif/
ldif.c 1668 struct berval newpath; local
1675 newpath = *oldpath;
1677 rc = ldif_prepare_create( op, entry, &newpath,
1684 rc = ldif_write_entry( op, entry, &newpath, parentdir, text );
1687 ldif2dir_len( newpath );
1692 ldif2dir_name( newpath );
1694 rename_res = move_dir( oldpath->bv_val, newpath.bv_val );
1698 trash = newpath.bv_val;
1703 dir2ldif_name( newpath );
1711 trash = newpath.bv_val
    [all...]
  /src/sys/rump/librump/rumpvfs/
rumpfs.c 735 char *newpath; local
743 newpath = malloc(newpathlen, M_TEMP, M_WAITOK);
745 strlcpy(newpath, rnd->rn_hostpath, newpathlen);
746 strlcat(newpath, "/", newpathlen);
747 strlcat(newpath, cnp->cn_nameptr, newpathlen);
749 if ((error = rumpuser_getfileinfo(newpath, &fsize, &hft)) != 0){
750 free(newpath, M_TEMP);
756 free(newpath, M_TEMP);
767 rn->rn_hostpath = newpath;

Completed in 111 milliseconds

1 2 3