Home
last modified time | relevance | path

Searched refs:newname (Results 1 – 25 of 72) sorted by relevance

123

/external/javassist/src/main/javassist/
DClassMap.java67 public void put(CtClass oldname, CtClass newname) { in put() argument
68 put(oldname.getName(), newname.getName()); in put()
89 public void put(String oldname, String newname) { in put() argument
90 if (oldname == newname) in put()
96 super.put(oldname2, toJvmName(newname)); in put()
108 public void putIfNone(String oldname, String newname) { in putIfNone() argument
109 if (oldname == newname) in putIfNone()
115 super.put(oldname2, toJvmName(newname)); in putIfNone()
118 protected final void put0(Object oldname, Object newname) { in put0() argument
119 super.put(oldname, newname); in put0()
DCtMethod.java207 public void setName(String newname) { in setName() argument
209 methodInfo.setName(newname); in setName()
/external/python/cpython2/Tools/scripts/
Dlinktree.py61 newname = os.path.join(new, name)
62 if debug > 1: print oldname, newname, linkname
66 os.mkdir(newname, 0777)
69 print newname + \
75 linknames(oldname, newname, linkname)
77 os.symlink(linkname, newname)
/external/e2fsprogs/contrib/
Dfsstress.c623 pathname_t newname; in attr_list_path() local
629 separate_pathname(name, buf, &newname); in attr_list_path()
631 rval = attr_list_path(&newname, buffer, buffersize, flags, in attr_list_path()
635 free_pathname(&newname); in attr_list_path()
642 pathname_t newname; in attr_remove_path() local
648 separate_pathname(name, buf, &newname); in attr_remove_path()
650 rval = attr_remove_path(&newname, attrname, flags); in attr_remove_path()
653 free_pathname(&newname); in attr_remove_path()
662 pathname_t newname; in attr_set_path() local
668 separate_pathname(name, buf, &newname); in attr_set_path()
[all …]
/external/ltp/testcases/kernel/fs/fsstress/
Dfsstress.c596 pathname_t newname; in attr_list_path() local
602 separate_pathname(name, buf, &newname); in attr_list_path()
604 rval = attr_list_path(&newname, buffer, buffersize, flags, in attr_list_path()
608 free_pathname(&newname); in attr_list_path()
615 pathname_t newname; in attr_remove_path() local
621 separate_pathname(name, buf, &newname); in attr_remove_path()
623 rval = attr_remove_path(&newname, attrname, flags); in attr_remove_path()
626 free_pathname(&newname); in attr_remove_path()
635 pathname_t newname; in attr_set_path() local
641 separate_pathname(name, buf, &newname); in attr_set_path()
[all …]
/external/dtc/
Dconvert-dtsv0-lexer.l208 char *newname;
210 newname = xmalloc(len + sizeof(suffix));
211 memcpy(newname, fname, len);
212 memcpy(newname + len, suffix, sizeof(suffix));
219 yyout = fopen(newname, "w");
222 newname, strerror(errno));
227 free(newname);
/external/dtc/tests/
Dset_name.c30 static void check_set_name(void *fdt, const char *path, const char *newname) in check_set_name() argument
59 err = fdt_set_name(fdt, offset, newname); in check_set_name()
61 FAIL("fdt_set_name(%d, \"%s\"): %s", offset, newname, in check_set_name()
68 if (strcmp(getname, newname) != 0) in check_set_name()
70 path, getname, newname); in check_set_name()
/external/syslinux/gpxe/src/util/
Ddiffsize.pl12 my($oldname, $newname);
21 $newname = shift;
30 $newrev = `git rev-parse $newname`;
87 calc_sizes($newname, $newrev);
/external/mmc-utils/
Dmmc.c301 char *newname; in prepare_args() local
304 newname = (char*)malloc(strlen(prgname)+strlen(cmd->verb)+2); in prepare_args()
305 if( !ret || !newname ){ in prepare_args()
307 free(newname); in prepare_args()
311 ret[0] = newname; in prepare_args()
315 strcpy(newname, prgname); in prepare_args()
316 strcat(newname, " "); in prepare_args()
317 strcat(newname, cmd->verb); in prepare_args()
/external/elfutils/src/
Delfcompress.c201 const char *newname, size_t ndx, in compress_section() argument
227 if (newname != NULL) in compress_section()
228 printf (" -> %s", newname); in compress_section()
653 char *newname = NULL; in process_file() local
697 newname = snamebuf; in process_file()
698 if (compress_section (scn, size, sname, newname, ndx, in process_file()
721 newname = snamebuf; in process_file()
730 shstrtab_newname = xstrdup (newname); in process_file()
737 symtab_newname = xstrdup (newname); in process_file()
742 int res = compress_section (scn, size, sname, newname, in process_file()
[all …]
/external/libunwind/src/dwarf/
DGfind_proc_info-lsb.c251 char *newname, *basedir, *p; in load_debug_frame() local
257 newname = malloc (strlen (linkbuf) + strlen (debugdir) in load_debug_frame()
259 if (basedir == NULL || newname == NULL) in load_debug_frame()
271 strcpy (newname, basedir); in load_debug_frame()
272 strcat (newname, "/"); in load_debug_frame()
273 strcat (newname, linkbuf); in load_debug_frame()
274 ret = load_debug_frame (newname, buf, bufsize, -1, segbase_bias); in load_debug_frame()
278 strcpy (newname, basedir); in load_debug_frame()
279 strcat (newname, "/.debug/"); in load_debug_frame()
280 strcat (newname, linkbuf); in load_debug_frame()
[all …]
/external/javassist/src/main/javassist/bytecode/
DClassFile.java397 public final void renameClass(String oldname, String newname) { in renameClass() argument
401 if (oldname.equals(newname)) in renameClass()
405 thisclassname = newname; in renameClass()
408 newname = Descriptor.toJvmName(newname); in renameClass()
409 constPool.renameClass(oldname, newname); in renameClass()
411 AttributeInfo.renameClass(attributes, oldname, newname); in renameClass()
417 minfo.setDescriptor(Descriptor.rename(desc, oldname, newname)); in renameClass()
418 AttributeInfo.renameClass(minfo.getAttributes(), oldname, newname); in renameClass() local
426 finfo.setDescriptor(Descriptor.rename(desc, oldname, newname)); in renameClass()
427 AttributeInfo.renameClass(finfo.getAttributes(), oldname, newname); in renameClass() local
DLocalVariableTypeAttribute.java51 String renameEntry(String desc, String oldname, String newname) { in renameEntry() argument
52 return SignatureAttribute.renameClass(desc, oldname, newname); in renameEntry()
DLocalVariableAttribute.java95 void renameClass(String oldname, String newname) { in renameClass() argument
103 desc = renameEntry(desc, oldname, newname); in renameClass()
109 String renameEntry(String desc, String oldname, String newname) { in renameEntry() argument
110 return Descriptor.rename(desc, oldname, newname); in renameEntry()
DParameterAnnotationsAttribute.java174 void renameClass(String oldname, String newname) { in renameClass() argument
176 map.put(oldname, newname); in renameClass()
DAttributeInfo.java258 void renameClass(String oldname, String newname) {} in renameClass() argument
261 static void renameClass(List attributes, String oldname, String newname) { in renameClass() argument
265 ai.renameClass(oldname, newname); in renameClass()
/external/iputils/ninfod/
Dninfod_name.c292 struct utsname newname; in init_nodeinfo_nodename() local
298 uname(&newname); in init_nodeinfo_nodename()
299 changed = strcmp(newname.nodename, utsname.nodename); in init_nodeinfo_nodename()
304 memcpy(&utsname, &newname, sizeof(newname)); in init_nodeinfo_nodename()
/external/python/cpython2/Lib/test/
Dtest_old_mailbox.py50 newname = os.path.join(self._dir, dir, filename)
57 os.link(tmpname, newname)
59 with open(newname, "w") as fp:
61 self._msgfiles.append(newname)
/external/toybox/toys/posix/
Dpatch.c266 char *oldname = NULL, *newname = NULL; in patch_main() local
324 name = &newname; in patch_main()
371 name = reverse ? oldname : newname; in patch_main()
377 name = reverse ? newname : oldname; in patch_main()
429 free(newname); in patch_main()
/external/openssh/openbsd-compat/
Dport-linux.c177 ssh_selinux_change_context(const char *newname) in ssh_selinux_change_context() argument
204 newlen = strlen(oldctx) + strlen(newname) + 1; in ssh_selinux_change_context()
208 strlcpy(newctx + len, newname, newlen - len); in ssh_selinux_change_context()
/external/toybox/kconfig/
Dconfdata.c403 char dirname[128], tmpname[128], newname[128]; in conf_write() local
432 sprintf(newname, "%s%s", dirname, basename); in conf_write()
439 out = fopen(newname, "w"); in conf_write()
561 rename(newname, dirname); in conf_write()
562 if (rename(tmpname, newname)) in conf_write()
568 "#\n"), newname); in conf_write()
/external/selinux/libsemanage/utils/
Dsemanage_migrate_store120 newname = "seusers.local"
122 newname = name
123 copy_file(os.path.join(root, name), os.path.join(newstore, newname))
/external/openssh/
Dssh.c374 char *cp, *fullhost, newname[NI_MAXHOST]; in resolve_canonicalize() local
392 newname, sizeof(newname))) != NULL) { in resolve_canonicalize()
394 if (strcasecmp(*hostp, newname) != 0) { in resolve_canonicalize()
396 __func__, *hostp, newname); in resolve_canonicalize()
398 *hostp = xstrdup(newname); in resolve_canonicalize()
408 newname, sizeof(newname))) != NULL) in resolve_canonicalize()
427 *newname = '\0'; in resolve_canonicalize()
433 newname, sizeof(newname))) == NULL) { in resolve_canonicalize()
441 if (!check_follow_cname(direct, &fullhost, newname)) { in resolve_canonicalize()
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h686 #define __sanitizer_syscall_pre_link(oldname, newname) \ argument
687 __sanitizer_syscall_pre_impl_link((long)(oldname), (long)(newname))
688 #define __sanitizer_syscall_post_link(res, oldname, newname) \ argument
689 __sanitizer_syscall_post_impl_link(res, (long)(oldname), (long)(newname))
698 #define __sanitizer_syscall_pre_rename(oldname, newname) \ argument
699 __sanitizer_syscall_pre_impl_rename((long)(oldname), (long)(newname))
700 #define __sanitizer_syscall_post_rename(res, oldname, newname) \ argument
701 __sanitizer_syscall_post_impl_rename(res, (long)(oldname), (long)(newname))
1584 #define __sanitizer_syscall_pre_symlinkat(oldname, newdfd, newname) \ argument
1586 (long)(newname))
[all …]
/external/python/cpython2/Lib/
Dmodulefinder.py66 def ReplacePackage(oldname, newname): argument
67 replacePackageMap[oldname] = newname
457 newname = replacePackageMap.get(fqname)
458 if newname:
459 fqname = newname

123