Home
last modified time | relevance | path

Searched refs:MainLoopBase (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DMainLoopBase.h38 class MainLoopBase {
46 MainLoopBase() : m_terminate_request(false) {} in MainLoopBase() function
47 virtual ~MainLoopBase() = default;
51 typedef std::function<void(MainLoopBase &)> Callback;
108 ReadHandle(MainLoopBase &mainloop, IOObject::WaitableHandle handle) in ReadHandle()
111 MainLoopBase &m_mainloop;
114 friend class MainLoopBase; variable
119 MainLoopBase(const MainLoopBase &) = delete;
120 const MainLoopBase &operator=(const MainLoopBase &) = delete;
H A DSocket.h119 virtual llvm::Expected<std::vector<MainLoopBase::ReadHandleUP>>
120 Accept(MainLoopBase &loop,
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DMainLoopBase.cpp15 void MainLoopBase::AddCallback(const Callback &callback, TimePoint point) { in AddCallback()
28 void MainLoopBase::ProcessCallbacks() { in ProcessCallbacks()
44 std::optional<MainLoopBase::TimePoint> MainLoopBase::GetNextWakeupTime() { in GetNextWakeupTime()
H A DTCPSocket.cpp266 llvm::Expected<std::vector<MainLoopBase::ReadHandleUP>>
267 TCPSocket::Accept(MainLoopBase &loop, in Accept()
272 std::vector<MainLoopBase::ReadHandleUP> handles; in Accept()
276 auto cb = [this, fd, sock_cb](MainLoopBase &loop) { in Accept()
H A DSocket.cpp457 llvm::Expected<std::vector<MainLoopBase::ReadHandleUP>> expected_handles = in Accept()
467 [](MainLoopBase &loop) { loop.RequestTermination(); }, *timeout); in Accept()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DUDPSocket.h31 llvm::Expected<std::vector<MainLoopBase::ReadHandleUP>>
32 Accept(MainLoopBase &loop, in Accept()
H A DTCPSocket.h51 llvm::Expected<std::vector<MainLoopBase::ReadHandleUP>>
52 Accept(MainLoopBase &loop,
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DDomainSocket.cpp145 llvm::Expected<std::vector<MainLoopBase::ReadHandleUP>> DomainSocket::Accept( in Accept()
146 MainLoopBase &loop, in Accept()
150 auto cb = [this, sock_cb](MainLoopBase &loop) { in Accept()
163 std::vector<MainLoopBase::ReadHandleUP> handles; in Accept()
H A DMainLoopPosix.cpp223 {interrupt_pipe_fd, [interrupt_pipe_fd](MainLoopBase &loop) { in MainLoopPosix()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/posix/
H A DDomainSocket.h30 llvm::Expected<std::vector<MainLoopBase::ReadHandleUP>>
31 Accept(MainLoopBase &loop,
H A DMainLoopPosix.h27 class MainLoopPosix : public MainLoopBase {
/freebsd/contrib/llvm-project/lldb/source/Plugins/Protocol/MCP/
H A DProtocolServerMCP.h89 std::vector<MainLoopBase::ReadHandleUP> m_listen_handlers;
93 MainLoopBase::ReadHandleUP read_handle_up;
H A DProtocolServerMCP.cpp113 [this, client](MainLoopBase &loop) { in AcceptCallback()
195 [](MainLoopBase &loop) { loop.RequestTermination(); }); in Stop()
/freebsd/contrib/llvm-project/lldb/tools/lldb-server/
H A Dlldb-platform.cpp195 static llvm::Expected<std::vector<MainLoopBase::ReadHandleUP>>
202 return std::vector<MainLoopBase::ReadHandleUP>(); in AcceptGdbConnectionsIfNeeded()
305 [](MainLoopBase &loop) { loop.RequestTermination(); }); in spawn_process()
577 llvm::Expected<std::vector<MainLoopBase::ReadHandleUP>> platform_handles = in main_platform()
604 llvm::Expected<std::vector<MainLoopBase::ReadHandleUP>> gdb_handles = in main_platform()
H A Dlldb-gdbserver.cpp98 static void sighup_handler(MainLoopBase &mainloop) { in sighup_handler()
/freebsd/contrib/llvm-project/lldb/tools/driver/
H A DDriver.cpp56 using lldb_private::MainLoopBase;
784 [&](MainLoopBase &) { in main() argument
793 [&](MainLoopBase &) { in main() argument
854 [](MainLoopBase &loop) { loop.RequestTermination(); }); in main()
/freebsd/contrib/llvm-project/lldb/include/
H A Dmodule.modulemap37 module MainLoopBase { header "lldb/Host/MainLoopBase.h" export * }
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/AIX/
H A DNativeProcessAIX.cpp54 SIGCHLD, [this](MainLoopBase &) { SigchldHandler(); }, status); in Manager() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerLLGS.cpp1059 m_mainloop.AddPendingCallback([this, pid](MainLoopBase &loop) { in HandleInferiorState_Exited()
1186 read_object_sp, [this](MainLoopBase &) { DataAvailableCallback(); }, in InitializeConnection() argument
1241 [this](MainLoopBase &) { SendProcessOutput(); }, error); in StartSTDIOForwarding() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp174 SIGCHLD, [this](MainLoopBase &) { SigchldHandler(); }, status); in NativeProcessFreeBSD() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.cpp156 SIGCHLD, [this](MainLoopBase &) { SigchldHandler(); }, status); in NativeProcessNetBSD() argument
/freebsd/lib/clang/liblldb/
H A DMakefile267 SRCS+= Host/common/MainLoopBase.cpp