Lines Matching refs:SBFile
17 SBFile::~SBFile() = default;
19 SBFile::SBFile(FileSP file_sp) : m_opaque_sp(file_sp) { in SBFile() function in SBFile
22 LLDB_RECORD_CONSTRUCTOR(SBFile, (lldb::FileSP), nullptr); in SBFile()
25 SBFile::SBFile(const SBFile &rhs) : m_opaque_sp(rhs.m_opaque_sp) { in SBFile() function in SBFile
26 LLDB_RECORD_CONSTRUCTOR(SBFile, (const lldb::SBFile&), rhs); in SBFile()
29 SBFile &SBFile ::operator=(const SBFile &rhs) { in operator =()
30 LLDB_RECORD_METHOD(lldb::SBFile &, in operator =()
31 SBFile, operator=,(const lldb::SBFile &), rhs); in operator =()
38 SBFile::SBFile() { LLDB_RECORD_CONSTRUCTOR_NO_ARGS(SBFile); } in SBFile() function in SBFile
40 SBFile::SBFile(FILE *file, bool transfer_ownership) { in SBFile() function in SBFile
41 LLDB_RECORD_CONSTRUCTOR(SBFile, (FILE *, bool), file, transfer_ownership); in SBFile()
46 SBFile::SBFile(int fd, const char *mode, bool transfer_owndership) { in SBFile() function in SBFile
47 LLDB_RECORD_CONSTRUCTOR(SBFile, (int, const char *, bool), fd, mode, in SBFile()
59 SBError SBFile::Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read) { in Read()
60 LLDB_RECORD_METHOD(lldb::SBError, SBFile, Read, (uint8_t *, size_t, size_t *), in Read()
75 SBError SBFile::Write(const uint8_t *buf, size_t num_bytes, in Write()
77 LLDB_RECORD_METHOD(lldb::SBError, SBFile, Write, in Write()
93 SBError SBFile::Flush() { in Flush()
94 LLDB_RECORD_METHOD_NO_ARGS(lldb::SBError, SBFile, Flush); in Flush()
106 bool SBFile::IsValid() const { in IsValid()
107 LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBFile, IsValid); in IsValid()
111 SBError SBFile::Close() { in Close()
112 LLDB_RECORD_METHOD_NO_ARGS(lldb::SBError, SBFile, Close); in Close()
121 SBFile::operator bool() const { in operator bool()
122 LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBFile, operator bool); in operator bool()
126 bool SBFile::operator!() const { in operator !()
127 LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBFile, operator!); in operator !()
131 FileSP SBFile::GetFile() const { in GetFile()
132 LLDB_RECORD_METHOD_CONST_NO_ARGS(FileSP, SBFile, GetFile); in GetFile()
139 template <> void RegisterMethods<SBFile>(Registry &R) { in RegisterMethods()
140 LLDB_REGISTER_CONSTRUCTOR(SBFile, ()); in RegisterMethods()
141 LLDB_REGISTER_CONSTRUCTOR(SBFile, (FileSP)); in RegisterMethods()
142 LLDB_REGISTER_CONSTRUCTOR(SBFile, (const SBFile&)); in RegisterMethods()
143 LLDB_REGISTER_CONSTRUCTOR(SBFile, (FILE *, bool)); in RegisterMethods()
144 LLDB_REGISTER_CONSTRUCTOR(SBFile, (int, const char *, bool)); in RegisterMethods()
145 LLDB_REGISTER_METHOD(SBFile&, SBFile, operator=,(const SBFile&)); in RegisterMethods()
146 LLDB_REGISTER_METHOD(lldb::SBError, SBFile, Flush, ()); in RegisterMethods()
147 LLDB_REGISTER_METHOD(lldb::SBError, SBFile, Read, in RegisterMethods()
149 LLDB_REGISTER_METHOD(lldb::SBError, SBFile, Write, in RegisterMethods()
151 LLDB_REGISTER_METHOD_CONST(bool, SBFile, IsValid, ()); in RegisterMethods()
152 LLDB_REGISTER_METHOD_CONST(bool, SBFile, operator bool,()); in RegisterMethods()
153 LLDB_REGISTER_METHOD_CONST(bool, SBFile, operator!,()); in RegisterMethods()
154 LLDB_REGISTER_METHOD_CONST(FileSP, SBFile, GetFile, ()); in RegisterMethods()
155 LLDB_REGISTER_METHOD(lldb::SBError, SBFile, Close, ()); in RegisterMethods()