/freebsd-13-stable/crypto/heimdal/lib/kadm5/ |
H A D | rename_s.c | 46 krb5_principal oldname; local 87 oldname = ent.entry.principal; 92 ent.entry.principal = oldname; 100 ent.entry.principal = oldname; 103 ret = context->db->hdb_remove(context->context, context->db, oldname); 104 ent.entry.principal = oldname;
|
/freebsd-13-stable/contrib/tcsh/ |
H A D | tw.spell.c | 37 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-13-stable/tools/tools/locale/tools/ |
H A 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-13-stable/contrib/openbsm/bin/auditd/ |
H A D | auditd.c | 155 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-13-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | file.h | 169 isc_file_rename(const char *oldname, const char *newname); 171 * \brief Rename the file 'oldname' to 'newname'.
|
/freebsd-13-stable/contrib/ntp/lib/isc/win32/ |
H A D | file.c | 146 isc_file_safemovefile(const char *oldname, const char *newname) { argument 156 if (stat(oldname, &sbuf) != 0) { 178 _chmod(oldname, _S_IREAD | _S_IWRITE); 180 filestatus = MoveFile(oldname, newname); 379 isc_file_rename(const char *oldname, const char *newname) { argument 382 REQUIRE(oldname != NULL); 385 r = isc_file_safemovefile(oldname, newname);
|
/freebsd-13-stable/usr.sbin/makefs/ |
H A D | cd9660.c | 1604 cd9660_level1_convert_filename(iso9660_disk *diskStructure, const char *oldname, argument 1617 while (*oldname != '\0' && extlen < 3) { 1619 if (*oldname == '.') { 1631 *oldname == ',' && strlen(oldname) == 4) 1638 if (islower((unsigned char)*oldname)) 1639 *newname++ = toupper((unsigned char)*oldname); 1640 else if (isupper((unsigned char)*oldname) 1641 || isdigit((unsigned char)*oldname)) 1642 *newname++ = *oldname; 1664 cd9660_level2_convert_filename(iso9660_disk *diskStructure, const char *oldname, char *newname, int is_file) argument 1748 cd9660_convert_filename(iso9660_disk *diskStructure, const char *oldname, char *newname, int is_file) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A 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, cons [all...] |
/freebsd-13-stable/sbin/fsck_ffs/ |
H A D | pass2.c | 539 char oldname[MAXPATHLEN + 1]; local 580 getpathname(oldname, inp->i_number, inp->i_number); 582 newname, oldname); 616 getpathname(oldname, inp->i_parent, inp->i_number); 618 pwarn("%s IS AN EXTRANEOUS HARD LINK TO DIRECTORY %s", oldname, 624 * unlink(last component of oldname pathname); 632 if ((cp = strchr(oldname, '/')) == NULL) {
|
/freebsd-13-stable/crypto/heimdal/kcm/ |
H A D | protocol.c | 937 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-13-stable/sbin/restore/ |
H A D | utilities.c | 90 char oldname[MAXPATHLEN]; local 95 (void) strcpy(oldname, myname(ep)); 99 renameit(oldname, myname(ep));
|
/freebsd-13-stable/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, [all...] |
/freebsd-13-stable/contrib/ntp/lib/isc/unix/ |
H A D | file.c | 330 isc_file_rename(const char *oldname, const char *newname) { argument 333 REQUIRE(oldname != NULL); 336 r = rename(oldname, newname);
|
/freebsd-13-stable/contrib/openbsm/libauditd/ |
H A D | auditd_lib.c | 1244 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-13-stable/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 685 #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)) 1583 #define __sanitizer_syscall_pre_symlinkat(oldname, newdfd, newname) \ 1584 __sanitizer_syscall_pre_impl_symlinkat((long)(oldname), (lon [all...] |
/freebsd-13-stable/sys/contrib/openzfs/include/sys/ |
H A D | dsl_dir.h | 185 int dsl_dir_rename(const char *oldname, const char *newname);
|
/freebsd-13-stable/sys/compat/linux/ |
H A D | linux_file.c | 900 .oldname = args->oldname, 939 return (kern_renameat(td, olddfd, args->oldname, newdfd, 942 LCONVPATHEXIST_AT(td, args->oldname, &from, olddfd); 988 return (kern_symlinkat(td, args->oldname, dfd, args->newname, 991 LCONVPATHEXIST(td, args->oldname, &path); 1143 return (kern_linkat(td, olddfd, newdfd, args->oldname, 1146 LCONVPATHEXIST_AT(td, args->oldname, &path, olddfd);
|
/freebsd-13-stable/contrib/lib9p/ |
H A D | fcall.h | 565 char *oldname; member in struct:l9p_f_trenameat
|
H A D | pack.c | 812 r = l9p_pustring(msg, &fcall->trenameat.oldname); 953 free(fcall->trenameat.oldname);
|
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/ |
H A D | zvol.c | 1313 zvol_rename_minors_impl(const char *oldname, const char *newname) argument 1321 oldnamelen = strlen(oldname); 1331 if (strcmp(zv->zv_name, oldname) == 0) { 1333 } else if (strncmp(zv->zv_name, oldname, oldnamelen) == 0 &&
|
/freebsd-13-stable/contrib/lib9p/pytest/ |
H A D | p9conn.py | 1116 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-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_vfsops.c | 2303 zfsvfs_update_fromname(const char *oldname, const char *newname) argument 2310 oldlen = strlen(oldname); 2315 if (strcmp(fromname, oldname) == 0) { 2320 if (strncmp(fromname, oldname, oldlen) == 0 &&
|
/freebsd-13-stable/sys/fs/msdosfs/ |
H A D | msdosfs_vnops.c | 947 u_char toname[12], oldname[11]; local 1166 memcpy(oldname, ip->de_Name, 11); 1172 memcpy(ip->de_Name, oldname, 11); 1188 memcpy(ip->de_Name, oldname, 11);
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libzpool/ |
H A D | kernel.c | 1001 zvol_rename_minors(spa_t *spa, const char *oldname, const char *newname, argument 1385 zfsvfs_update_fromname(const char *oldname, const char *newname) argument
|
/freebsd-13-stable/sys/arm64/linux/ |
H A D | linux_systrace_args.c | 279 uarg[0] = (intptr_t)p->oldname; /* const char * */ 289 uarg[1] = (intptr_t)p->oldname; /* const char * */ 300 uarg[1] = (intptr_t)p->oldname; /* const char * */ 2078 uarg[1] = (intptr_t)p->oldname; /* const char * */
|