Searched refs:oldname (Results 1 - 25 of 43) sorted by relevance

12

/freebsd-current/crypto/heimdal/lib/kadm5/
H A Drename_s.c46 krb5_principal oldname; local
89 oldname = ent.entry.principal;
94 ent.entry.principal = oldname;
102 ent.entry.principal = oldname;
105 ret = context->db->hdb_remove(context->context, context->db, oldname);
106 ent.entry.principal = oldname;
/freebsd-current/contrib/tcsh/
H A Dtw.spell.c37 spell_me(struct Strbuf *oldname, int looking, Char *pat, eChar suf) argument
40 const Char *old = oldname->s;
57 retval = (StrQcmp(oldname->s, newname.s) != 0);
59 xfree(oldname->s);
60 *oldname = newname; /* shove it back. */
/freebsd-current/tools/tools/locale/tools/
H A Dfinalize80 oldname=${i%.*}
81 nname=`echo $oldname | awk '{ split($0, a, "_"); print a[1]"_"a[3]"@"a[2];} '`
82 mv -f ${oldname}.src ${nname}.src
83 sed -i '' -e "s/${oldname}/${nname}/g" Makefile
91 oldname=${i%.*}
92 shortname=${oldname%@*}
95 sed -i '' -e "s/${oldname}/${shortname}/g" Makefile
/freebsd-current/contrib/unifdef/win32/
H A Dwin32.c34 replace(const char *oldname, const char *newname) argument
38 return (rename(oldname, newname));
H A Dunifdef.h62 int replace(const char *oldname, const char *newname);
/freebsd-current/contrib/openbsm/bin/auditd/
H A Dauditd.c155 char *oldname; local
162 oldname = strdup(lastfile);
163 if (oldname == NULL)
169 if (auditd_rename(oldname, lastfile) != 0)
171 "Could not rename %s to %s: %m", oldname,
180 oldname, lastfile);
184 auditd_log_err("Could not rename %s to %s", oldname,
187 free(oldname);
/freebsd-current/contrib/llvm-project/libcxx/src/filesystem/
H A Dposix_compat.h213 inline int symlink_file_dir(const wchar_t* oldname, const wchar_t* newname, bool is_dir) { argument
214 path dest(oldname);
216 oldname = dest.c_str();
218 if (CreateSymbolicLinkW(newname, oldname, flags | SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE))
223 if (CreateSymbolicLinkW(newname, oldname, flags))
228 inline int symlink_file(const wchar_t* oldname, const wchar_t* newname) { argument
229 return symlink_file_dir(oldname, newname, false);
232 inline int symlink_dir(const wchar_t* oldname, const wchar_t* newname) { argument
233 return symlink_file_dir(oldname, newname, true);
236 inline int link(const wchar_t* oldname, cons argument
[all...]
/freebsd-current/contrib/ntp/libntp/lib/isc/include/isc/
H A Dfile.h169 isc_file_rename(const char *oldname, const char *newname);
171 * \brief Rename the file 'oldname' to 'newname'.
/freebsd-current/usr.sbin/makefs/
H A Dcd9660.c1568 cd9660_level1_convert_filename(iso9660_disk *diskStructure, const char *oldname, argument
1581 while (*oldname != '\0' && extlen < 3) {
1583 if (*oldname == '.') {
1597 if (islower((unsigned char)*oldname))
1598 *newname++ = toupper((unsigned char)*oldname);
1599 else if (isupper((unsigned char)*oldname)
1600 || isdigit((unsigned char)*oldname))
1601 *newname++ = *oldname;
1610 oldname++;
1623 cd9660_level2_convert_filename(iso9660_disk *diskStructure, const char *oldname, argument
1692 cd9660_convert_filename(iso9660_disk *diskStructure, const char *oldname, char *newname, int is_file) argument
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc1276 PRE_SYSCALL(link)(const void *oldname, const void *newname) {
1277 if (oldname)
1278 PRE_READ(oldname, __sanitizer::internal_strlen((const char *)oldname) + 1);
1283 POST_SYSCALL(link)(long res, const void *oldname, const void *newname) {}
1302 PRE_SYSCALL(rename)(const void *oldname, const void *newname) {
1303 if (oldname)
1304 PRE_READ(oldname, __sanitizer::internal_strlen((const char *)oldname) + 1);
1309 POST_SYSCALL(rename)(long res, const void *oldname, cons
[all...]
/freebsd-current/sbin/fsck_ffs/
H A Dpass2.c585 char oldname[MAXPATHLEN + 1]; local
627 getpathname(oldname, inp->i_number, inp->i_number);
629 newname, oldname);
663 getpathname(oldname, inp->i_parent, inp->i_number);
665 pwarn("%s IS AN EXTRANEOUS HARD LINK TO DIRECTORY %s", oldname,
671 * unlink(last component of oldname pathname);
679 if ((cp = strchr(oldname, '/')) == NULL) {
/freebsd-current/crypto/heimdal/kcm/
H A Dprotocol.c937 char *oldname, *newname; local
939 ret = krb5_ret_stringz(request, &oldname);
943 KCM_LOG_REQUEST_NAME(context, client, opcode, oldname);
947 free(oldname);
952 if (strcmp(oldname, newname) == 0) {
953 free(oldname);
958 ret = kcm_ccache_resolve_client(context, client, opcode, oldname, &oldid);
960 free(oldname);
972 free(oldname);
1003 ret = kcm_ccache_destroy_client(context, client, oldname);
[all...]
/freebsd-current/sbin/restore/
H A Dutilities.c82 char oldname[MAXPATHLEN]; local
87 (void) strcpy(oldname, myname(ep));
91 renameit(oldname, myname(ep));
/freebsd-current/contrib/sendmail/contrib/
H A Dexpn.pl242 $oldname = $names{"$u *** $server"};
285 ($newhost, $newaddr, $newname) = &parse($addr,$server,$oldname, $#expansion == 0);
286 print "($newhost, $newaddr, $newname) = &parse($addr, $server, $oldname)\n" if $debug;
334 print STDERR "\@$server:$u ($oldname) USER UNKNOWN\n";
336 &verbose(&final($u,$server,$oldname,"USER UNKNOWN"));
344 print STDERR "\@$server:$u ($oldname) USER AMBIGUOUS\n";
346 &verbose(&final($u,$server,$oldname,"USER AMBIGUOUS"));
354 print STDERR "\@$server:$u ($oldname) REFUSED TO VRFY\n";
356 &verbose(&final($u,$server,$oldname,"REFUSED TO VRFY"));
641 local($oldaddr,$server,$oldname,
[all...]
/freebsd-current/contrib/ntp/libntp/lib/isc/unix/
H A Dfile.c330 isc_file_rename(const char *oldname, const char *newname) { argument
333 REQUIRE(oldname != NULL);
336 r = rename(oldname, newname);
/freebsd-current/contrib/openbsm/libauditd/
H A Dauditd_lib.c1244 char oldname[MAXPATHLEN]; local
1274 len = readlink(AUDIT_CURRENT_LINK, oldname, sizeof(oldname) - 1);
1277 oldname[len++] = '\0';
1282 strlcpy(newname, oldname, sizeof(newname));
1286 if (auditd_rename(oldname, newname) != 0)
/freebsd-current/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h685 #define __sanitizer_syscall_pre_link(oldname, newname) \
686 __sanitizer_syscall_pre_impl_link((long)(oldname), (long)(newname))
687 #define __sanitizer_syscall_post_link(res, oldname, newname) \
688 __sanitizer_syscall_post_impl_link(res, (long)(oldname), (long)(newname))
697 #define __sanitizer_syscall_pre_rename(oldname, newname) \
698 __sanitizer_syscall_pre_impl_rename((long)(oldname), (long)(newname))
699 #define __sanitizer_syscall_post_rename(res, oldname, newname) \
700 __sanitizer_syscall_post_impl_rename(res, (long)(oldname), (long)(newname))
1592 #define __sanitizer_syscall_pre_symlinkat(oldname, newdfd, newname) \
1593 __sanitizer_syscall_pre_impl_symlinkat((long)(oldname), (lon
[all...]
/freebsd-current/sys/contrib/openzfs/include/sys/
H A Ddsl_dir.h189 int dsl_dir_rename(const char *oldname, const char *newname);
/freebsd-current/sys/contrib/openzfs/lib/libzpool/
H A Dkernel.c1064 zvol_rename_minors(spa_t *spa, const char *oldname, const char *newname, argument
1067 (void) spa, (void) oldname, (void) newname, (void) async;
1448 zfsvfs_update_fromname(const char *oldname, const char *newname) argument
1450 (void) oldname, (void) newname;
/freebsd-current/contrib/lib9p/
H A Dfcall.h565 char *oldname; member in struct:l9p_f_trenameat
H A Dpack.c816 r = l9p_pustring(msg, &fcall->trenameat.oldname);
957 free(fcall->trenameat.oldname);
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dzvol.c1341 zvol_rename_minors_impl(const char *oldname, const char *newname) argument
1349 oldnamelen = strlen(oldname);
1358 if (strcmp(zv->zv_name, oldname) == 0) {
1360 } else if (strncmp(zv->zv_name, oldname, oldnamelen) == 0 &&
/freebsd-current/sys/compat/linux/
H A Dlinux_file.c777 .oldname = args->oldname,
814 return (kern_renameat(td, olddfd, args->oldname, newdfd,
834 return (kern_symlinkat(td, args->oldname, dfd, args->newname,
934 return (kern_linkat(td, olddfd, newdfd, args->oldname,
/freebsd-current/contrib/lib9p/pytest/
H A Dp9conn.py1116 def renameat(self, olddirfid, oldname, newdirfid, newname):
1117 "invoke Trenameat: rename <olddirfid>/oldname to <newdirfid>/newname"
1120 olddirfid=olddirfid, oldname=oldname,
1126 '{2}'.format(oldname, self.getpathX(olddirfid),
/freebsd-current/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c946 u_char toname[12], oldname[11]; local
1180 memcpy(oldname, fip->de_Name, 11);
1188 memcpy(fip->de_Name, oldname, 11);
1202 memcpy(fip->de_Name, oldname, 11);

Completed in 276 milliseconds

12