/freebsd/tools/tools/locale/tools/ |
H A D | finalize | 80 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/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | posix_compat.h | 213 inline int symlink_file_dir(const wchar_t* oldname, const wchar_t* newname, bool is_dir) { in symlink_file_dir() 214 path dest(oldname); in symlink_file_dir() 216 oldname = dest.c_str(); in symlink_file_dir() 218 if (CreateSymbolicLinkW(newname, oldname, flags | SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE)) 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) { 229 return symlink_file_dir(oldname, newname, false); in symlink_file() argument 232 inline int symlink_dir(const wchar_t* oldname, const wchar_t* newname) { 233 return symlink_file_dir(oldname, newname, true); in symlink_dir() argument 236 inline int link(const wchar_t* oldname, cons in symlink_dir() 212 symlink_file_dir(const wchar_t * oldname,const wchar_t * newname,bool is_dir) symlink_file_dir() argument 237 link(const wchar_t * oldname,const wchar_t * newname) link() argument [all...] |
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | rename_s.c | 46 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/contrib/tcsh/ |
H A D | tw.spell.c | 37 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/contrib/openbsm/bin/auditd/ |
H A D | auditd.c | 155 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/contrib/sendmail/contrib/ |
H A D | expn.pl | 242 $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/usr.sbin/makefs/ |
H A D | cd9660.c | 1573 cd9660_level1_convert_filename(iso9660_disk *diskStructure, const char *oldname, in cd9660_level1_convert_filename() argument 1587 while (*oldname != '\0' && extlen < 3) { in cd9660_level1_convert_filename() 1589 if (*oldname == '.') { in cd9660_level1_convert_filename() 1603 if (islower((unsigned char)*oldname)) in cd9660_level1_convert_filename() 1604 *newname++ = toupper((unsigned char)*oldname); in cd9660_level1_convert_filename() 1605 else if (isupper((unsigned char)*oldname) in cd9660_level1_convert_filename() 1606 || isdigit((unsigned char)*oldname)) in cd9660_level1_convert_filename() 1607 *newname++ = *oldname; in cd9660_level1_convert_filename() 1616 oldname++; in cd9660_level1_convert_filename() 1629 cd9660_level2_convert_filename(iso9660_disk *diskStructure, const char *oldname, in cd9660_level2_convert_filename() argument [all …]
|
/freebsd/contrib/unifdef/win32/ |
H A D | win32.c | 34 replace(const char *oldname, const char *newname) in replace() argument 38 return (rename(oldname, newname)); in replace()
|
H A D | unifdef.h | 62 int replace(const char *oldname, const char *newname);
|
/freebsd/crypto/heimdal/kcm/ |
H A D | protocol.c | 937 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() 958 ret = kcm_ccache_resolve_client(context, client, opcode, oldname, &oldid); 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() [all …]
|
/freebsd/contrib/openbsm/libauditd/ |
H A D | auditd_lib.c | 1244 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/sbin/fsck_ffs/ |
H A D | pass2.c | 585 char oldname[MAXPATHLEN + 1]; in fix_extraneous() local 627 getpathname(oldname, inp->i_number, inp->i_number); in fix_extraneous() 629 newname, oldname); in fix_extraneous() 663 getpathname(oldname, inp->i_parent, inp->i_number); in fix_extraneous() 665 pwarn("%s IS AN EXTRANEOUS HARD LINK TO DIRECTORY %s", oldname, in fix_extraneous() 679 if ((cp = strchr(oldname, '/')) == NULL) { in fix_extraneous()
|
/freebsd/sbin/restore/ |
H A D | utilities.c | 82 char oldname[MAXPATHLEN]; in mktempname() local 87 (void) strcpy(oldname, myname(ep)); in mktempname() 91 renameit(oldname, myname(ep)); in mktempname()
|
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 685 #define __sanitizer_syscall_pre_link(oldname, newname) \ argument 686 __sanitizer_syscall_pre_impl_link((long)(oldname), (long)(newname)) 687 #define __sanitizer_syscall_post_link(res, oldname, newname) \ argument 688 __sanitizer_syscall_post_impl_link(res, (long)(oldname), (long)(newname)) 697 #define __sanitizer_syscall_pre_rename(oldname, newname) \ argument 698 __sanitizer_syscall_pre_impl_rename((long)(oldname), (long)(newname)) 699 #define __sanitizer_syscall_post_rename(res, oldname, newname) \ argument 700 __sanitizer_syscall_post_impl_rename(res, (long)(oldname), (long)(newname)) 1592 #define __sanitizer_syscall_pre_symlinkat(oldname, newdfd, newname) \ argument 1593 __sanitizer_syscall_pre_impl_symlinkat((long)(oldname), (long)(newdfd), \ [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/unix/ |
H A D | file.c | 330 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/contrib/ntp/libntp/lib/isc/include/isc/ |
H A D | file.h | 169 isc_file_rename(const char *oldname, const char *newname);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 1290 PRE_SYSCALL(link)(const void *oldname, const void *newname) { 1291 if (oldname) 1292 PRE_READ(oldname, __sanitizer::internal_strlen((const char *)oldname) + 1); 1297 POST_SYSCALL(link)(long res, const void *oldname, const void *newname) {} 1316 PRE_SYSCALL(rename)(const void *oldname, const void *newname) { 1317 if (oldname) 1318 PRE_READ(oldname, __sanitizer::internal_strlen((const char *)oldname) + 1); 1323 POST_SYSCALL(rename)(long res, const void *oldname, const void *newname) {} 2750 PRE_SYSCALL(symlinkat)(const void *oldname, long newdfd, const void *newname) { 2751 if (oldname) [all …]
|
/freebsd/sys/contrib/openzfs/lib/libzpool/ |
H A D | kernel.c | 1064 zvol_rename_minors(spa_t *spa, const char *oldname, const char *newname, in zvol_rename_minors() argument 1067 (void) spa, (void) oldname, (void) newname, (void) async; in zvol_rename_minors() 1456 zfsvfs_update_fromname(const char *oldname, const char *newname) in zfsvfs_update_fromname() argument 1458 (void) oldname, (void) newname; in zfsvfs_update_fromname()
|
/freebsd/sys/fs/p9fs/ |
H A D | p9_client.h | 157 int p9_client_renameat(struct p9_fid *oldfid, char *oldname, struct p9_fid *newfid, char *newname);
|
H A D | p9_client.c | 1128 p9_client_renameat(struct p9_fid *oldfid, char *oldname, struct p9_fid *newfid, in p9_client_renameat() argument 1136 oldfid->fid, oldname, newfid->fid, newname); in p9_client_renameat() 1147 oldfid->fid, oldname, newfid->fid, newname); in p9_client_renameat()
|
/freebsd/share/doc/psd/05.sysman/ |
H A D | spell.ok | 224 oldname
|
/freebsd/sys/compat/linux/ |
H A D | linux_file.c | 779 .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/sys/contrib/openzfs/include/sys/ |
H A D | dsl_dir.h | 189 int dsl_dir_rename(const char *oldname, const char *newname);
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zvol.c | 1691 zvol_rename_minors_impl(const char *oldname, const char *newname) in zvol_rename_minors_impl() argument 1699 oldnamelen = strlen(oldname); in zvol_rename_minors_impl() 1708 if (strcmp(zv->zv_name, oldname) == 0) { in zvol_rename_minors_impl() 1710 } else if (strncmp(zv->zv_name, oldname, oldnamelen) == 0 && in zvol_rename_minors_impl()
|
/freebsd/contrib/lib9p/ |
H A D | fcall.h | 565 char *oldname; member
|