Home
last modified time | relevance | path

Searched refs:oldname (Results 1 – 25 of 46) sorted by relevance

12

/freebsd-14.2/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-14.2/crypto/heimdal/lib/kadm5/
H A Drename_s.c46 krb5_principal oldname; in kadm5_s_rename_principal() local
89 oldname = ent.entry.principal; in kadm5_s_rename_principal()
94 ent.entry.principal = oldname; in kadm5_s_rename_principal()
102 ent.entry.principal = oldname; in kadm5_s_rename_principal()
105 ret = context->db->hdb_remove(context->context, context->db, oldname); in kadm5_s_rename_principal()
106 ent.entry.principal = oldname; in kadm5_s_rename_principal()
/freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/
H A Dposix_compat.h214 path dest(oldname); in symlink_file_dir()
216 oldname = dest.c_str(); in symlink_file_dir()
223 if (CreateSymbolicLinkW(newname, oldname, flags)) in symlink_file_dir()
228 inline int symlink_file(const wchar_t* oldname, const wchar_t* newname) { in symlink_file() argument
229 return symlink_file_dir(oldname, newname, false); in symlink_file()
232 inline int symlink_dir(const wchar_t* oldname, const wchar_t* newname) { in symlink_dir() argument
233 return symlink_file_dir(oldname, newname, true); in symlink_dir()
236 inline int link(const wchar_t* oldname, const wchar_t* newname) { in link() argument
237 if (CreateHardLinkW(newname, oldname, nullptr)) in link()
464 inline int symlink_file(const char* oldname, const char* newname) { return ::symlink(oldname, newna…
[all …]
/freebsd-14.2/contrib/tcsh/
H A Dtw.spell.c37 spell_me(struct Strbuf *oldname, int looking, Char *pat, eChar suf) in spell_me() argument
40 const Char *old = oldname->s; in spell_me()
57 retval = (StrQcmp(oldname->s, newname.s) != 0); in spell_me()
59 xfree(oldname->s); in spell_me()
60 *oldname = newname; /* shove it back. */ in spell_me()
/freebsd-14.2/contrib/openbsm/bin/auditd/
H A Dauditd.c155 char *oldname; in close_lastfile() local
162 oldname = strdup(lastfile); in close_lastfile()
163 if (oldname == NULL) in close_lastfile()
169 if (auditd_rename(oldname, lastfile) != 0) in close_lastfile()
171 "Could not rename %s to %s: %m", oldname, in close_lastfile()
180 oldname, lastfile); in close_lastfile()
184 auditd_log_err("Could not rename %s to %s", oldname, in close_lastfile()
187 free(oldname); in close_lastfile()
/freebsd-14.2/usr.sbin/makefs/
H A Dcd9660.c1592 if (*oldname == '.') { in cd9660_level1_convert_filename()
1604 *oldname == ',' && strlen(oldname) == 4) in cd9660_level1_convert_filename()
1615 *newname++ = *oldname; in cd9660_level1_convert_filename()
1624 oldname++; in cd9660_level1_convert_filename()
1655 if (*oldname == '.') { in cd9660_level2_convert_filename()
1671 *oldname == ',' && strlen(oldname) == 4) in cd9660_level2_convert_filename()
1678 *newname++ = *oldname; in cd9660_level2_convert_filename()
1680 *oldname == '.') { in cd9660_level2_convert_filename()
1691 oldname ++; in cd9660_level2_convert_filename()
1717 oldname, newname, is_file)); in cd9660_convert_filename()
[all …]
/freebsd-14.2/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,$one_to_one) = @_;
[all …]
/freebsd-14.2/contrib/unifdef/win32/
H A Dwin32.c34 replace(const char *oldname, const char *newname) in replace() argument
38 return (rename(oldname, newname)); in replace()
H A Dunifdef.h62 int replace(const char *oldname, const char *newname);
/freebsd-14.2/crypto/heimdal/kcm/
H A Dprotocol.c937 char *oldname, *newname; in kcm_op_move_cache() local
939 ret = krb5_ret_stringz(request, &oldname); in kcm_op_move_cache()
943 KCM_LOG_REQUEST_NAME(context, client, opcode, oldname); in kcm_op_move_cache()
947 free(oldname); in kcm_op_move_cache()
952 if (strcmp(oldname, newname) == 0) { in kcm_op_move_cache()
953 free(oldname); in kcm_op_move_cache()
960 free(oldname); in kcm_op_move_cache()
972 free(oldname); in kcm_op_move_cache()
1003 ret = kcm_ccache_destroy_client(context, client, oldname); in kcm_op_move_cache()
1005 kcm_drop_default_cache(context, client, oldname); in kcm_op_move_cache()
[all …]
/freebsd-14.2/sbin/fsck_ffs/
H A Dpass2.c591 char oldname[MAXPATHLEN + 1]; in fix_extraneous() local
633 getpathname(oldname, inp->i_number, inp->i_number); in fix_extraneous()
635 newname, oldname); in fix_extraneous()
669 getpathname(oldname, inp->i_parent, inp->i_number); in fix_extraneous()
671 pwarn("%s IS AN EXTRANEOUS HARD LINK TO DIRECTORY %s", oldname, in fix_extraneous()
685 if ((cp = strchr(oldname, '/')) == NULL) { in fix_extraneous()
/freebsd-14.2/contrib/openbsm/libauditd/
H A Dauditd_lib.c1244 char oldname[MAXPATHLEN]; in audit_quick_stop() local
1274 len = readlink(AUDIT_CURRENT_LINK, oldname, sizeof(oldname) - 1); in audit_quick_stop()
1277 oldname[len++] = '\0'; in audit_quick_stop()
1282 strlcpy(newname, oldname, sizeof(newname)); in audit_quick_stop()
1286 if (auditd_rename(oldname, newname) != 0) in audit_quick_stop()
/freebsd-14.2/sbin/restore/
H A Dutilities.c88 char oldname[MAXPATHLEN]; in mktempname() local
93 (void) strcpy(oldname, myname(ep)); in mktempname()
97 renameit(oldname, myname(ep)); in mktempname()
/freebsd-14.2/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h685 #define __sanitizer_syscall_pre_link(oldname, newname) \ argument
686 __sanitizer_syscall_pre_impl_link((long)(oldname), (long)(newname))
688 __sanitizer_syscall_post_impl_link(res, (long)(oldname), (long)(newname))
698 __sanitizer_syscall_pre_impl_rename((long)(oldname), (long)(newname))
700 __sanitizer_syscall_post_impl_rename(res, (long)(oldname), (long)(newname))
2400 void __sanitizer_syscall_pre_impl_link(long oldname, long newname);
2401 void __sanitizer_syscall_post_impl_link(long res, long oldname, long newname);
2406 void __sanitizer_syscall_pre_impl_rename(long oldname, long newname);
2926 void __sanitizer_syscall_pre_impl_symlinkat(long oldname, long newdfd,
2928 void __sanitizer_syscall_post_impl_symlinkat(long res, long oldname,
[all …]
/freebsd-14.2/contrib/ntp/libntp/lib/isc/unix/
H A Dfile.c330 isc_file_rename(const char *oldname, const char *newname) { in isc_file_rename() argument
333 REQUIRE(oldname != NULL); in isc_file_rename()
336 r = rename(oldname, newname); in isc_file_rename()
/freebsd-14.2/contrib/ntp/libntp/lib/isc/include/isc/
H A Dfile.h169 isc_file_rename(const char *oldname, const char *newname);
/freebsd-14.2/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);
1303 if (oldname)
1304 PRE_READ(oldname, __sanitizer::internal_strlen((const char *)oldname) + 1);
2737 if (oldname)
2738 PRE_READ(oldname, __sanitizer::internal_strlen((const char *)oldname) + 1);
2749 if (oldname)
2750 PRE_READ(oldname, __sanitizer::internal_strlen((const char *)oldname) + 1);
2761 if (oldname)
[all …]
/freebsd-14.2/sys/contrib/openzfs/lib/libzpool/
H A Dkernel.c1061 zvol_rename_minors(spa_t *spa, const char *oldname, const char *newname, in zvol_rename_minors() argument
1064 (void) spa, (void) oldname, (void) newname, (void) async; in zvol_rename_minors()
1445 zfsvfs_update_fromname(const char *oldname, const char *newname) in zfsvfs_update_fromname() argument
1447 (void) oldname, (void) newname; in zfsvfs_update_fromname()
/freebsd-14.2/share/doc/psd/05.sysman/
H A Dspell.ok224 oldname
/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Dzvol.c1315 zvol_rename_minors_impl(const char *oldname, const char *newname) in zvol_rename_minors_impl() argument
1323 oldnamelen = strlen(oldname); in zvol_rename_minors_impl()
1332 if (strcmp(zv->zv_name, oldname) == 0) { in zvol_rename_minors_impl()
1334 } else if (strncmp(zv->zv_name, oldname, oldnamelen) == 0 && in zvol_rename_minors_impl()
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Ddsl_dir.h189 int dsl_dir_rename(const char *oldname, const char *newname);
/freebsd-14.2/sys/compat/linux/
H A Dlinux_file.c779 .oldname = args->oldname, in linux_renameat()
816 return (kern_renameat(td, olddfd, args->oldname, newdfd, in linux_renameat2()
836 return (kern_symlinkat(td, args->oldname, dfd, args->newname, in linux_symlinkat()
936 return (kern_linkat(td, olddfd, newdfd, args->oldname, in linux_linkat()
/freebsd-14.2/contrib/lib9p/
H A Dfcall.h565 char *oldname; member
/freebsd-14.2/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c946 u_char toname[12], oldname[11]; in msdosfs_rename() local
1180 memcpy(oldname, fip->de_Name, 11); in msdosfs_rename()
1188 memcpy(fip->de_Name, oldname, 11); in msdosfs_rename()
1202 memcpy(fip->de_Name, oldname, 11); in msdosfs_rename()
/freebsd-14.2/contrib/lib9p/pytest/
H A Dp9conn.py1116 def renameat(self, olddirfid, oldname, newdirfid, newname): argument
1120 olddirfid=olddirfid, oldname=oldname,
1126 '{2}'.format(oldname, self.getpathX(olddirfid),

12