| /src/usr.bin/locate/bigram/ |
| locate.bigram.c | 97 char *oldpath = buf1, *path = buf2; local 111 for ( cp = path; *cp == *oldpath; cp++, oldpath++ ) 112 if ( *oldpath == '\0' ) 122 path = buf2, oldpath = buf1; 124 path = buf1, oldpath = buf2;
|
| /src/usr.bin/locate/code/ |
| locate.code.c | 106 char *cp, *oldpath, *path; local 127 oldpath = buf1; 144 for (cp = path; *cp == *oldpath; cp++, oldpath++) 145 if (*oldpath == '\0') 177 oldpath = buf1; 180 oldpath = buf2;
|
| /src/usr.bin/utoppya/ |
| utoppya.c | 277 char *oldpath, *newpath, *o, *n; local 282 o = oldpath = argv[1]; 285 for (o = oldpath; *o != '\0'; o++) 292 for (o = oldpath; *o && *o == '\\'; o++) 299 oldpath, newpath); 301 if (find_toppy_dirent(oldpath, &ud) == 0) 302 errx(EX_DATAERR, "'%s' does not exist on the Toppy", oldpath); 305 errx(EX_DATAERR, "%s: not a regular file", oldpath); 314 err(EX_OSERR, "ioctl(UTOPPYIORENAME, %s, %s)", oldpath,
|
| /src/external/gpl2/lvm2/dist/lib/device/ |
| dev-cache.c | 244 const char *oldpath; local 262 oldpath = dm_list_item(dev->aliases.n, struct str_list)->str; 263 prefer_old = _compare_paths(path, oldpath); 265 path, oldpath, prefer_old ? "" : " (preferred name)");
|
| /src/external/gpl3/gdb/dist/gdb/ |
| remote-fileio.c | 724 char *oldpath, *newpath; local 728 /* 1. Parameter: Ptr to oldpath / length incl. trailing zero */ 742 /* Request oldpath using 'm' packet */ 743 oldpath = (char *) alloca (old_len); 744 if (target_read_memory (old_ptr, (gdb_byte *) oldpath, old_len) != 0) 759 of = stat (oldpath, &ost); 768 ret = rename (oldpath, newpath); 791 cygwin_conv_path (CCP_WIN_A_TO_POSIX, oldpath, oldfullpath,
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| remote-fileio.c | 724 char *oldpath, *newpath; local 728 /* 1. Parameter: Ptr to oldpath / length incl. trailing zero */ 742 /* Request oldpath using 'm' packet */ 743 oldpath = (char *) alloca (old_len); 744 if (target_read_memory (old_ptr, (gdb_byte *) oldpath, old_len) != 0) 759 of = stat (oldpath, &ost); 768 ret = rename (oldpath, newpath); 791 cygwin_conv_path (CCP_WIN_A_TO_POSIX, oldpath, oldfullpath,
|
| /src/external/gpl2/lvm2/dist/libdm/ |
| libdm-common.c | 554 char oldpath[PATH_MAX]; local 594 _build_dev_path(oldpath, sizeof(oldpath), old_name); 604 if (stat(oldpath, &info) < 0 && 612 oldpath, newpath); 631 oldpath, newpath); 633 if (rename(oldpath, newpath) < 0) { 639 log_debug("Renamed %s to %s", oldpath, newpath);
|
| /src/lib/libukfs/ |
| ukfs.c | 1029 char *newpath, *oldpath; local 1043 oldpath = ukfs->ukfs_cwd; 1046 free(oldpath);
|
| /src/crypto/external/bsd/openssh/dist/ |
| sftp-server.c | 1254 char *oldpath, *newpath; local 1258 if ((r = sshbuf_get_cstring(iqueue, &oldpath, NULL)) != 0 || 1263 logit("rename old \"%s\" new \"%s\"", oldpath, newpath); 1265 if (lstat(oldpath, &sb) == -1) 1269 if (link(oldpath, newpath) == -1) { 1278 if (rename(oldpath, newpath) == -1) 1287 } else if (unlink(oldpath) == -1) { 1294 if (rename(oldpath, newpath) == -1) 1300 free(oldpath); 1332 char *oldpath, *newpath local 1352 char *oldpath, *newpath; local 1410 char *oldpath, *newpath; local [all...] |
| /src/external/gpl3/gdb/dist/sim/v850/ |
| simops.c | 1817 char *oldpath = fetch_str (simulator, PARM1); 1819 RETVAL = sim_io_rename (simulator, oldpath, newpath); 1820 free (oldpath); 1814 char *oldpath = fetch_str (simulator, PARM1); local
|
| /src/external/gpl3/gdb.old/dist/sim/v850/ |
| simops.c | 1817 char *oldpath = fetch_str (simulator, PARM1); 1819 RETVAL = sim_io_rename (simulator, oldpath, newpath); 1820 free (oldpath); 1814 char *oldpath = fetch_str (simulator, PARM1); local
|
| /src/external/cddl/osnet/dist/cmd/ztest/ |
| ztest.c | 2757 char oldpath[MAXPATHLEN], newpath[MAXPATHLEN]; local 2812 (void) strcpy(oldpath, oldvd->vdev_path); 2824 fatal(0, "detach (%s) returned %d", oldpath, error); 2915 oldpath, oldsize, newpath,
|