Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/lldb/source/API/
H A DSBFile.cpp17 SBFile::~SBFile() = default;
19 SBFile::SBFile(FileSP file_sp) : m_opaque_sp(file_sp) { in SBFile() function in SBFile
25 SBFile::SBFile(const SBFile &rhs) : m_opaque_sp(rhs.m_opaque_sp) { in SBFile() function in SBFile
29 SBFile &SBFile ::operator=(const SBFile &rhs) { in operator =()
37 SBFile::SBFile() { LLDB_INSTRUMENT_VA(this); } in SBFile() function in SBFile
39 SBFile::SBFile(FILE *file, bool transfer_ownership) { in SBFile() function in SBFile
45 SBFile::SBFile(int fd, const char *mode, bool transfer_owndership) { in SBFile() function in SBFile
88 SBError SBFile::Flush() { in Flush()
101 bool SBFile::IsValid() const { in IsValid()
106 SBError SBFile::Close() { in Close()
[all …]
H A DSBCommandReturnObject.cpp128 size_t SBCommandReturnObject::PutOutput(SBFile file) { in PutOutput()
152 size_t SBCommandReturnObject::PutError(SBFile file) { in PutError()
268 void SBCommandReturnObject::SetImmediateOutputFile(SBFile file) { in SetImmediateOutputFile()
273 void SBCommandReturnObject::SetImmediateErrorFile(SBFile file) { in SetImmediateErrorFile()
280 SetImmediateOutputFile(SBFile(file_sp)); in SetImmediateOutputFile()
285 SetImmediateErrorFile(SBFile(file_sp)); in SetImmediateErrorFile()
H A DSBDebugger.cpp372 SBError SBDebugger::SetInputFile(SBFile file) { in SetInputFile()
386 return SetInputFile(SBFile(file_sp)); in SetInputFile()
391 return SetOutputFile(SBFile(file_sp)); in SetOutputFile()
421 return SetErrorFile(SBFile(file_sp)); in SetErrorFile()
448 SBFile SBDebugger::GetInputFile() { in GetInputFile()
453 return SBFile(); in GetInputFile()
465 SBFile SBDebugger::GetOutputFile() { in GetOutputFile()
471 return SBFile(); in GetOutputFile()
484 SBFile SBDebugger::GetErrorFile() { in GetErrorFile()
486 SBFile file; in GetErrorFile()
[all …]
H A DSBStream.cpp122 void SBStream::RedirectToFile(SBFile file) { in RedirectToFile()
H A DSBInstructionList.cpp120 void SBInstructionList::Print(SBFile out) { in Print()
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBFile.i13 ) SBFile;
15 class SBFile
19 SBFile();
24 SBFile(int fd, const char *mode, bool transfer_ownership);
27 SBFile(FileSP file);
30 static lldb::SBFile MakeBorrowed(lldb::FileSP BORROWED) { in MakeBorrowed()
31 return lldb::SBFile(BORROWED); in MakeBorrowed()
33 static lldb::SBFile MakeForcingIOMethods(lldb::FileSP FORCE_IO_METHODS) { in MakeForcingIOMethods()
34 return lldb::SBFile(FORCE_IO_METHODS); in MakeForcingIOMethods()
37 return lldb::SBFile(BORROWED_FORCE_IO_METHODS); in MakeBorrowedForcingIOMethods()
[all …]
H A DSBDebugger.i194 self.SetOutputFile(SBFile.Create(file, borrow=True))
201 self.SetInputFile(SBFile.Create(file, borrow=True))
208 self.SetErrorFile(SBFile.Create(file, borrow=True))
232 SetInputFile (SBFile file);
235 SetOutputFile (SBFile file);
238 SetErrorFile (SBFile file);
249 SBFile
252 SBFile
255 SBFile
270 SBFile out,
[all …]
H A DSBCommandReturnObject.i52 PutOutput (lldb::SBFile file);
55 PutError (lldb::SBFile file);
94 void SetImmediateOutputFile(lldb::SBFile file);
95 void SetImmediateErrorFile(lldb::SBFile file);
H A DSBStream.i72 RedirectToFile (lldb::SBFile file);
H A DSBInstructionList.i58 Print (lldb::SBFile out);
H A DSBInstruction.i63 Print (lldb::SBFile out);
/llvm-project-15.0.7/lldb/include/lldb/API/
H A DSBFile.h16 class LLDB_API SBFile {
24 SBFile();
25 SBFile(FileSP file_sp);
26 SBFile(const SBFile &rhs);
27 SBFile(FILE *file, bool transfer_ownership);
28 SBFile(int fd, const char *mode, bool transfer_ownership);
29 ~SBFile();
31 SBFile &operator=(const SBFile &rhs);
H A DSBDebugger.h140 SBError SetInputFile(SBFile file);
142 SBError SetOutputFile(SBFile file);
144 SBError SetErrorFile(SBFile file);
152 SBFile GetInputFile();
154 SBFile GetOutputFile();
156 SBFile GetErrorFile();
173 const lldb::SBEvent &event, SBFile out, SBFile err);
H A DSBCommandReturnObject.h49 size_t PutOutput(SBFile file);
59 size_t PutError(SBFile file);
87 void SetImmediateOutputFile(SBFile file);
89 void SetImmediateErrorFile(SBFile file);
H A DSBInstructionList.h49 void Print(SBFile out);
H A DSBInstruction.h58 void Print(SBFile out);
H A DSBError.h77 friend class SBFile; variable
H A DSBStream.h44 void RedirectToFile(lldb::SBFile file);
H A DSBDefines.h57 class LLDB_API SBFile; variable
/llvm-project-15.0.7/lldb/test/API/python_api/file_handle/
H A DTestFileHandle.py172 sbf = lldb.SBFile()
195 sbf = lldb.SBFile(f)
221 sbf = lldb.SBFile(f)
485 sbf = lldb.SBFile(f)
513 sbf = lldb.SBFile(f)
523 sbf = lldb.SBFile(f)
532 sbf = lldb.SBFile(f)
542 sbf = lldb.SBFile(f)
551 sbf = lldb.SBFile(f)
618 sbf = lldb.SBFile(f)
[all …]
/llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Lua/
H A Dio.test8 file = lldb.SBFile(2, "w", false)
H A Dprint.test8 file = lldb.SBFile(2, "w", false)
/llvm-project-15.0.7/lldb/test/API/lang/objc/modules-hash-mismatch/
H A DTestClangModulesHashMismatch.py34 sbf = lldb.SBFile(f.fileno(), 'w', False)
/llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/API/
H A DBUILD.gn62 "SBFile.cpp",
/llvm-project-15.0.7/lldb/bindings/
H A Dinterfaces.swig34 %include "./interface/SBFile.i"

12