/external/toolchain-utils/llvm_tools/ |
D | patch_manager.py | 154 def GetHEADSVNVersion(src_path): argument 157 cmd = ['git', '-C', src_path, 'rev-parse', 'HEAD'] 161 version = get_llvm_hash.GetVersionFrom(src_path, git_hash.rstrip()) 166 def VerifyHEADIsTheSameAsSVNVersion(src_path, svn_version): argument 169 head_svn_version = GetHEADSVNVersion(src_path) 222 def ApplyPatch(src_path, patch_path): argument 234 if not os.path.isdir(src_path): 235 raise ValueError('Invalid src path provided: %s' % src_path) 242 'patch', '--dry-run', '-d', src_path, '-f', '-p1', '-E', 248 'patch', '-d', src_path, '-f', '-p1', '-E', '--no-backup-if-mismatch', [all …]
|
D | patch_manager_unittest.py | 192 src_path = '/abs/path/to/src' 199 patch_manager.ApplyPatch(src_path, abs_patch_path) 202 str(err.exception), 'Invalid src path provided: %s' % src_path) 208 src_path = '/abs/path/to/src' 215 patch_manager.ApplyPatch(src_path, abs_patch_path) 242 src_path = '/abs/path/to/src' 246 self.assertEqual(patch_manager.ApplyPatch(src_path, abs_patch_path), False) 262 src_path = '/abs/path/to/src' 266 self.assertEqual(patch_manager.ApplyPatch(src_path, abs_patch_path), True) 346 src_path = '/some/path/to/src' [all …]
|
D | llvm_patch_management.py | 176 def _MoveSrcTreeHEADToGitHash(src_path, git_hash): argument 179 move_head_cmd = ['git', '-C', src_path, 'checkout', git_hash] 210 with get_llvm_hash.CreateTempLLVMRepo(temp_dir) as src_path: 213 git_hash = get_llvm_hash.GetGitHashFrom(src_path, svn_version) 217 _MoveSrcTreeHEADToGitHash(src_path, git_hash) 230 patch_manager.CleanSrcTree(src_path) 234 svn_version, patch_metadata_path, filesdir_path, src_path, mode)
|
D | llvm_bisection.py | 227 def GetCommitsBetween(start, end, parallel, src_path, pending_revisions, argument 238 if not src_path: 239 src_path = new_repo 248 get_llvm_hash.GetGitHashFrom(src_path, rev) for rev in revisions 319 args_output.src_path, 347 if args_output.src_path: 348 bad_llvm_hash = get_llvm_hash.GetGitHashFrom(args_output.src_path,
|
/external/llvm-project/lldb/test/API/functionalities/breakpoint/comp_dir_symlink/ |
D | TestCompDirSymLink.py | 34 src_path = self.getBuildArtifact(_SRC_FILE) 35 lldbutil.run_break_set_by_file_and_line(self, src_path, self.line) 42 src_path = self.getBuildArtifact(_SRC_FILE) 44 src_path = os.path.realpath(src_path) 45 lldbutil.run_break_set_by_file_and_line(self, src_path, self.line) 51 src_path = self.getBuildArtifact(_SRC_FILE) 56 src_path, 63 src_path = self.getBuildArtifact(_SRC_FILE) 68 src_path,
|
/external/autotest/client/cros/ |
D | network_chroot.py | 249 src_path = os.path.join('/', rootdir) 251 if not os.path.exists(src_path): 253 elif os.path.islink(src_path): 254 link_path = os.readlink(src_path) 258 mount_arg = '%s,%s' % (src_path, src_path) 264 src_path = os.path.join('/', config_file) 266 if os.path.exists(src_path): 267 shutil.copyfile(src_path, dst_path) 269 for src_path, target_path in self.ROOT_SYMLINKS: 270 link_path = self.chroot_path(src_path)
|
/external/icu/tools/icu4c_srcgen/ |
D | generate_ndk.py | 74 def modify_func_declarations(src_path, dst_path, decl_names): argument 83 with open(src_path, "r") as file: 131 for src_path in header_only_files: 132 dest_path = base_dest_path + os.path.basename(src_path) 135 src_path 162 for src_path in files: 163 base_header_name = os.path.basename(src_path) 169 shutil.copyfile(src_path, dst_path) 232 for src_path in parser.header_paths_to_copy: 233 basename = os.path.basename(src_path) [all …]
|
D | generate_libandroidicu.py | 57 for src_path in header_only_files: 58 dest_path = base_dest_path + os.path.basename(src_path) 61 src_path
|
/external/llvm-project/lldb/test/API/functionalities/source-map/ |
D | TestTargetSourceMap.py | 15 def assertBreakpointWithSourceMap(src_path): argument 17 bp = target.BreakpointCreateByLocation(src_path, 2) 31 src_path = os.path.join(src_dir, "main.c") 41 bp = target.BreakpointCreateByLocation(src_path, 2) 67 assertBreakpointWithSourceMap(src_path) 85 assertBreakpointWithSourceMap(src_path) 134 assertBreakpointWithSourceMap(src_path)
|
/external/libchrome/mojo/public/tools/bindings/ |
D | mojom_types_downgrader.py | 91 def DowngradePath(src_path, output_dir=None): argument 97 if os.path.isdir(src_path): 98 DowngradeDirectory(src_path, output_dir) 99 elif os.path.isfile(src_path): 100 DowngradeFile(src_path, output_dir) 102 print(">>> {} not pointing to a valid file or directory".format(src_path))
|
/external/autotest/client/tools/ |
D | make_clean | 18 src_path = os.path.abspath(os.path.join('tests', dir, 'src')) 19 if not os.path.exists(src_path): 22 cmd = 'rm -rf ' + src_path 24 cmd = 'cd %s; make clean > /dev/null 2>&1 ' % src_path
|
/external/grpc-grpc-java/annotation-stubs/ |
D | gen_annotations.py | 52 src_path = out_dir.joinpath(*parts).with_suffix('.java') variable 53 src_path.parent.mkdir(parents=True) 54 src_path.write_text(
|
/external/jimfs/jimfs/ |
D | gen_annotations.py | 52 src_path = out_dir.joinpath(*parts).with_suffix('.java') variable 53 src_path.parent.mkdir(parents=True) 54 src_path.write_text(
|
/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 109 nir_deref_path_init(&src_path, src, NULL); in nir_lower_deref_copy_instr() 113 src_path.path[0], &src_path.path[1], in nir_lower_deref_copy_instr() 118 nir_deref_path_finish(&src_path); in nir_lower_deref_copy_instr()
|
/external/webrtc/modules/audio_processing/test/py_quality_assessment/ |
D | apm_quality_assessment_export.py | 46 src_path = collect_data.ConstructSrcPath(args) 47 logging.debug(src_path) 48 scores_data_frame = collect_data.FindScores(src_path, args)
|
D | apm_quality_assessment_boxplot.py | 124 src_path = collect_data.ConstructSrcPath(args) 125 logging.debug(src_path) 126 scores_data_frame = collect_data.FindScores(src_path, args)
|
/external/pdfium/testing/tools/ |
D | api_check.py | 65 def _GetFunctionsFromPublicHeaders(src_path): argument 66 public_path = os.path.join(src_path, 'public') 117 src_path = os.path.dirname(os.path.dirname(os.path.dirname(script_abspath))) 118 public_functions = _GetFunctionsFromPublicHeaders(src_path) 121 api_test_path = os.path.join(src_path, api_test_relative_path)
|
/external/skia/third_party/icu/ |
D | make_data_cpp.py | 31 def convert(fmt, name, src_path, dst_path): argument 33 assert os.path.exists(src_path) 34 src = iterate_as_uint32(src_path)
|
/external/skia/infra/bots/recipes/ |
D | upload_nano_results.py | 25 src_path = api.path['start_dir'].join('perf') 26 with api.context(cwd=src_path): 29 src_path,
|
D | upload_buildstats_results.py | 25 src_path = api.path['start_dir'].join('perf') 26 with api.context(cwd=src_path): 29 src_path,
|
/external/skqp/infra/bots/recipes/ |
D | upload_nano_results.py | 24 src_path = api.path['start_dir'].join('perf') 25 with api.context(cwd=src_path): 28 src_path,
|
D | upload_buildstats_results.py | 24 src_path = api.path['start_dir'].join('perf') 25 with api.context(cwd=src_path): 28 src_path,
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/ |
D | gen_common.py | 133 src_path = os.path.join(src, f) 137 if src_path == orig_dst: 140 if os.path.isdir(src_path): 148 rval = CopyDirFilesIfDifferent(src_path, dst_path, recurse, verbose, orig_dst) 150 rval = CopyFileIfDifferent(src_path, dst_path, verbose)
|
/external/skia/gn/ |
D | copy_git_directory.py | 45 src_path = os.path.join(abs_src, path) 48 with open(src_path) as f2: 52 shutil.copy2(src_path, path)
|
/external/llvm-project/lldb/source/Plugins/Platform/POSIX/ |
D | PlatformPOSIX.cpp | 99 std::string src_path(source.GetPath()); in PutFile() local 100 if (src_path.empty()) in PutFile() 106 command.Printf("cp %s %s", src_path.c_str(), dst_path.c_str()); in PutFile() 119 std::string src_path(source.GetPath()); in PutFile() local 120 if (src_path.empty()) in PutFile() 128 command.Printf("rsync %s %s %s", GetRSyncOpts(), src_path.c_str(), in PutFile() 131 command.Printf("rsync %s %s %s%s", GetRSyncOpts(), src_path.c_str(), in PutFile() 134 command.Printf("rsync %s %s %s:%s", GetRSyncOpts(), src_path.c_str(), in PutFile() 160 std::string src_path(source.GetPath()); in GetFile() local 161 if (src_path.empty()) in GetFile() [all …]
|