| /freebsd-12-stable/contrib/gcc/config/arm/ |
| D | pe.c | 105 const char * oldname; local 114 oldname = XSTR (rtlname, 0); 116 if (arm_dllimport_name_p (oldname)) 117 oldname += 9; 118 else if (arm_dllexport_name_p (oldname)) 121 newname = alloca (strlen (oldname) + 4); 122 sprintf (newname, "%ce.%s", ARM_PE_FLAG_CHAR, oldname); 141 const char * oldname; local 151 oldname = XSTR (rtlname, 0); 153 gcc_assert (!arm_dllexport_name_p (oldname)); [all …]
|
| /freebsd-12-stable/tools/tools/locale/tools/ |
| D | finalize | 81 oldname=${i%.*} 82 nname=`echo $oldname | awk '{ split($0, a, "_"); print a[1]"_"a[3]"@"a[2];} '` 83 mv -f ${oldname}.src ${nname}.src 84 sed -i '' -e "s/${oldname}/${nname}/g" Makefile 85 COLLATIONS_SPECIAL=$(echo ${COLLATIONS_SPECIAL} | sed -e "s/${oldname}/${nname}/g") 93 oldname=${i%.*} 94 shortname=${oldname%@*} 97 sed -i '' -e "s/${oldname}/${shortname}/g" Makefile 98 COLLATIONS_SPECIAL=$(echo ${COLLATIONS_SPECIAL} | sed -e "s/${oldname}/${shortname}/g")
|
| /freebsd-12-stable/contrib/gcc/config/i386/ |
| D | winnt.c | 204 const char *oldname; in i386_pe_mark_dllexport() local 214 oldname = XSTR (rtlname, 0); in i386_pe_mark_dllexport() 215 if (i386_pe_dllimport_name_p (oldname)) in i386_pe_mark_dllexport() 220 oldname += strlen (DLL_IMPORT_PREFIX); in i386_pe_mark_dllexport() 222 else if (i386_pe_dllexport_name_p (oldname)) in i386_pe_mark_dllexport() 225 newname = alloca (strlen (DLL_EXPORT_PREFIX) + strlen (oldname) + 1); in i386_pe_mark_dllexport() 226 sprintf (newname, "%s%s", DLL_EXPORT_PREFIX, oldname); in i386_pe_mark_dllexport() 244 const char *oldname; in i386_pe_mark_dllimport() local 254 oldname = XSTR (rtlname, 0); in i386_pe_mark_dllimport() 255 if (i386_pe_dllexport_name_p (oldname)) in i386_pe_mark_dllimport() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/libcxx/src/filesystem/ |
| D | posix_compat.h | 234 int symlink_file_dir(const wchar_t *oldname, const wchar_t *newname, in symlink_file_dir() argument 236 path dest(oldname); in symlink_file_dir() 238 oldname = dest.c_str(); in symlink_file_dir() 240 if (CreateSymbolicLinkW(newname, oldname, in symlink_file_dir() 246 if (CreateSymbolicLinkW(newname, oldname, flags)) in symlink_file_dir() 251 int symlink_file(const wchar_t *oldname, const wchar_t *newname) { in symlink_file() argument 252 return symlink_file_dir(oldname, newname, false); in symlink_file() 255 int symlink_dir(const wchar_t *oldname, const wchar_t *newname) { in symlink_dir() argument 256 return symlink_file_dir(oldname, newname, true); in symlink_dir() 259 int link(const wchar_t *oldname, const wchar_t *newname) { in link() argument [all …]
|
| /freebsd-12-stable/crypto/heimdal/lib/kadm5/ |
| 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-12-stable/contrib/tcsh/ |
| 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-12-stable/contrib/openbsm/bin/auditd/ |
| 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-12-stable/contrib/gcc/ |
| D | c-pragma.c | 416 tree oldname, newname, decl, x; in handle_pragma_redefine_extname() local 419 if (pragma_lex (&oldname) != CPP_NAME) in handle_pragma_redefine_extname() 435 decl = identifier_global_value (oldname); in handle_pragma_redefine_extname() 460 add_to_renaming_pragma_list (oldname, newname); in handle_pragma_redefine_extname() 465 add_to_renaming_pragma_list (tree oldname, tree newname) in add_to_renaming_pragma_list() argument 467 tree previous = purpose_member (oldname, pending_redefine_extname); in add_to_renaming_pragma_list() 477 = tree_cons (oldname, newname, pending_redefine_extname); in add_to_renaming_pragma_list() 522 const char *oldname = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)); in maybe_apply_renaming_pragma() local 523 oldname = targetm.strip_name_encoding (oldname); in maybe_apply_renaming_pragma() 525 if (asmname && strcmp (TREE_STRING_POINTER (asmname), oldname)) in maybe_apply_renaming_pragma() [all …]
|
| /freebsd-12-stable/usr.sbin/makefs/ |
| D | cd9660.c | 1604 cd9660_level1_convert_filename(iso9660_disk *diskStructure, const char *oldname, in cd9660_level1_convert_filename() argument 1617 while (*oldname != '\0' && extlen < 3) { in cd9660_level1_convert_filename() 1619 if (*oldname == '.') { in cd9660_level1_convert_filename() 1631 *oldname == ',' && strlen(oldname) == 4) in cd9660_level1_convert_filename() 1638 if (islower((unsigned char)*oldname)) in cd9660_level1_convert_filename() 1639 *newname++ = toupper((unsigned char)*oldname); in cd9660_level1_convert_filename() 1640 else if (isupper((unsigned char)*oldname) in cd9660_level1_convert_filename() 1641 || isdigit((unsigned char)*oldname)) in cd9660_level1_convert_filename() 1642 *newname++ = *oldname; in cd9660_level1_convert_filename() 1651 oldname++; in cd9660_level1_convert_filename() [all …]
|
| /freebsd-12-stable/contrib/sendmail/contrib/ |
| 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-12-stable/contrib/amd/scripts/ |
| D | expn.1 | 252 $oldname = $names{"$u *** $server"}; 295 ($newhost, $newaddr, $newname) = &parse($addr,$server,$oldname, $#expansion == 0); 296 print "($newhost, $newaddr, $newname) = &parse($addr, $server, $oldname)\n" if $debug; 344 print STDERR "\@$server:$u ($oldname) USER UNKNOWN\n"; 346 &verbose(&final($u,$server,$oldname,"USER UNKNOWN")); 354 print STDERR "\@$server:$u ($oldname) USER AMBIGUOUS\n"; 356 &verbose(&final($u,$server,$oldname,"USER AMBIGUOUS")); 364 print STDERR "\@$server:$u ($oldname) REFUSED TO VRFY\n"; 366 &verbose(&final($u,$server,$oldname,"REFUSED TO VRFY")); 651 local($oldaddr,$server,$oldname,$one_to_one) = @_; [all …]
|
| D | expn.in | 251 $oldname = $names{"$u *** $server"}; 294 ($newhost, $newaddr, $newname) = &parse($addr,$server,$oldname, $#expansion == 0); 295 print "($newhost, $newaddr, $newname) = &parse($addr, $server, $oldname)\n" if $debug; 343 print STDERR "\@$server:$u ($oldname) USER UNKNOWN\n"; 345 &verbose(&final($u,$server,$oldname,"USER UNKNOWN")); 353 print STDERR "\@$server:$u ($oldname) USER AMBIGUOUS\n"; 355 &verbose(&final($u,$server,$oldname,"USER AMBIGUOUS")); 363 print STDERR "\@$server:$u ($oldname) REFUSED TO VRFY\n"; 365 &verbose(&final($u,$server,$oldname,"REFUSED TO VRFY")); 650 local($oldaddr,$server,$oldname,$one_to_one) = @_; [all …]
|
| /freebsd-12-stable/sbin/fsck_ffs/ |
| D | pass2.c | 530 char oldname[MAXPATHLEN + 1]; in fix_extraneous() local 569 getpathname(oldname, inp->i_number, inp->i_number); in fix_extraneous() 571 newname, oldname); in fix_extraneous() 605 getpathname(oldname, inp->i_parent, inp->i_number); in fix_extraneous() 607 pwarn("%s IS AN EXTRANEOUS HARD LINK TO DIRECTORY %s", oldname, in fix_extraneous() 621 if ((cp = strchr(oldname, '/')) == NULL) { in fix_extraneous()
|
| /freebsd-12-stable/crypto/heimdal/kcm/ |
| 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-12-stable/contrib/openbsm/libauditd/ |
| 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-12-stable/sbin/restore/ |
| D | utilities.c | 90 char oldname[MAXPATHLEN]; in mktempname() local 95 (void) strcpy(oldname, myname(ep)); in mktempname() 99 renameit(oldname, myname(ep)); in mktempname()
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/include/sanitizer/ |
| 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)) 1583 #define __sanitizer_syscall_pre_symlinkat(oldname, newdfd, newname) \ argument 1584 __sanitizer_syscall_pre_impl_symlinkat((long)(oldname), (long)(newdfd), \ [all …]
|
| /freebsd-12-stable/contrib/gdb/gdb/cli/ |
| D | cli-decode.c | 214 add_alias_cmd (char *name, char *oldname, enum command_class class, in add_alias_cmd() argument 221 copied_name = (char *) alloca (strlen (oldname) + 1); in add_alias_cmd() 222 strcpy (copied_name, oldname); in add_alias_cmd() 553 add_info_alias (char *name, char *oldname, int abbrev_flag) in add_info_alias() argument 555 return add_alias_cmd (name, oldname, 0, abbrev_flag, &infolist); in add_info_alias() 570 add_com_alias (char *name, char *oldname, enum command_class class, in add_com_alias() argument 573 return add_alias_cmd (name, oldname, class, abbrev_flag, &cmdlist); in add_com_alias()
|
| /freebsd-12-stable/contrib/ntp/libntp/lib/isc/unix/ |
| 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-12-stable/contrib/ntp/libntp/lib/isc/include/isc/ |
| D | file.h | 169 isc_file_rename(const char *oldname, const char *newname);
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| D | sanitizer_common_syscalls.inc | 1182 PRE_SYSCALL(link)(const void *oldname, const void *newname) { 1183 if (oldname) 1184 PRE_READ(oldname, __sanitizer::internal_strlen((const char *)oldname) + 1); 1189 POST_SYSCALL(link)(long res, const void *oldname, const void *newname) {} 1207 PRE_SYSCALL(rename)(const void *oldname, const void *newname) { 1208 if (oldname) 1209 PRE_READ(oldname, __sanitizer::internal_strlen((const char *)oldname) + 1); 1214 POST_SYSCALL(rename)(long res, const void *oldname, const void *newname) {} 2499 PRE_SYSCALL(symlinkat)(const void *oldname, long newdfd, const void *newname) { 2500 if (oldname) [all …]
|
| /freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
| D | zvol.h | 75 extern void zvol_rename_minors(spa_t *spa, const char *oldname,
|
| D | zfs_vfsops.h | 171 extern void zfsvfs_update_fromname(const char *oldname, const char *newname);
|
| /freebsd-12-stable/sys/compat/linux/ |
| D | linux_file.c | 695 .oldname = args->oldname, in linux_renameat() 733 LCONVPATHEXIST_AT(td, args->oldname, &from, olddfd); in linux_renameat2() 776 LCONVPATHEXIST(td, args->oldname, &path); in linux_symlinkat() 912 LCONVPATHEXIST_AT(td, args->oldname, &path, olddfd); in linux_linkat()
|
| /freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| D | dsl_dataset.c | 2490 char *oldname, *newname; in dsl_dataset_rename_snapshot_sync_impl() local 2523 oldname = kmem_alloc(ZFS_MAX_DATASET_NAME_LEN, KM_SLEEP); in dsl_dataset_rename_snapshot_sync_impl() 2525 snprintf(oldname, ZFS_MAX_DATASET_NAME_LEN, "%s@%s", in dsl_dataset_rename_snapshot_sync_impl() 2529 zfsvfs_update_fromname(oldname, newname); in dsl_dataset_rename_snapshot_sync_impl() 2530 zvol_rename_minors(dp->dp_spa, oldname, newname); in dsl_dataset_rename_snapshot_sync_impl() 2532 kmem_free(oldname, ZFS_MAX_DATASET_NAME_LEN); in dsl_dataset_rename_snapshot_sync_impl() 3012 char *oldname, *newname; in dsl_dataset_promote_sync() local 3082 oldname = kmem_alloc(ZFS_MAX_DATASET_NAME_LEN, KM_SLEEP); in dsl_dataset_promote_sync() 3102 dsl_dataset_name(ds, oldname); in dsl_dataset_promote_sync() 3126 zfsvfs_update_fromname(oldname, newname); in dsl_dataset_promote_sync() [all …]
|