Home
last modified time | relevance | path

Searched refs:file_sp (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/lldb/source/Core/
DSourceManager.cpp71 FileSP file_sp; in GetFile() local
73 file_sp = debugger_sp->GetSourceFileCache().FindSourceFile(file_spec); in GetFile()
79 if (target_sp && file_sp && in GetFile()
80 file_sp->GetSourceMapModificationID() != in GetFile()
82 file_sp.reset(); in GetFile()
85 if (file_sp) in GetFile()
86 file_sp->UpdateIfNeeded(); in GetFile()
89 if (!file_sp || !FileSystem::Instance().Exists(file_sp->GetFileSpec())) { in GetFile()
91 file_sp = std::make_shared<File>(file_spec, target_sp.get()); in GetFile()
93 file_sp = std::make_shared<File>(file_spec, debugger_sp); in GetFile()
[all …]
DDebugger.cpp791 void Debugger::SetInputFile(FileSP file_sp, repro::DataRecorder *recorder) { in SetInputFile() argument
792 assert(file_sp && file_sp->IsValid()); in SetInputFile()
794 m_input_file_sp = std::move(file_sp); in SetInputFile()
800 void Debugger::SetOutputFile(FileSP file_sp) { in SetOutputFile() argument
801 assert(file_sp && file_sp->IsValid()); in SetOutputFile()
802 m_output_stream_sp = std::make_shared<StreamFile>(file_sp); in SetOutputFile()
805 void Debugger::SetErrorFile(FileSP file_sp) { in SetErrorFile() argument
806 assert(file_sp && file_sp->IsValid()); in SetErrorFile()
807 m_error_stream_sp = std::make_shared<StreamFile>(file_sp); in SetErrorFile()
/external/llvm-project/lldb/source/API/
DSBCommandReturnObject.cpp128 size_t SBCommandReturnObject::PutOutput(FileSP file_sp) { in PutOutput() argument
130 file_sp); in PutOutput()
131 if (!file_sp) in PutOutput()
133 return file_sp->Printf("%s", GetOutput()); in PutOutput()
153 size_t SBCommandReturnObject::PutError(FileSP file_sp) { in PutError() argument
155 file_sp); in PutError()
156 if (!file_sp) in PutError()
158 return file_sp->Printf("%s", GetError()); in PutError()
298 void SBCommandReturnObject::SetImmediateOutputFile(FileSP file_sp) { in SetImmediateOutputFile() argument
300 (FileSP), file_sp); in SetImmediateOutputFile()
[all …]
DSBStream.cpp128 void SBStream::RedirectToFile(FileSP file_sp) { in RedirectToFile() argument
129 LLDB_RECORD_METHOD(void, SBStream, RedirectToFile, (FileSP), file_sp); in RedirectToFile()
131 if (!file_sp || !file_sp->IsValid()) in RedirectToFile()
143 m_opaque_up = std::make_unique<StreamFile>(file_sp); in RedirectToFile()
DSBDebugger.cpp297 SBError SBDebugger::SetInputFile(FileSP file_sp) { in SetInputFile() argument
298 LLDB_RECORD_METHOD(SBError, SBDebugger, SetInputFile, (FileSP), file_sp); in SetInputFile()
299 return LLDB_RECORD_RESULT(SetInputFile(SBFile(file_sp))); in SetInputFile()
318 FileSP file_sp = file.m_opaque_sp; in SetInputFile() local
330 file_sp = std::make_shared<NativeFile>(fh, true); in SetInputFile()
334 if (!file_sp || !file_sp->IsValid()) { in SetInputFile()
339 m_opaque_sp->SetInputFile(file_sp, recorder); in SetInputFile()
343 SBError SBDebugger::SetOutputFile(FileSP file_sp) { in SetOutputFile() argument
344 LLDB_RECORD_METHOD(SBError, SBDebugger, SetOutputFile, (FileSP), file_sp); in SetOutputFile()
345 return LLDB_RECORD_RESULT(SetOutputFile(SBFile(file_sp))); in SetOutputFile()
[all …]
DSBFile.cpp19 SBFile::SBFile(FileSP file_sp) : m_opaque_sp(file_sp) { in SBFile() argument
/external/llvm-project/lldb/include/lldb/Interpreter/
DCommandReturnObject.h65 void SetImmediateOutputFile(lldb::FileSP file_sp) { in SetImmediateOutputFile() argument
66 lldb::StreamSP stream_sp(new StreamFile(file_sp)); in SetImmediateOutputFile()
70 void SetImmediateErrorFile(lldb::FileSP file_sp) { in SetImmediateErrorFile() argument
71 lldb::StreamSP stream_sp(new StreamFile(file_sp)); in SetImmediateErrorFile()
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.cpp1424 FileSP file_sp; in ConvertToFile() local
1428 file_sp = std::make_shared<NativeFile>(fd, options.get(), false); in ConvertToFile()
1430 file_sp = std::static_pointer_cast<File>( in ConvertToFile()
1433 if (!file_sp->IsValid()) in ConvertToFile()
1437 return file_sp; in ConvertToFile()
1475 FileSP file_sp; in ConvertToFileForcingUseOfScriptingIOMethods() local
1481 file_sp = std::static_pointer_cast<File>( in ConvertToFileForcingUseOfScriptingIOMethods()
1492 file_sp = std::static_pointer_cast<File>( in ConvertToFileForcingUseOfScriptingIOMethods()
1496 if (!file_sp) in ConvertToFileForcingUseOfScriptingIOMethods()
1500 if (!file_sp->IsValid()) in ConvertToFileForcingUseOfScriptingIOMethods()
[all …]
DScriptInterpreterPython.cpp706 bool ScriptInterpreterPythonImpl::SetStdHandle(FileSP file_sp, in SetStdHandle() argument
710 if (!file_sp || !*file_sp) { in SetStdHandle()
714 File &file = *file_sp; in SetStdHandle()
/external/llvm-project/lldb/include/lldb/API/
DSBFile.h25 SBFile(FileSP file_sp);
/external/llvm-project/lldb/include/lldb/Core/
DSourceManager.h101 void AddSourceFile(const FileSP &file_sp);