Home
last modified time | relevance | path

Searched refs:working_dir (Results 1 – 25 of 31) sorted by relevance

12

/external/avb/tools/transparency/
Dpixel_factory_image_verify.py60 self.working_dir = os.getcwd()
126 download_path = tempfile.mkdtemp(dir=self.working_dir)
135 target_file = os.path.join(self.working_dir, download_filename)
143 shutil.move(download_file, self.working_dir)
155 return os.path.join(self.working_dir, download_filename)
174 os.chdir(self.working_dir)
196 unpack_dir = tempfile.mkdtemp(dir=self.working_dir)
208 path = os.path.join(self.working_dir, unpack_dir, f)
218 target_dir = os.path.join(self.working_dir, image_name)
227 shutil.move(image_dir, self.working_dir)
[all …]
/external/mockito/
Dupdate_source.sh36 working_dir="$(mktemp -d)"
37 trap "echo \"Removing temporary directory\"; rm -rf $working_dir" EXIT
39 echo "Fetching Mockito source into $working_dir"
40 git clone $SOURCE $working_dir/source
41 (cd $working_dir/source; git checkout $VERSION)
47 cp -R $working_dir/source/$include $include
/external/dexmaker/
Dupdate_source.sh43 working_dir="$(mktemp -d)"
44 trap "echo \"Removing temporary directory\"; rm -rf $working_dir" EXIT
46 echo "Fetching Dexmaker source into $working_dir"
47 git clone $SOURCE $working_dir/source
49 cd $working_dir/source
58 cp -R $working_dir/source/$include $include
/external/objenesis/
Dupdate_source.sh38 working_dir="$(mktemp -d)"
41 echo "Fetching Objenesis source into $working_dir"
42 git clone $SOURCE $working_dir/source
43 (cd $working_dir/source; git checkout $VERSION)
48 cp -R $working_dir/source/$include .
/external/pdfium/testing/tools/
Dpngdiffer.py29 def GetActualFiles(self, input_filename, source_dir, working_dir): argument
31 path_templates = PathTemplates(input_filename, source_dir, working_dir)
46 def HasDifferences(self, input_filename, source_dir, working_dir): argument
47 path_templates = PathTemplates(input_filename, source_dir, working_dir)
89 def Regenerate(self, input_filename, source_dir, working_dir, platform_only): argument
90 path_templates = PathTemplates(input_filename, source_dir, working_dir)
123 def __init__(self, input_filename, source_dir, working_dir): argument
125 self.actual_path_template = os.path.join(working_dir,
Dtest_runner.py77 pdf_path = os.path.join(self.working_dir, input_root + '.pdf')
81 self.working_dir)
108 self.working_dir):
129 self.image_differ.Regenerate(input_filename, source_dir, self.working_dir,
149 sys.executable, self.fixup_path, '--output-dir=' + self.working_dir,
154 txt_path = os.path.join(self.working_dir, input_root + '.txt')
354 self.working_dir = finder.WorkingDir(os.path.join('testing', self.test_dir))
355 shutil.rmtree(self.working_dir, ignore_errors=True)
356 os.makedirs(self.working_dir)
/external/chromium-trace/catapult/devil/devil/utils/
Dzip_utils_test.py16 with tempfile_ext.NamedTemporaryDirectory() as working_dir:
17 file1 = os.path.join(working_dir, 'file1.txt')
18 file2 = os.path.join(working_dir, 'file2.txt')
30 zip_path = os.path.join(working_dir, 'out.zip')
/external/tensorflow/tensorflow/lite/micro/tools/make/
Dmerge_arduino_zips.py31 working_dir = tempfile.mkdtemp()
34 input_zip.extractall(path=working_dir)
36 shutil.make_archive(output_path_without_zip, 'zip', working_dir)
/external/google-breakpad/src/testing/gtest/test/
Dgtest_test_utils.py193 def __init__(self, command, working_dir=None, capture_stderr=True, env=None): argument
232 cwd=working_dir, universal_newlines=True, env=env)
257 if working_dir is not None:
258 os.chdir(working_dir)
Dgtest_xml_outfiles_test.py102 working_dir=gtest_test_utils.GetTempDir())
/external/googletest/googletest/test/
Dgtest_test_utils.py203 def __init__(self, command, working_dir=None, capture_stderr=True, env=None): argument
243 cwd=working_dir, universal_newlines=True, env=env)
268 if working_dir is not None:
269 os.chdir(working_dir)
Dgtest_list_output_unittest.py115 command, env=environ_copy, working_dir=gtest_test_utils.GetTempDir())
Dgtest_xml_outfiles_test.py110 working_dir=gtest_test_utils.GetTempDir())
/external/libyuv/files/tools_libyuv/autoroller/
Droll_deps.py99 def _RunCommand(command, working_dir=None, ignore_exit_code=False, argument
108 working_dir = working_dir or CHECKOUT_SRC_DIR
109 logging.debug('CMD: %s CWD: %s', ' '.join(command), working_dir)
117 cwd=working_dir, universal_newlines=True)
324 working_dir=CHECKOUT_SRC_DIR)[0].strip()
353 working_dir=CHECKOUT_SRC_DIR)
/external/angle/scripts/
Droll_deps.py125 def _RunCommand(command, working_dir=None, ignore_exit_code=False, extra_env=None, argument
134 working_dir = working_dir or CHECKOUT_SRC_DIR
135 logging.debug('CMD: %s CWD: %s', ' '.join(command), working_dir)
147 cwd=working_dir,
409 working_dir=CHECKOUT_SRC_DIR)[0].splitlines()[0]
448 _RunCommand([gclient_cmd, 'setdep', '--revision', update], working_dir=CHECKOUT_SRC_DIR)
/external/webrtc/tools/autoroller/
Droll_chromium_revision.py86 def _RunCommand(command, working_dir=None, ignore_exit_code=False, argument
95 working_dir = working_dir or CHECKOUT_ROOT_DIR
96 logging.debug('CMD: %s CWD: %s', ' '.join(command), working_dir)
104 cwd=working_dir, universal_newlines=True)
/external/webrtc/webrtc/test/testsupport/
Dfileutils.cc77 std::string working_dir = WorkingDir(); in SetExecutablePath() local
81 if (path.find(working_dir) != std::string::npos) { in SetExecutablePath()
82 temp_path = path.substr(working_dir.length() + 1); in SetExecutablePath()
Dfileutils_unittest.cc114 std::string working_dir = webrtc::test::WorkingDir(); in TEST_F() local
115 ASSERT_GT(working_dir.length(), 0u); in TEST_F()
/external/flatbuffers/CMake/
DBuildFlatBuffers.cmake74 set(working_dir "${CMAKE_CURRENT_SOURCE_DIR}") variable
103 WORKING_DIRECTORY "${working_dir}")
116 WORKING_DIRECTORY "${working_dir}")
/external/jsoncpp/
Ddoxybuild.py49 def run_doxygen(doxygen_path, config_file, working_dir, is_silent): argument
54 os.chdir( working_dir )
/external/libffi/
Dgenerate-darwin-source-and-headers.py146 working_dir = os.getcwd()
151 os.chdir(working_dir)
/external/python/cpython2/Modules/_ctypes/libffi/
Dgenerate-darwin-source-and-headers.py146 working_dir = os.getcwd()
151 os.chdir(working_dir)
/external/angle/third_party/jsoncpp/source/
Ddoxybuild.py88 def run_doxygen(doxygen_path, config_file, working_dir, is_silent): argument
91 with cd(working_dir):
/external/clang/tools/scan-build-py/libscanbuild/
Dintercept.py175 working_dir = os.getcwd()
177 content = RS.join([pid, pid, 'wrapper', working_dir, command]) + GS
/external/skia/tools/skqp/
Dcreate_apk.py98 def make_symlinked_subdir(target, working_dir): argument
99 newdir = os.path.join(working_dir, os.path.basename(target))

12