/external/python/cpython2/Tools/scripts/ |
D | linktree.py | 61 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/ |
D | linktree.py | 61 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/ |
D | fsstress.c | 623 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/ |
D | fsstress.c | 596 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/ |
D | convert-dtsv0-lexer.l | 208 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/ |
D | set_name.c | 30 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/ |
D | regdb.py | 358 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/ |
D | arch.c | 118 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/ |
D | util_fuzz.cc | 29 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/ |
D | elfcompress.c | 198 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/ |
D | Gfind_proc_info-lsb.c | 251 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/ |
D | resolve_reorder_axes.cc | 32 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/ |
D | testutil_test.go | 165 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/ |
D | ninfod_name.c | 292 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/ |
D | test_old_mailbox.py | 50 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/ |
D | windows_unicode_filenames.c | 164 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/ |
D | patch.c | 312 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/ |
D | port-linux.c | 177 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/ |
D | confdata.c | 403 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/ |
D | semanage_migrate_store | 121 newname = "seusers.local" 123 newname = name 124 copy_file(os.path.join(root, name), os.path.join(newstore, newname))
|
/external/openssh/ |
D | ssh.c | 374 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/ |
D | ioport.h | 144 #define rename_region(region, newname) do { (region)->name = (newname); } while (0) argument
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 686 #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/ |
D | windows_unicode_filenames.h | 56 int flac_internal_rename_utf8(const char *oldname, const char *newname);
|
/external/u-boot/scripts/kconfig/ |
D | confdata.c | 746 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()
|