Home
last modified time | relevance | path

Searched refs:work_dir (Results 1 – 25 of 34) sorted by relevance

12

/external/autotest/metadata/
Dgenerate_proto_descriptors.sh19 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/
Ddata_service_test_base.py43 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,
Ddata_service_ops_ft_test.py280 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/
Dmsan_build.py63 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/
Dbatchbuild.py56 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/
Dupload_to_android.py55 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/
Dupload_to_android.py57 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/
Dexecutor.py39 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/
Dbuild_fuzzers.py60 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/
Dserver_lib.py67 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,
Dserver_lib_test.py75 config = server_lib.DispatcherConfig(work_dir=temp_dir)
82 work_dir=temp_dir, fault_tolerant_mode=True)
/external/webrtc/tools_webrtc/presubmit_checks_lib/
Dbuild_helpers.py95 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/
Dconvert_recovery_to_full_ssd.sh39 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/
Drun_bisect_tests.py23 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/
Dbuild.py53 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/
Ddispatcher_impl.cc75 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/
Dtest_cmd_line_script.py670 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/
Dgenerate-shm-formats.py77 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/
Dsite_server_job_utils.py88 def run_test(self, client_at, work_dir='.', server_job=None): argument
110 client_at.run_test(self.test_name, results_dir=work_dir,
Dsite_gtest_runner.py22 def run(self, gtest_entry, machine, work_dir='.'): argument
42 self._results_dir = work_dir
/external/clang/tools/scan-build-py/libear/
D__init__.py170 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__.py169 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/
Dservice_config.proto14 string work_dir = 3; field
16 // across restarts. Requires that `work_dir` is nonempty.
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.data.experimental.service.-dispatcher-config.pbtxt27 name: "work_dir"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.data.experimental.service.-dispatcher-config.pbtxt27 name: "work_dir"

12