Home
last modified time | relevance | path

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

123

/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/llvm-project/lldb/tools/darwin-debug/
Ddarwin-debug.cpp99 const char *working_dir, cpu_type_t cpu_type, in posix_spawn_for_debug() argument
147 if (working_dir) in posix_spawn_for_debug()
148 ::chdir(working_dir); in posix_spawn_for_debug()
180 std::string working_dir; in main() local
249 working_dir.assign(optarg); in main()
310 if (working_dir.empty()) { in main()
315 printf("Working directory: '%s'\n", working_dir.c_str()); in main()
329 working_dir.empty() ? NULL : working_dir.c_str(), cpu_type, disable_aslr); in main()
/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/toolchain-utils/llvm_tools/
Dbisect_clang_crashes_unittest.py51 working_dir = 'SomeDirectory'
54 results = bisect_clang_crashes.get_crash_reproducers(working_dir)
55 mock_file_search.assert_called_once_with('%s/*.c*' % working_dir)
76 working_dir = 'SomeDirectory'
79 results = bisect_clang_crashes.get_crash_reproducers(working_dir)
80 mock_file_search.assert_called_once_with('%s/*.c*' % working_dir)
/external/chromium-trace/catapult/devil/devil/utils/
Dzip_utils_test.py18 with tempfile_ext.NamedTemporaryDirectory() as working_dir:
19 file1 = os.path.join(working_dir, 'file1.txt')
20 file2 = os.path.join(working_dir, 'file2.txt')
32 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/llvm-project/lldb/test/API/commands/target/auto-install-main-executable/
DTestAutoInstallMainExecutable.py25 working_dir = lldb.remote_platform.GetWorkingDirectory()
27 dest = lldb.SBFileSpec(os.path.join(working_dir, "a.out"))
32 (src_device.GetFilename(), working_dir, err.GetCString()))
77 (os.path.join(working_dir,dest.GetFilename()),
/external/llvm-project/lldb/test/API/tools/lldb-server/platform-process-connect/
DTestPlatformProcessConnect.py21 working_dir = lldb.remote_platform.GetWorkingDirectory()
23 dest = lldb.SBFileSpec(os.path.join(working_dir, "a.out"))
42 port_file = "%s/port" % working_dir
51 working_dir,
/external/llvm-project/lldb/source/Initialization/
DSystemInitializerCommon.cpp55 llvm::Expected<std::string> working_dir = in InitializeFileSystem() local
57 if (!working_dir) in InitializeFileSystem()
58 return working_dir.takeError(); in InitializeFileSystem()
61 ->setCurrentWorkingDirectory(*working_dir)) { in InitializeFileSystem()
/external/llvm-project/lldb/include/lldb/Host/
DHost.h207 const FileSpec &working_dir, int *status_ptr,
223 const FileSpec &working_dir, int *status_ptr,
236 static Status RunShellCommand(const Args &args, const FileSpec &working_dir,
253 const FileSpec &working_dir, int *status_ptr,
/external/googletest/googletest/test/
Dgtest_test_utils.py203 def __init__(self, command, working_dir=None, capture_stderr=True, env=None): argument
242 cwd=working_dir, universal_newlines=True, env=env)
267 if working_dir is not None:
268 os.chdir(working_dir)
/external/llvm-project/lldb/source/Target/
DRemoteAwarePlatform.cpp174 llvm::StringRef command, const FileSpec &working_dir, int *status_ptr, in RunShellCommand() argument
177 return RunShellCommand(llvm::StringRef(), command, working_dir, status_ptr, in RunShellCommand()
182 llvm::StringRef shell, llvm::StringRef command, const FileSpec &working_dir, in RunShellCommand() argument
186 return Host::RunShellCommand(shell, command, working_dir, status_ptr, in RunShellCommand()
189 return m_remote_platform_sp->RunShellCommand(shell, command, working_dir, in RunShellCommand()
309 const FileSpec &working_dir) { in SetRemoteWorkingDirectory() argument
311 return m_remote_platform_sp->SetRemoteWorkingDirectory(working_dir); in SetRemoteWorkingDirectory()
312 return Platform::SetRemoteWorkingDirectory(working_dir); in SetRemoteWorkingDirectory()
/external/llvm-project/lldb/source/Host/common/
DHost.cpp471 const FileSpec &working_dir, int *status_ptr, in RunShellCommand() argument
475 return RunShellCommand(llvm::StringRef(), Args(command), working_dir, in RunShellCommand()
482 const FileSpec &working_dir, int *status_ptr, in RunShellCommand() argument
486 return RunShellCommand(shell_path, Args(command), working_dir, status_ptr, in RunShellCommand()
491 Status Host::RunShellCommand(const Args &args, const FileSpec &working_dir, in RunShellCommand() argument
496 return RunShellCommand(llvm::StringRef(), args, working_dir, status_ptr, in RunShellCommand()
502 const FileSpec &working_dir, int *status_ptr, in RunShellCommand() argument
529 if (working_dir) in RunShellCommand()
530 launch_info.SetWorkingDirectory(working_dir); in RunShellCommand()
DProcessLaunchInfo.cpp127 void ProcessLaunchInfo::SetWorkingDirectory(const FileSpec &working_dir) { in SetWorkingDirectory() argument
128 m_working_dir = working_dir; in SetWorkingDirectory()
273 FileSpec working_dir = GetWorkingDirectory(); in ConvertArgumentsForLaunchingInShell() local
279 if (working_dir) { in ConvertArgumentsForLaunchingInShell()
280 new_path += working_dir.GetPath(); in ConvertArgumentsForLaunchingInShell()
/external/llvm-project/lldb/source/Plugins/Platform/gdb-server/
DPlatformRemoteGDBServer.cpp256 FileSpec working_dir; in GetRemoteWorkingDirectory() local
257 if (m_gdb_client.GetWorkingDir(working_dir) && log) in GetRemoteWorkingDirectory()
260 working_dir.GetCString()); in GetRemoteWorkingDirectory()
261 return working_dir; in GetRemoteWorkingDirectory()
268 const FileSpec &working_dir) { in SetRemoteWorkingDirectory() argument
274 working_dir.GetCString()); in SetRemoteWorkingDirectory()
275 return m_gdb_client.SetWorkingDir(working_dir) == 0; in SetRemoteWorkingDirectory()
277 return Platform::SetRemoteWorkingDirectory(working_dir); in SetRemoteWorkingDirectory()
414 FileSpec working_dir = launch_info.GetWorkingDirectory(); in LaunchProcess() local
415 if (working_dir) { in LaunchProcess()
[all …]
/external/llvm-project/lldb/test/API/api/multithreaded/
Dlistener_test.cpp.template39 std::unique_ptr<char> working_dir(get_working_dir());
44 working_dir.get(),
52 SBProcess process = target.LaunchSimple (0, 0, working_dir.get());
/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/pigweed/pw_build/py/pw_build/
Dpython_wheels.py45 working_dir = os.path.dirname(filename)
55 subprocess.check_call(cmd, cwd=working_dir)
/external/llvm-project/lldb/include/lldb/Target/
DRemoteAwarePlatform.h50 bool SetRemoteWorkingDirectory(const FileSpec &working_dir) override;
71 Status RunShellCommand(llvm::StringRef command, const FileSpec &working_dir,
77 const FileSpec &working_dir, int *status_ptr,
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DCompileUnitIndex.cpp207 StringIdRecord working_dir; in GetMainSourceFile() local
212 TypeDeserializer::deserializeAs<StringIdRecord>(dir_cvt, working_dir)); in GetMainSourceFile()
216 llvm::sys::path::Style style = working_dir.String.startswith("/") in GetMainSourceFile()
222 llvm::SmallString<64> absolute_path = working_dir.String; in GetMainSourceFile()
/external/llvm-project/lldb/source/Utility/
DReproducer.cpp302 llvm::Expected<std::string> working_dir = in Verify() local
304 if (working_dir) { in Verify()
305 if (!vfs->exists(*working_dir)) in Verify()
306 warning_callback("working directory '" + *working_dir + "' not in VFS"); in Verify()
307 vfs->setCurrentWorkingDirectory(*working_dir); in Verify()
310 toString(working_dir.takeError())); in Verify()

123