| /freebsd-9-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-9-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-9-stable/crypto/heimdal/lib/kadm5/ |
| D | rename_s.c | 46 krb5_principal oldname; in kadm5_s_rename_principal() local 86 oldname = ent.entry.principal; in kadm5_s_rename_principal() 91 ent.entry.principal = oldname; in kadm5_s_rename_principal() 99 ent.entry.principal = oldname; in kadm5_s_rename_principal() 102 ret = context->db->hdb_remove(context->context, context->db, oldname); in kadm5_s_rename_principal() 103 ent.entry.principal = oldname; in kadm5_s_rename_principal()
|
| /freebsd-9-stable/contrib/tcsh/ |
| D | tw.spell.c | 41 spell_me(struct Strbuf *oldname, int looking, Char *pat, eChar suf) in spell_me() argument 44 const Char *old = oldname->s; in spell_me() 61 retval = (StrQcmp(oldname->s, newname.s) != 0); in spell_me() 63 xfree(oldname->s); in spell_me() 64 *oldname = newname; /* shove it back. */ in spell_me()
|
| /freebsd-9-stable/contrib/bind9/bin/dnssec/ |
| D | dnssec-revoke.c | 84 char newname[1024], oldname[1024]; in main() local 252 isc_buffer_init(&buf, oldname, sizeof(oldname)); in main() 255 if (strcmp(oldname, newname) == 0) in main() 257 (void)unlink(oldname); in main() 260 (void)unlink(oldname); in main()
|
| /freebsd-9-stable/contrib/openbsm/bin/auditd/ |
| D | auditd.c | 157 char *oldname; in close_lastfile() local 164 oldname = strdup(lastfile); in close_lastfile() 165 if (oldname == NULL) in close_lastfile() 171 if (auditd_rename(oldname, lastfile) != 0) in close_lastfile() 173 "Could not rename %s to %s: %m", oldname, in close_lastfile() 182 oldname, lastfile); in close_lastfile() 186 auditd_log_err("Could not rename %s to %s", oldname, in close_lastfile() 189 free(oldname); in close_lastfile()
|
| /freebsd-9-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-9-stable/usr.sbin/makefs/ |
| D | cd9660.c | 1592 cd9660_level1_convert_filename(const char *oldname, char *newname, int is_file) in cd9660_level1_convert_filename() argument 1604 while (*oldname != '\0' && extlen < 3) { in cd9660_level1_convert_filename() 1606 if (*oldname == '.') { in cd9660_level1_convert_filename() 1618 *oldname == ',' && strlen(oldname) == 4) in cd9660_level1_convert_filename() 1624 if (islower((unsigned char)*oldname)) in cd9660_level1_convert_filename() 1625 *newname++ = toupper((unsigned char)*oldname); in cd9660_level1_convert_filename() 1626 else if (isupper((unsigned char)*oldname) in cd9660_level1_convert_filename() 1627 || isdigit((unsigned char)*oldname)) in cd9660_level1_convert_filename() 1628 *newname++ = *oldname; in cd9660_level1_convert_filename() 1637 oldname ++; in cd9660_level1_convert_filename() [all …]
|
| /freebsd-9-stable/contrib/ntp/lib/isc/win32/ |
| D | file.c | 146 isc_file_safemovefile(const char *oldname, const char *newname) { in isc_file_safemovefile() argument 156 if (stat(oldname, &sbuf) != 0) { in isc_file_safemovefile() 178 _chmod(oldname, _S_IREAD | _S_IWRITE); in isc_file_safemovefile() 180 filestatus = MoveFile(oldname, newname); in isc_file_safemovefile() 379 isc_file_rename(const char *oldname, const char *newname) { in isc_file_rename() argument 382 REQUIRE(oldname != NULL); in isc_file_rename() 385 r = isc_file_safemovefile(oldname, newname); in isc_file_rename()
|
| /freebsd-9-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-9-stable/gnu/usr.bin/patch/ |
| D | pch.c | 254 char *oldname = Nullch; in intuit_diff_type() local 380 oldname = fetchname(oldtmp, strippath, in intuit_diff_type() 387 else if (oldname && newname) { in intuit_diff_type() 388 if (strlen(oldname) < strlen(newname)) in intuit_diff_type() 389 filearg[0] = savestr(oldname); in intuit_diff_type() 394 else if (oldname) in intuit_diff_type() 395 filearg[0] = savestr(oldname); in intuit_diff_type() 409 oldname = fetchname(oldtmp, strippath, TRUE); in intuit_diff_type() 412 if (oldname && newname) { in intuit_diff_type() 413 if (strlen(oldname) < strlen(newname)) in intuit_diff_type() [all …]
|
| /freebsd-9-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-9-stable/contrib/texinfo/makeinfo/ |
| D | html.c | 681 char *oldname = xstrdup (filename); in fix_filename() local 687 if (cr_or_whitespace (oldname[i])) in fix_filename() 689 else if (URL_SAFE_CHAR (oldname[i])) in fix_filename() 690 strncat (filename, (char *) oldname + i, 1); in fix_filename() 694 sprintf (hexchar, "_00%x", (unsigned char) oldname[i]); in fix_filename() 704 free (oldname); in fix_filename()
|
| /freebsd-9-stable/sbin/fsck_ffs/ |
| D | pass2.c | 525 char oldname[MAXPATHLEN + 1]; in fix_extraneous() local 564 getpathname(oldname, inp->i_number, inp->i_number); in fix_extraneous() 566 newname, oldname); in fix_extraneous() 600 getpathname(oldname, inp->i_parent, inp->i_number); in fix_extraneous() 602 pwarn("%s IS AN EXTRANEOUS HARD LINK TO DIRECTORY %s", oldname, in fix_extraneous() 616 if ((cp = rindex(oldname, '/')) == NULL) { in fix_extraneous()
|
| /freebsd-9-stable/contrib/openbsm/libauditd/ |
| D | auditd_lib.c | 1189 char oldname[MAXPATHLEN]; in audit_quick_stop() local 1219 len = readlink(AUDIT_CURRENT_LINK, oldname, sizeof(oldname) - 1); in audit_quick_stop() 1222 oldname[len++] = '\0'; in audit_quick_stop() 1227 strlcpy(newname, oldname, sizeof(newname)); in audit_quick_stop() 1231 if (auditd_rename(oldname, newname) != 0) in audit_quick_stop()
|
| /freebsd-9-stable/sbin/restore/ |
| D | utilities.c | 88 char oldname[MAXPATHLEN]; in mktempname() local 93 (void) strcpy(oldname, myname(ep)); in mktempname() 97 renameit(oldname, myname(ep)); in mktempname()
|
| /freebsd-9-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-9-stable/contrib/ntp/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-9-stable/contrib/bind9/lib/isc/unix/ |
| D | file.c | 384 isc_file_rename(const char *oldname, const char *newname) { in isc_file_rename() argument 387 REQUIRE(oldname != NULL); in isc_file_rename() 390 r = rename(oldname, newname); in isc_file_rename()
|
| /freebsd-9-stable/contrib/ntp/lib/isc/include/isc/ |
| D | file.h | 169 isc_file_rename(const char *oldname, const char *newname);
|
| /freebsd-9-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
| D | zvol.h | 76 extern void zvol_rename_minors(const char *oldname, const char *newname);
|
| D | zfs_vfsops.h | 161 extern void zfsvfs_update_fromname(const char *oldname, const char *newname);
|
| D | dsl_dir.h | 145 int dsl_dir_rename(const char *oldname, const char *newname);
|
| /freebsd-9-stable/contrib/bind9/lib/isc/include/isc/ |
| D | file.h | 180 isc_file_rename(const char *oldname, const char *newname);
|