/external/autotest/metadata/ |
D | generate_proto_descriptors.sh | 19 readonly work_dir=$(mktemp --tmpdir -d genprotodescXXXXXX) 20 trap "rm -rf ${work_dir}" EXIT 21 echo "Using temporary directory ${work_dir}" 26 cp -r "${CHROMIUMOS_CONFIG_DIR}/" "${work_dir}/config" 30 "${work_dir}/config" 50 cd "${work_dir}" && 54 cd "${work_dir}" && 61 cp "${work_dir}/descpb.bin" "${target}"
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | data_service_test_base.py | 43 work_dir=TMP_WORK_DIR, fault_tolerant_mode=[True, False]) 45 work_dir=NO_WORK_DIR, fault_tolerant_mode=False) 55 work_dir=TMP_WORK_DIR, argument 79 if work_dir == TMP_WORK_DIR: 80 work_dir = tempfile.mkdtemp(dir=googletest.GetTempDir()) 84 work_dir=work_dir, 136 work_dir=self.dispatcher._config.work_dir, 171 work_dir=TMP_WORK_DIR, argument 201 work_dir=work_dir,
|
D | data_service_ops_ft_test.py | 280 def testRestartWorker(self, use_same_port, work_dir, fault_tolerant_mode): argument 283 work_dir=work_dir, 337 combinations.combine(work_dir=[TMP_WORK_DIR, NO_WORK_DIR]))) 338 def testDistributeLargeGraphThenRegisterWorker(self, work_dir): argument 340 num_workers=0, work_dir=work_dir, fault_tolerant_mode=False)
|
/external/oss-fuzz/infra/base-images/base-sanitizer-libs-builder/ |
D | msan_build.py | 63 def SetUpEnvironment(work_dir): argument 71 bin_dir = os.path.join(work_dir, 'bin') 130 msan_log_dir = os.path.join(work_dir, 'msan') 331 work_dir=None, argument 335 self.work_dir = work_dir 340 if not self.work_dir: 341 self.work_dir = tempfile.mkdtemp(dir=self.work_dir) 343 if os.path.exists(self.work_dir): 344 shutil.rmtree(self.work_dir, ignore_errors=True) 346 os.makedirs(self.work_dir) [all …]
|
/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 …rocess = 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/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/skia/tools/android/ |
D | upload_to_android.py | 57 def init_work_dir(work_dir): argument 58 if not os.path.isdir(work_dir): 59 print('Creating %s' % work_dir) 60 os.makedirs(work_dir) 63 repo_dir = os.path.join(work_dir, 'bin') 79 android_dir = os.path.join(work_dir, 'android-repo') 207 def upload_to_android(work_dir, modifier): argument 208 repo_binary = init_work_dir(work_dir) 240 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/oss-fuzz/infra/cifuzz/ |
D | build_fuzzers.py | 60 self.work_dir = os.path.join(config.workspace, 'work') 61 os.makedirs(self.work_dir, exist_ok=True) 94 docker_args.extend(_get_docker_build_fuzzers_args_msan(self.work_dir)) 122 'WORK={work_dir}'.format(work_dir=self.work_dir), 132 'cp -r /msan {work_dir}'.format(work_dir=self.work_dir) 272 def _get_docker_build_fuzzers_args_msan(work_dir): argument 278 msan_libs_path=os.path.join(work_dir, 'msan'))
|
/external/tensorflow/tensorflow/python/data/experimental/service/ |
D | server_lib.py | 67 work_dir=None, argument 76 cls).__new__(cls, port, protocol, work_dir, 132 if config.fault_tolerant_mode and not config.work_dir: 139 work_dir=config.work_dir,
|
D | server_lib_test.py | 75 config = server_lib.DispatcherConfig(work_dir=temp_dir) 82 work_dir=temp_dir, fault_tolerant_mode=True)
|
/external/webrtc/tools_webrtc/presubmit_checks_lib/ |
D | build_helpers.py | 95 def GetCompilationCommand(filepath, gn_args, work_dir): argument 107 gn_errors = RunGnCommand(['gen'] + gn_args + [work_dir]) 114 commands = GetCompilationDb(work_dir) 117 rel_path = os.path.relpath(os.path.abspath(filepath), 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_tests.py | 23 work_dir = os.path.join(top_dir, TEST_DIR, 'work') 24 cmd = 'rm -f %s/*.o' % work_dir 52 work_dir = os.path.join(top_dir, TEST_DIR, 'work') 53 cmd = 'rm -f %s/*.o' % work_dir
|
/external/fmtlib/doc/ |
D | build.py | 53 work_dir = kwargs.get('work_dir', '.') 59 doxyxml_dir = os.path.join(work_dir, 'doxyxml') 92 html_dir = os.path.join(work_dir, 'html')
|
/external/tensorflow/tensorflow/core/data/service/ |
D | dispatcher_impl.cc | 75 std::string JournalDir(const std::string& work_dir) { in JournalDir() argument 76 return io::JoinPath(work_dir, kJournalDir); in JournalDir() 79 std::string DatasetsDir(const std::string& work_dir) { in DatasetsDir() argument 80 return io::JoinPath(work_dir, kDatasetsDir); in DatasetsDir() 120 if (config_.work_dir().empty()) { in DataServiceDispatcherImpl() 124 DatasetsDir(config_.work_dir())); in DataServiceDispatcherImpl() 141 if (config_.work_dir().empty()) { in Start() 148 env_->RecursivelyCreateDir(DatasetsDir(config_.work_dir()))); in Start() 157 env_, JournalDir(config_.work_dir())); in Start() 159 << JournalDir(config_.work_dir()); in Start() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_cmd_line_script.py | 670 with support.temp_dir() as work_dir, support.temp_dir() as script_dir: 674 p = spawn_python("-Es", script_name, cwd=work_dir) 677 self.assertNotIn(work_dir, out_by_name) 679 p = spawn_python("-Es", script_dir, cwd=work_dir) 683 p = spawn_python("-I", script_dir, cwd=work_dir) 702 with support.temp_dir() as work_dir: 703 script_dir = os.path.join(work_dir, "script_pkg") 709 p = spawn_python("-sm", "script_pkg.__main__", cwd=work_dir) 711 self.assertEqual(out_by_module[0], work_dir) 714 p = spawn_python("-sm", "script_pkg", cwd=work_dir) [all …]
|
/external/wayland/protocol/ |
D | generate-shm-formats.py | 77 with tempfile.TemporaryDirectory() as work_dir: 78 c_file_name = work_dir + "/print-formats.c" 79 exe_file_name = work_dir + "/print-formats"
|
/external/autotest/server/ |
D | site_server_job_utils.py | 88 def run_test(self, client_at, work_dir='.', server_job=None): argument 110 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/llvm-project/clang/tools/scan-build-py/libear/ |
D | __init__.py | 169 with TemporaryDirectory() as work_dir: 171 with open(os.path.join(work_dir, src_file), 'w') as handle: 175 cwd=work_dir)
|
/external/tensorflow/tensorflow/core/protobuf/ |
D | service_config.proto | 14 string work_dir = 3; field 16 // across restarts. Requires that `work_dir` is nonempty.
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.data.experimental.service.-dispatcher-config.pbtxt | 27 name: "work_dir"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.data.experimental.service.-dispatcher-config.pbtxt | 27 name: "work_dir"
|