/external/jsoncpp/devtools/ |
D | batchbuild.py | 56 def __init__( self, desc, work_dir, source_dir ): argument 58 self.work_dir = work_dir 60 self.cmake_log_path = os.path.join( work_dir, 'batchbuild_cmake.log' ) 61 self.build_log_path = os.path.join( work_dir, 'batchbuild_build.log' ) 82 cmd = ['cmake', '--build', self.work_dir] 90 …ocess = subprocess.Popen( cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, cwd=self.work_dir, 100 if os.path.isdir( self.work_dir ): 101 print(' Removing work directory', self.work_dir) 102 shutil.rmtree( self.work_dir, ignore_errors=True ) 103 if not os.path.isdir( self.work_dir ): [all …]
|
/external/skia/tools/android/ |
D | upload_to_android.py | 55 def init_work_dir(work_dir): argument 56 if not os.path.isdir(work_dir): 57 print 'Creating %s' % work_dir 58 os.makedirs(work_dir) 61 repo_dir = os.path.join(work_dir, 'bin') 77 android_dir = os.path.join(work_dir, 'android-repo') 205 def upload_to_android(work_dir, modifier): argument 206 repo_binary = init_work_dir(work_dir) 238 upload_to_android(args.work_dir, FetchModifier(args.change_num, args.debug))
|
/external/skqp/tools/android/ |
D | upload_to_android.py | 55 def init_work_dir(work_dir): argument 56 if not os.path.isdir(work_dir): 57 print 'Creating %s' % work_dir 58 os.makedirs(work_dir) 61 repo_dir = os.path.join(work_dir, 'bin') 77 android_dir = os.path.join(work_dir, 'android-repo') 205 def upload_to_android(work_dir, modifier): argument 206 repo_binary = init_work_dir(work_dir) 238 upload_to_android(args.work_dir, FetchModifier(args.change_num, args.debug))
|
/external/libcxx/utils/libcxx/test/ |
D | executor.py | 39 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument 41 if work_dir == '.': 42 work_dir = os.getcwd() 43 out, err, rc = executeCommand(cmd, cwd=work_dir, env=env) 59 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument 61 return self.chain.run(exe_path, self.commandPrefix + cmd, work_dir, 73 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument 75 return self.chain.run(cmd + self.commandPostfix, work_dir, file_deps, 119 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument
|
/external/u-boot/tools/buildman/ |
D | builderthread.py | 116 def RunCommit(self, commit_upto, brd, work_dir, do_config, config_only, argument 143 out_dir = work_dir 149 out_dir = os.path.join(work_dir, out_rel_dir) 189 git_dir = os.path.join(work_dir, '.git') 190 gitutil.Checkout(commit.hash, git_dir, work_dir, 199 cwd = work_dir 200 src_dir = os.path.realpath(work_dir) 415 work_dir = self.builder.GetThreadDir(self.thread_num) 424 work_dir, do_config, self.builder.config_only, 434 brd, work_dir, True, False, True, False) [all …]
|
/external/toolchain-utils/automation/server/ |
D | job_executer.py | 54 self._RunRemotely(cmd.RmTree(self.job.work_dir), 'Cleanup workdir failed.') 62 cmd.MakeDir(self.job.work_dir, self.job.logs_dir, self.job.results_dir), 71 to_folder = os.path.join(self.job.work_dir, dependency.dest) 72 from_folder = os.path.join(dependency.job.work_dir, dependency.src) 93 cwd=self.job.work_dir)), 110 self.job.primary_machine.hostname, self.job.work_dir)
|
/external/vboot_reference/scripts/image_signing/ |
D | convert_recovery_to_full_ssd.sh | 39 work_dir=$(make_temp_dir) 42 unzip -o $IMAGE_ZIP chromiumos_base_image.bin -d ${work_dir} 44 mv ${work_dir}/chromiumos_base_image.bin ${SSD_IMAGE}
|
/external/toolchain-utils/binary_search_tool/ |
D | run_bisect_test.py | 18 work_dir = os.path.join(top_dir, TEST_DIR, 'work') 19 cmd = 'rm -f %s/*.o' % work_dir 47 work_dir = os.path.join(top_dir, TEST_DIR, 'work') 48 cmd = 'rm -f %s/*.o' % work_dir
|
/external/python/cpython3/Lib/test/ |
D | test_cmd_line_script.py | 579 with support.temp_dir() as work_dir, support.temp_dir() as script_dir: 583 p = spawn_python("-Es", script_name, cwd=work_dir) 586 self.assertNotIn(work_dir, out_by_name) 588 p = spawn_python("-Es", script_dir, cwd=work_dir) 592 p = spawn_python("-I", script_dir, cwd=work_dir) 611 with support.temp_dir() as work_dir: 612 script_dir = os.path.join(work_dir, "script_pkg") 618 p = spawn_python("-sm", "script_pkg.__main__", cwd=work_dir) 620 self.assertEqual(out_by_module[0], work_dir) 623 p = spawn_python("-sm", "script_pkg", cwd=work_dir) [all …]
|
D | test_shutil.py | 965 work_dir = os.path.dirname(tmpdir2) 968 with support.change_cwd(work_dir): 982 with support.change_cwd(work_dir): 1054 work_dir = os.path.dirname(tmpdir2) 1057 with support.change_cwd(work_dir): 1070 with support.change_cwd(work_dir):
|
/external/v8/tools/release/ |
D | auto_push.py | 83 if self._options.work_dir: 84 args.extend(["--work-dir", self._options.work_dir])
|
D | common_includes.py | 425 os.path.join(self._options.work_dir, "v8")) 760 if not os.path.exists(self._options.work_dir): 761 os.makedirs(self._options.work_dir) 763 self.Command("fetch", "v8", cwd=self._options.work_dir) 877 if not options.work_dir: 878 options.work_dir = "/tmp/v8-release-scripts-work-dir"
|
D | test_scripts.py | 685 work_dir = self.MakeEmptyTempDirectory() 695 Cmd("fetch v8", "", cwd=work_dir), 697 FakeScript(fake_config, self).Run(["--work-dir", work_dir])
|
/external/toolchain-utils/automation/common/ |
D | job.py | 111 ('$JOB_ID', str(self.id)), ('$JOB_TMP', self.work_dir), 137 return os.path.join(self.work_dir, 'results') 148 def work_dir(self): member in Job
|
/external/autotest/server/ |
D | site_server_job_utils.py | 87 def run_test(self, client_at, work_dir='.', server_job=None): argument 109 client_at.run_test(self.test_name, results_dir=work_dir,
|
D | site_gtest_runner.py | 22 def run(self, gtest_entry, machine, work_dir='.'): argument 42 self._results_dir = work_dir
|
/external/clang/tools/scan-build-py/libear/ |
D | __init__.py | 170 with TemporaryDirectory() as work_dir: 172 with open(os.path.join(work_dir, src_file), 'w') as handle: 176 cwd=work_dir)
|
/external/python/cpython2/Lib/test/ |
D | test_shutil.py | 384 work_dir = os.path.dirname(tmpdir2) 387 with support.change_cwd(work_dir): 401 with support.change_cwd(work_dir): 473 work_dir = os.path.dirname(tmpdir2) 476 with support.change_cwd(work_dir): 490 with support.change_cwd(work_dir):
|
/external/toolchain-utils/automation/server/monitor/ |
D | dashboard.py | 61 return {'text': [('Label', job.label), ('Directory', job.work_dir)],
|
/external/autotest/utils/ |
D | external_packages.py | 1301 work_dir = os.getcwd() 1306 os.chdir(work_dir)
|
/external/autotest/docs/ |
D | best-practices.md | 472 work_dir = os.path.join(os.getcwd(), 'src') 473 utils.update_version(os.getcwd(), True, version, setup, work_dir)
|