/external/icu/tools/icu4c_srcgen/ |
D | generate_ndk.py | 74 def modify_func_declarations(src_path, dst_path, decl_names): argument 98 with open(dst_path, "w") as out: 164 dst_path = dst_folder 166 dst_path = os.path.join(dst_path, 'unicode') 167 dst_path = os.path.join(dst_path, base_header_name) 169 shutil.copyfile(src_path, dst_path) 234 dst_path = os.path.join(headers_folder, basename) 235 modify_func_declarations(src_path, dst_path, header_to_function_names[basename]) 238 remove_ignored_includes(dst_path, IGNORED_INCLUDE_DEPENDENCY[basename])
|
/external/llvm-project/lldb/source/API/ |
D | SBFileSpec.cpp | 101 int SBFileSpec::ResolvePath(const char *src_path, char *dst_path, in ResolvePath() argument 104 (const char *, char *, size_t), src_path, dst_path, in ResolvePath() 109 ::snprintf(dst_path, dst_len, "%s", result.c_str()); in ResolvePath() 145 uint32_t SBFileSpec::GetPath(char *dst_path, size_t dst_len) const { in GetPath() argument 147 (char *, size_t), dst_path, "", dst_len); in GetPath() 149 uint32_t result = m_opaque_up->GetPath(dst_path, dst_len); in GetPath() 151 if (result == 0 && dst_path && dst_len > 0) in GetPath() 152 *dst_path = '\0'; in GetPath()
|
/external/skia/infra/bots/ |
D | zip_utils.py | 71 dst_path = os.path.join(target_dir, dst_subpath) 72 if dst_path.endswith(os.path.sep): 73 os.mkdir(dst_path) 75 with open(dst_path, 'wb') as f: 78 os.chmod(dst_path, perms)
|
/external/skqp/infra/bots/ |
D | zip_utils.py | 70 dst_path = os.path.join(target_dir, dst_subpath) 71 if dst_path.endswith(os.path.sep): 72 os.mkdir(dst_path) 74 with open(dst_path, 'wb') as f: 77 os.chmod(dst_path, perms)
|
/external/autotest/client/deps/camera_hal3/ |
D | camera_hal3.py | 15 dst_path = os.path.join(os.getcwd(), 'bin') 16 os.mkdir(dst_path) 18 os.path.join(dst_path, binary))
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_var_copies.c | 107 nir_deref_path dst_path, src_path; in nir_lower_deref_copy_instr() local 108 nir_deref_path_init(&dst_path, dst, NULL); in nir_lower_deref_copy_instr() 112 emit_deref_copy_load_store(b, dst_path.path[0], &dst_path.path[1], in nir_lower_deref_copy_instr() 117 nir_deref_path_finish(&dst_path); in nir_lower_deref_copy_instr()
|
D | nir_opt_find_array_copies.c | 426 nir_deref_path dst_path; in handle_write() local 427 nir_deref_path_init(&dst_path, dst, state->dead_ctx); in handle_write() 430 for (nir_deref_instr **instr = dst_path.path; *instr; instr++, idx++) { in handle_write() 438 node_for_path_with_wildcard(&dst_path, idx, state); in handle_write() 494 nir_copy_deref(b, build_wildcard_deref(b, &dst_path, idx), in handle_write() 497 foreach_aliasing_node(&dst_path, clobber, state); in handle_write() 515 foreach_aliasing_node(&dst_path, clobber, state); in handle_write() 565 nir_deref_path dst_path; in opt_find_array_copies_block() local 566 nir_deref_path_init(&dst_path, dst_deref, state->dead_ctx); in opt_find_array_copies_block() 567 foreach_aliasing_node(&dst_path, clobber, state); in opt_find_array_copies_block()
|
D | nir_split_vars.c | 661 struct array_var_info *dst_info, nir_deref_path *dst_path, in emit_split_copies() argument 668 while ((dst_p = dst_path->path[dst_level + 1])) { in emit_split_copies() 696 assert(glsl_get_length(dst_path->path[dst_level]->type) == in emit_split_copies() 698 unsigned len = glsl_get_length(dst_path->path[dst_level]->type); in emit_split_copies() 700 emit_split_copies(b, dst_info, dst_path, dst_level + 1, in emit_split_copies() 707 emit_split_copies(b, dst_info, dst_path, dst_level + 1, in emit_split_copies() 744 nir_deref_path dst_path, src_path; in split_array_copies_impl() local 745 nir_deref_path_init(&dst_path, dst_deref, mem_ctx); in split_array_copies_impl() 748 if (!deref_has_split_wildcard(&dst_path, dst_info) && in split_array_copies_impl() 754 emit_split_copies(&b, dst_info, &dst_path, 0, dst_path.path[0], in split_array_copies_impl()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/ |
D | gen_common.py | 134 dst_path = os.path.join(dst, f) 142 if MakeDir(dst_path): 143 print('ERROR: Could not create directory:', dst_path, file=sys.stderr) 147 print('mkdir', dst_path) 148 rval = CopyDirFilesIfDifferent(src_path, dst_path, recurse, verbose, orig_dst) 150 rval = CopyFileIfDifferent(src_path, dst_path, verbose)
|
/external/compiler-rt/test/asan/android_commands/ |
D | android_common.py | 41 dst_path = os.path.join(ANDROID_TMPDIR, os.path.basename(path)) 42 tmp_path = dst_path + '.push' 44 adb(['shell', 'cp "%s" "%s" 2>&1' % (tmp_path, dst_path)], 5)
|
/external/autotest/client/cros/ |
D | network_chroot.py | 250 dst_path = self.chroot_path(rootdir) 255 os.symlink(link_path, dst_path) 257 os.makedirs(dst_path) # Recursively create directories. 265 dst_path = self.chroot_path(config_file) 267 shutil.copyfile(src_path, dst_path)
|
/external/llvm-project/lldb/source/Plugins/Platform/POSIX/ |
D | PlatformPOSIX.cpp | 102 std::string dst_path(destination.GetPath()); in PutFile() local 103 if (dst_path.empty()) in PutFile() 106 command.Printf("cp %s %s", src_path.c_str(), dst_path.c_str()); in PutFile() 114 if (chown_file(this, dst_path.c_str(), uid, gid) != 0) in PutFile() 122 std::string dst_path(destination.GetPath()); in PutFile() local 123 if (dst_path.empty()) in PutFile() 129 dst_path.c_str()); in PutFile() 132 GetRSyncPrefix(), dst_path.c_str()); in PutFile() 135 GetHostname(), dst_path.c_str()); in PutFile() 163 std::string dst_path(destination.GetPath()); in GetFile() local [all …]
|
/external/crosvm/qcow_utils/src/ |
D | qcow_img.rs | 284 fn convert(src_path: &str, dst_path: &str) -> std::result::Result<(), ()> { in convert() 297 .open(dst_path) in convert() 301 println!("Failed to open destination file {}", dst_path); in convert() 306 let dst_type = if dst_path.ends_with("qcow2") { in convert() 314 println!("Converted {} to {}", src_path, dst_path); in convert() 318 println!("Failed to copy from {} to {}", src_path, dst_path); in convert()
|
/external/llvm-project/compiler-rt/test/sanitizer_common/android_commands/ |
D | android_common.py | 45 dst_path = host_to_device_path(path) 46 adb(['push', path, dst_path], 5, 60)
|
/external/skia/third_party/icu/ |
D | make_data_cpp.py | 31 def convert(fmt, name, src_path, dst_path): argument 35 with open(dst_path, 'w') as o:
|
/external/llvm-project/lldb/bindings/interface/ |
D | SBFileSpec.i | 72 GetPath (char *dst_path, size_t dst_len) const; 75 ResolvePath (const char *src_path, char *dst_path, size_t dst_len);
|
/external/llvm-project/lldb/include/lldb/API/ |
D | SBFileSpec.h | 51 uint32_t GetPath(char *dst_path, size_t dst_len) const; 53 static int ResolvePath(const char *src_path, char *dst_path, size_t dst_len);
|
/external/python/asn1crypto/dev/ |
D | deps.py | 304 dst_path = os.path.join(deps_dir, zi.filename[8:]) 305 dst_dir = os.path.dirname(dst_path) 308 with open(dst_path, 'wb') as f: 350 dst_path = os.path.join(staging_dir, rel_path) 351 dst_dir = os.path.dirname(dst_path) 354 with open(dst_path, 'wb') as f:
|
/external/compiler-rt/lib/sanitizer_common/scripts/ |
D | sancov.py | 171 dst_path = module_path + '.' + os.path.basename(path)[:-4] 172 print >> sys.stderr, "%s: writing %d PCs to %s" % (prog_name, len(pc_list), dst_path) 175 with open(dst_path, 'ab+') as f2:
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/scripts/ |
D | sancov.py | 175 dst_path = module_path + '.' + os.path.basename(path)[:-4] 176 sys.stderr.write("%s: writing %d PCs to %s\n" % (prog_name, len(pc_list), dst_path)) 179 with open(dst_path, 'ab+') as f2:
|
/external/autotest/server/hosts/ |
D | base_servohost.py | 559 def _mount_drive(self, src_path, dst_path): argument 569 self.run('mkdir -p %s' % dst_path) 571 result = self.run('mount -o ro %s %s' % (src_path, dst_path),
|
/external/python/cpython3/Doc/library/ |
D | audit_events.rst | 33 | _winapi.CreateJunction | ``src_path``, ``dst_path`` |
|
/external/rust/crates/rusqlite/src/ |
D | backup.rs | 63 dst_path: P, in backup() 67 let mut dst = Connection::open(dst_path)?; in backup()
|
/external/python/cpython3/Modules/clinic/ |
D | _winapi.c.h | 225 LPWSTR dst_path); 232 LPWSTR dst_path; in _winapi_CreateJunction() local 235 &src_path, &dst_path)) { in _winapi_CreateJunction() 238 return_value = _winapi_CreateJunction_impl(module, src_path, dst_path); in _winapi_CreateJunction()
|
/external/autotest/site_utils/lxc/ |
D | container.py | 569 dst_path = os.path.join(self.rootfs, 571 self._do_copy(src=host_path, dst=dst_path)
|