Home
last modified time | relevance | path

Searched refs:temp_file_spec (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/lldb/source/Host/common/
DHostInfoBase.cpp268 FileSpec temp_file_spec; in ComputeProcessTempFileDirectory() local
269 if (!HostInfo::ComputeGlobalTempFileDirectory(temp_file_spec)) in ComputeProcessTempFileDirectory()
273 temp_file_spec.AppendPathComponent(pid_str); in ComputeProcessTempFileDirectory()
274 if (llvm::sys::fs::create_directory(temp_file_spec.GetPath())) in ComputeProcessTempFileDirectory()
277 file_spec.GetDirectory().SetCString(temp_file_spec.GetCString()); in ComputeProcessTempFileDirectory()
292 FileSpec temp_file_spec; in ComputeGlobalTempFileDirectory() local
293 if (!HostInfo::ComputeTempFileBaseDirectory(temp_file_spec)) in ComputeGlobalTempFileDirectory()
296 temp_file_spec.AppendPathComponent("lldb"); in ComputeGlobalTempFileDirectory()
297 if (llvm::sys::fs::create_directory(temp_file_spec.GetPath())) in ComputeGlobalTempFileDirectory()
300 file_spec.GetDirectory().SetCString(temp_file_spec.GetCString()); in ComputeGlobalTempFileDirectory()
/external/llvm-project/lldb/tools/lldb-server/
Dlldb-platform.cpp99 FileSpec temp_file_spec(file_spec.GetDirectory().GetStringRef()); in save_socket_id_to_file() local
100 Status error(llvm::sys::fs::create_directory(temp_file_spec.GetPath())); in save_socket_id_to_file()
103 temp_file_spec.GetCString(), error.AsCString()); in save_socket_id_to_file()
106 temp_file_spec.AppendPathComponent("port-file.%%%%%%"); in save_socket_id_to_file()
107 temp_file_path = temp_file_spec.GetPath(); in save_socket_id_to_file()