/external/skqp/bin/ |
D | fetch-clang-format | 18 target_path = 'buildtools/linux64/' + target if 'linux' in sys.platform else \ 22 sha1_path = target_path + '.sha1' 35 if sha1_of_file(target_path) != sha1: 36 with open(target_path, 'wb') as f: 40 os.chmod(target_path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR | 44 target_copy_path = os.path.join('bin', os.path.basename(target_path)) 46 shutil.copy(target_path, target_copy_path)
|
/external/skia/bin/ |
D | fetch-clang-format | 18 target_path = 'buildtools/linux64/' + target if 'linux' in sys.platform else \ 22 sha1_path = target_path + '.sha1' 35 if sha1_of_file(target_path) != sha1: 36 with open(target_path, 'wb') as f: 40 os.chmod(target_path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR | 44 target_copy_path = os.path.join('bin', os.path.basename(target_path)) 46 shutil.copy(target_path, target_copy_path)
|
/external/libchrome/libchrome_tools/ |
D | update_libchrome.py | 146 target_path = os.path.join(output_root, path) 147 if (not os.path.isdir(target_path) or path in ('.git', 'libchrome_tools', 'soong')): 149 shutil.rmtree(target_path) 161 target_path = os.path.join(output_root, filepath) 162 os.makedirs(os.path.dirname(target_path), mode=0o755, exist_ok=True) 163 shutil.copy2(source_path, target_path)
|
/external/u-boot/scripts/dtc/libfdt/ |
D | fdt_overlay.c | 748 const char *target_path; in overlay_symbol_update() local 816 ret = overlay_get_target(fdt, fdto, fragment, &target_path); in overlay_symbol_update() 822 if (!target_path) { in overlay_symbol_update() 828 len = strlen(target_path); in overlay_symbol_update() 836 if (!target_path) { in overlay_symbol_update() 838 ret = overlay_get_target(fdt, fdto, fragment, &target_path); in overlay_symbol_update() 846 if (!target_path) { in overlay_symbol_update() 851 memcpy(buf, target_path, len + 1); in overlay_symbol_update()
|
/external/e2fsprogs/contrib/android/ |
D | basefs_allocator.c | 115 errcode_t base_fs_alloc_set_target(ext2_filsys fs, const char *target_path, in base_fs_alloc_set_target() argument 127 target_path, in base_fs_alloc_set_target() 128 strlen(target_path)); in base_fs_alloc_set_target() 133 const char *target_path EXT2FS_ATTR((unused)), in base_fs_alloc_unset_target()
|
D | basefs_allocator.h | 11 errcode_t base_fs_alloc_set_target(ext2_filsys fs, const char *target_path, 13 errcode_t base_fs_alloc_unset_target(ext2_filsys fs, const char *target_path,
|
/external/libchrome/base/files/ |
D | file_util_posix.cc | 239 FilePath target_path(to_path); in DoCopyDirectory() local 241 !from_path_base.AppendRelativePath(current, &target_path)) { in DoCopyDirectory() 247 if (mkdir(target_path.value().c_str(), mode) == 0) in DoCopyDirectory() 253 << target_path.value(); in DoCopyDirectory() 304 File outfile(open(target_path.value().c_str(), open_flags, mode)); in DoCopyDirectory() 307 << target_path.value(); in DoCopyDirectory() 508 bool CreateSymbolicLink(const FilePath& target_path, in CreateSymbolicLink() argument 511 DCHECK(!target_path.empty()); in CreateSymbolicLink() 512 return ::symlink(target_path.value().c_str(), in CreateSymbolicLink() 516 bool ReadSymbolicLink(const FilePath& symlink_path, FilePath* target_path) { in ReadSymbolicLink() argument [all …]
|
/external/jsoncpp/scons-tools/ |
D | targz.py | 43 target_path = str(target[0]) 44 fileobj = gzip.GzipFile( target_path, 'wb', compression ) 45 tar = tarfile.TarFile(os.path.splitext(target_path)[0], 'w', fileobj)
|
/external/grpc-grpc/src/python/grpcio/ |
D | commands.py | 258 target_path = os.path.abspath( 263 os.path.join(target_path, 'libboringssl.a'), 264 os.path.join(target_path, 'libares.a'), 265 os.path.join(target_path, 'libgpr.a'), 266 os.path.join(target_path, 'libgrpc.a')
|
/external/bcc/src/cc/ |
D | ns_guard.cc | 32 std::string target_path = "/proc/" + std::to_string(pid) + "/ns/mnt"; in ProcMountNS() local 33 ebpf::FileDesc target_fd(open(target_path.c_str(), O_RDONLY)); in ProcMountNS()
|
/external/e2fsprogs/misc/ |
D | create_inode.h | 28 errcode_t (* create_new_inode)(ext2_filsys fs, const char *target_path, 32 const char *target_path, const char *name,
|
/external/autotest/client/common_lib/cros/ |
D | smbprovider.py | 365 def move_entry(self, mount_id, source_path, target_path): argument 378 logging.info("Moving file to: %s", target_path) 385 proto.target_path = target_path
|
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor_util/ |
D | move.py | 28 os.rename(move.source_path, move.target_path) 56 def target_path(self): member in _Move
|
/external/autotest/client/cros/ |
D | network_chroot.py | 251 for src_path, target_path in self.ROOT_SYMLINKS: 253 os.symlink(target_path, link_path)
|
/external/autotest/client/bin/ |
D | site_sysinfo.py | 228 target_path = os.path.join(dest_dir, 230 target_dir = os.path.dirname(target_path) 233 with open(target_path, "w") as out_log:
|
/external/perfetto/tools/ |
D | install-build-deps | 340 target_path = os.path.join(path, info.filename) 342 os.chmod(target_path, (info.external_attr >> 16L) | min_acls)
|
/external/autotest/client/site_tests/enterprise_SmbProviderDaemon/ |
D | enterprise_SmbProviderDaemon.py | 369 def _check_move_entry(self, mount_id, source_path, target_path, argument 383 target_path)
|
/external/jsoncpp/ |
D | makerelease.py | 136 def download( url, target_path ): argument 144 fout = open( target_path, 'wb' )
|
/external/cros/system_api/dbus/smbprovider/ |
D | directory_entry.proto | 198 optional string target_path = 3; field 211 optional string target_path = 3; field
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 1600 get_target_path(HANDLE hdl, wchar_t **target_path) in get_target_path() argument 1628 *target_path = buf; in get_target_path() 1640 wchar_t *target_path; in win32_xstat_impl() local 1703 if (!get_target_path(hFile2, &target_path)) { in win32_xstat_impl() 1712 code = win32_xstat_impl(target_path, result, FALSE); in win32_xstat_impl() 1713 PyMem_RawFree(target_path); in win32_xstat_impl() 3749 wchar_t buf[MAXPATHLEN], *target_path = buf; in os__getfinalpathname_impl() local 3774 result_length = GetFinalPathNameByHandleW(hFile, target_path, in os__getfinalpathname_impl() 3789 tmp = PyMem_Realloc(target_path != buf ? target_path : NULL, in os__getfinalpathname_impl() 3797 target_path = tmp; in os__getfinalpathname_impl() [all …]
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ResourceTypes.java | 1516 final byte[] target_path = new byte[256]; field in ResourceTypes.Idmap_header 1530 buf.get(target_path, offset + 16, 256); in Idmap_header()
|
/external/python/setuptools/pkg_resources/ |
D | __init__.py | 1200 target_path = os.path.join(extract_path, archive_name + '-tmp', *names) 1202 _bypass_ensure_directory(target_path) 1208 self.cached_files[target_path] = 1 1209 return target_path
|