Home
last modified time | relevance | path

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

1234

/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/python/cpython3/Tools/scripts/
Dlinktree.py61 newname = os.path.join(new, name)
62 if debug > 1: print(oldname, newname, linkname)
66 os.mkdir(newname, 0o777)
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/mesa3d/src/amd/registers/
Dregdb.py358 def merge_enums(self, names, newname, union=False): argument
363 if newname not in names and newname in self.__enums:
364 raise RegisterDatabaseError('Enum {0} already exists'.format(newname))
373 self.__enums[newname] = newenum
378 field.enum_ref = newname
418 def merge_register_types(self, names, newname, union=False): argument
423 if newname not in names and newname in self.__register_types:
424 raise RegisterDatabaseError('Register type {0} already exists'.format(newname))
433 self.__register_types[newname] = newregtype
437 regmap.type_ref = newname
[all …]
/external/honggfuzz/posix/
Darch.c118 char newname[PATH_MAX]; in arch_analyzeSignal() local
122 snprintf(newname, sizeof(newname), "%s", run->origFileName); in arch_analyzeSignal()
124 snprintf(newname, sizeof(newname), "%s/%s.PID.%d.TIME.%s.%s", run->global->io.crashDir, in arch_analyzeSignal()
128 LOG_I("Ok, that's interesting, saving input '%s'", newname); in arch_analyzeSignal()
137 newname, run->dynamicFile, run->dynamicFileSz, O_CREAT | O_EXCL | O_WRONLY) == false) { in arch_analyzeSignal()
/external/oss-fuzz/projects/mysql-server/targets/
Dutil_fuzz.cc29 char newname[CP_NAME_MAX_SIZE]; in cp_cb() local
32 snprintf(newname, CP_NAME_MAX_SIZE-1, "%s%s", globalto, fpath+globallen); in cp_cb()
34 rv = mkdir(newname, sb->st_mode); in cp_cb()
37 int fdout = open(newname, O_WRONLY|O_CREAT, sb->st_mode); in cp_cb()
/external/elfutils/src/
Delfcompress.c198 const char *newname, size_t ndx, in compress_section() argument
224 if (newname != NULL) in compress_section()
225 printf (" -> %s", newname); in compress_section()
689 char *newname = NULL; in process_file() local
733 newname = snamebuf; in process_file()
734 if (compress_section (scn, size, sname, newname, ndx, in process_file()
757 newname = snamebuf; in process_file()
766 shstrtab_newname = xstrdup (newname); in process_file()
773 symtab_newname = xstrdup (newname); in process_file()
778 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()
262 free (newname); in load_debug_frame()
275 strcpy (newname, basedir); in load_debug_frame()
276 strcat (newname, "/"); in load_debug_frame()
277 strcat (newname, linkbuf); in load_debug_frame()
278 ret = load_debug_frame (newname, buf, bufsize, -1, segbase_bias); in load_debug_frame()
282 strcpy (newname, basedir); in load_debug_frame()
283 strcat (newname, "/.debug/"); in load_debug_frame()
[all …]
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_reorder_axes.cc32 const string& newname = AvailableArrayName(*model, desired_newname); in RenameArray() local
34 arrays[newname] = std::move(arrays[oldname]); in RenameArray()
39 input = newname; in RenameArray()
44 output = newname; in RenameArray()
/external/toolchain-utils/compiler_wrapper/
Dtestutil_test.go165 func (ctx *testContext) symlink(oldname string, newname string) {
169 if !filepath.IsAbs(newname) {
170 newname = filepath.Join(ctx.tempDir, newname)
172 if err := os.MkdirAll(filepath.Dir(newname), 0777); err != nil {
175 if err := os.Symlink(oldname, newname); err != nil {
/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/flac/libFLAC/
Dwindows_unicode_filenames.c164 int flac_internal_rename_utf8(const char *oldname, const char *newname) in flac_internal_rename_utf8() argument
167 return rename(oldname, newname); in flac_internal_rename_utf8()
175 if (!(wnew = wchar_from_utf8(newname))) break; in flac_internal_rename_utf8()
/external/toybox/toys/posix/
Dpatch.c312 char *oldname = NULL, *newname = NULL; in patch_main() local
369 name = &newname; in patch_main()
418 char **which = reverse ? &oldname : &newname; in patch_main()
427 name = reverse ? oldname : newname; in patch_main()
432 name = reverse ? newname : oldname; in patch_main()
481 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_store121 newname = "seusers.local"
123 newname = name
124 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/u-boot/include/linux/
Dioport.h144 #define rename_region(region, newname) do { (region)->name = (newname); } while (0) argument
/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/flac/include/share/
Dwindows_unicode_filenames.h56 int flac_internal_rename_utf8(const char *oldname, const char *newname);
/external/u-boot/scripts/kconfig/
Dconfdata.c746 char dirname[PATH_MAX+1], tmpname[PATH_MAX+22], newname[PATH_MAX+8]; in conf_write() local
771 sprintf(newname, "%s%s", dirname, basename); in conf_write()
778 out = fopen(newname, "w"); in conf_write()
827 rename(newname, dirname); in conf_write()
828 if (rename(tmpname, newname)) in conf_write()
832 conf_message(_("configuration written to %s"), newname); in conf_write()

1234