/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
D | GDBRemoteCommunicationServerCommon.h | 42 PacketResult Handle_A(StringExtractorGDBRemote &packet); 44 PacketResult Handle_qHostInfo(StringExtractorGDBRemote &packet); 46 PacketResult Handle_qProcessInfoPID(StringExtractorGDBRemote &packet); 48 PacketResult Handle_qfProcessInfo(StringExtractorGDBRemote &packet); 50 PacketResult Handle_qsProcessInfo(StringExtractorGDBRemote &packet); 52 PacketResult Handle_qUserName(StringExtractorGDBRemote &packet); 54 PacketResult Handle_qGroupName(StringExtractorGDBRemote &packet); 56 PacketResult Handle_qSpeedTest(StringExtractorGDBRemote &packet); 58 PacketResult Handle_vFile_Open(StringExtractorGDBRemote &packet); 60 PacketResult Handle_vFile_Close(StringExtractorGDBRemote &packet); [all …]
|
D | GDBRemoteCommunicationServerLLGS.h | 91 PacketResult SendONotification(const char *buffer, uint32_t len); 93 PacketResult SendWResponse(NativeProcessProtocol *process); 95 PacketResult SendStopReplyPacketForThread(lldb::tid_t tid); 97 PacketResult SendStopReasonForState(lldb::StateType process_state); 99 PacketResult Handle_k(StringExtractorGDBRemote &packet); 101 PacketResult Handle_qProcessInfo(StringExtractorGDBRemote &packet); 103 PacketResult Handle_qC(StringExtractorGDBRemote &packet); 105 PacketResult Handle_QSetDisableASLR(StringExtractorGDBRemote &packet); 107 PacketResult Handle_QSetWorkingDir(StringExtractorGDBRemote &packet); 109 PacketResult Handle_qGetWorkingDir(StringExtractorGDBRemote &packet); [all …]
|
D | GDBRemoteCommunicationServer.h | 31 std::function<PacketResult(StringExtractorGDBRemote &packet, 43 PacketResult GetPacketAndSendResponse(Timeout<std::micro> timeout, 60 PacketResult Handle_QErrorStringEnable(StringExtractorGDBRemote &packet); 62 PacketResult SendErrorResponse(const Status &error); 64 PacketResult SendErrorResponse(llvm::Error error); 66 PacketResult SendUnimplementedResponse(const char *packet); 68 PacketResult SendErrorResponse(uint8_t error); 70 PacketResult SendIllFormedResponse(const StringExtractorGDBRemote &packet, 73 PacketResult SendOKResponse();
|
D | GDBRemoteCommunicationServer.cpp | 42 GDBRemoteCommunication::PacketResult 47 PacketResult packet_result = WaitForPacketNoLock(packet, timeout, false); in GetPacketAndSendResponse() 48 if (packet_result == PacketResult::Success) { in GetPacketAndSendResponse() 89 GDBRemoteCommunication::PacketResult 95 GDBRemoteCommunication::PacketResult 103 GDBRemoteCommunication::PacketResult 114 GDBRemoteCommunication::PacketResult 129 GDBRemoteCommunication::PacketResult 136 GDBRemoteCommunication::PacketResult 146 GDBRemoteCommunication::PacketResult [all …]
|
D | GDBRemoteCommunicationServerPlatform.h | 113 PacketResult Handle_qLaunchGDBServer(StringExtractorGDBRemote &packet); 115 PacketResult Handle_qQueryGDBServer(StringExtractorGDBRemote &packet); 117 PacketResult Handle_qKillSpawnedProcess(StringExtractorGDBRemote &packet); 119 PacketResult Handle_qPathComplete(StringExtractorGDBRemote &packet); 121 PacketResult Handle_qProcessInfo(StringExtractorGDBRemote &packet); 123 PacketResult Handle_qGetWorkingDir(StringExtractorGDBRemote &packet); 125 PacketResult Handle_QSetWorkingDir(StringExtractorGDBRemote &packet); 127 PacketResult Handle_qC(StringExtractorGDBRemote &packet); 129 PacketResult Handle_jSignalsInfo(StringExtractorGDBRemote &packet);
|
D | GDBRemoteClientBase.cpp | 53 PacketResult read_result = ReadPacket(response, kInterruptTimeout, false); in SendContinuePacketAndWaitForResponse() 55 case PacketResult::ErrorReplyTimeout: { in SendContinuePacketAndWaitForResponse() 63 case PacketResult::Success: in SendContinuePacketAndWaitForResponse() 154 GDBRemoteCommunication::PacketResult 166 return PacketResult::ErrorSendFailed; in SendPacketAndWaitForResponse() 172 GDBRemoteCommunication::PacketResult 185 return PacketResult::ErrorSendFailed; in SendPacketAndReceiveResponseWithOutputSupport() 188 PacketResult packet_result = SendPacketNoLock(payload); in SendPacketAndReceiveResponseWithOutputSupport() 189 if (packet_result != PacketResult::Success) in SendPacketAndReceiveResponseWithOutputSupport() 196 GDBRemoteCommunication::PacketResult [all …]
|
D | GDBRemoteCommunication.h | 66 enum class PacketResult { enum 102 PacketResult GetAck(); 160 PacketResult SendPacketNoLock(llvm::StringRef payload); 161 PacketResult SendRawPacketNoLock(llvm::StringRef payload, 164 PacketResult ReadPacket(StringExtractorGDBRemote &response, 167 PacketResult ReadPacketWithOutputSupport( 173 PacketResult PopPacketFromQueue(StringExtractorGDBRemote &response, 176 PacketResult WaitForPacketNoLock(StringExtractorGDBRemote &response, 240 lldb_private::process_gdb_remote::GDBRemoteCommunication::PacketResult> { 242 GDBRemoteCommunication::PacketResult &state,
|
D | GDBRemoteCommunication.cpp | 121 GDBRemoteCommunication::PacketResult 133 GDBRemoteCommunication::PacketResult 186 return PacketResult::Success; in SendRawPacketNoLock() 192 return PacketResult::ErrorSendFailed; in SendRawPacketNoLock() 195 GDBRemoteCommunication::PacketResult GDBRemoteCommunication::GetAck() { in GetAck() 197 PacketResult result = ReadPacket(packet, GetPacketTimeout(), false); in GetAck() 198 if (result == PacketResult::Success) { in GetAck() 201 return PacketResult::Success; in GetAck() 203 return PacketResult::ErrorSendAck; in GetAck() 208 GDBRemoteCommunication::PacketResult [all …]
|
D | GDBRemoteCommunicationClient.cpp | 125 PacketResult packet_result = PacketResult::Success; in HandshakeWithServer() 126 while (packet_result == PacketResult::Success) in HandshakeWithServer() 222 PacketResult::Success) { in QueryNoAckModeSupported() 239 false) == PacketResult::Success) { in GetListThreadsInStopReplySupported() 252 false) == PacketResult::Success) { in GetVAttachOrWaitSupported() 266 false) == PacketResult::Success) { in GetSyncThreadStateSupported() 360 PacketResult::Success) { in GetRemoteQSupported() 457 false) == PacketResult::Success) { in GetThreadSuffixSupported() 474 PacketResult::Success) { in GetVContSupported() 523 GDBRemoteCommunication::PacketResult [all …]
|
D | GDBRemoteCommunicationServerCommon.cpp | 180 GDBRemoteCommunication::PacketResult 316 GDBRemoteCommunication::PacketResult 333 GDBRemoteCommunication::PacketResult 416 GDBRemoteCommunication::PacketResult 428 GDBRemoteCommunication::PacketResult 451 GDBRemoteCommunication::PacketResult 470 GDBRemoteCommunication::PacketResult 502 GDBRemoteCommunication::PacketResult 545 GDBRemoteCommunication::PacketResult 568 GDBRemoteCommunication::PacketResult [all …]
|
D | GDBRemoteCommunicationServerLLGS.cpp | 350 GDBRemoteCommunication::PacketResult 655 GDBRemoteCommunication::PacketResult 859 PacketResult result = SendStopReasonForState(StateType::eStateExited); in HandleInferiorState_Exited() 860 if (result != PacketResult::Success) { in HandleInferiorState_Exited() 891 PacketResult result = SendStopReasonForState(StateType::eStateStopped); in HandleInferiorState_Stopped() 892 if (result != PacketResult::Success) { in HandleInferiorState_Stopped() 972 const PacketResult result = GetPacketAndSendResponse( in DataAvailableCallback() 974 if (result == PacketResult::ErrorReplyTimeout) in DataAvailableCallback() 977 if ((result != PacketResult::Success)) { in DataAvailableCallback() 1000 GDBRemoteCommunication::PacketResult [all …]
|
D | GDBRemoteCommunicationReplayServer.cpp | 93 GDBRemoteCommunication::PacketResult 99 PacketResult packet_result = WaitForPacketNoLock(packet, timeout, false); in GetPacketAndSendResponse() 101 if (packet_result != PacketResult::Success) { in GetPacketAndSendResponse() 115 return PacketResult::Success; in GetPacketAndSendResponse() 158 return PacketResult::ErrorSendFailed; in GetPacketAndSendResponse() 255 if (packet_result != GDBRemoteCommunication::PacketResult::Success && in ReceivePacket() 257 GDBRemoteCommunication::PacketResult::ErrorReplyTimeout) { in ReceivePacket()
|
D | GDBRemoteCommunicationServerPlatform.cpp | 151 return PacketResult::Success; in GDBRemoteCommunicationServerPlatform() 231 GDBRemoteCommunication::PacketResult 284 PacketResult packet_result = SendPacketNoLock(response.GetString()); in Handle_qLaunchGDBServer() 285 if (packet_result != PacketResult::Success) { in Handle_qLaunchGDBServer() 292 GDBRemoteCommunication::PacketResult 317 GDBRemoteCommunication::PacketResult 395 GDBRemoteCommunication::PacketResult 413 GDBRemoteCommunication::PacketResult 445 GDBRemoteCommunication::PacketResult 458 GDBRemoteCommunication::PacketResult [all …]
|
D | GDBRemoteClientBase.h | 44 PacketResult SendPacketAndWaitForResponse(llvm::StringRef payload, 48 PacketResult SendPacketAndReceiveResponseWithOutputSupport( 77 PacketResult
|
D | GDBRemoteCommunicationReplayServer.h | 44 PacketResult GetPacketAndSendResponse(Timeout<std::micro> timeout, 48 bool HandshakeWithClient() { return GetAck() == PacketResult::Success; } in HandshakeWithClient()
|
/external/llvm-project/lldb/unittests/Process/gdb-remote/ |
D | GDBRemoteClientBaseTest.cpp | 22 typedef GDBRemoteCommunication::PacketResult PacketResult; typedef 81 ASSERT_EQ(PacketResult::Success, server.SendPacket("T01")); in TEST_F() 84 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F() 88 ASSERT_EQ(PacketResult::Success, server.SendPacket("W01")); in TEST_F() 91 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F() 95 ASSERT_EQ(PacketResult::Success, server.SendPacket("X01")); in TEST_F() 98 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F() 111 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F() 119 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F() 121 ASSERT_EQ(PacketResult::Success, server.SendPacket("T13")); in TEST_F() [all …]
|
D | GDBRemoteCommunicationTest.cpp | 14 typedef GDBRemoteCommunication::PacketResult PacketResult; typedef 23 PacketResult ReadPacket(StringExtractorGDBRemote &response) { in ReadPacket() 63 ASSERT_EQ(PacketResult::Success, client.ReadPacket(response)); in TEST_F() 65 ASSERT_EQ(PacketResult::Success, server.GetAck()); in TEST_F()
|
/external/webrtc/api/transport/ |
D | network_types.cc | 29 PacketResult::PacketResult() = default; 30 PacketResult::PacketResult(const PacketResult& other) = default; 31 PacketResult::~PacketResult() = default; 33 bool PacketResult::ReceiveTimeOrder::operator()(const PacketResult& lhs, in operator ()() 34 const PacketResult& rhs) { in operator ()() 47 std::vector<PacketResult> TransportPacketsFeedback::ReceivedWithSendInfo() in ReceivedWithSendInfo() 49 std::vector<PacketResult> res; in ReceivedWithSendInfo() 50 for (const PacketResult& fb : packet_feedbacks) { in ReceivedWithSendInfo() 58 std::vector<PacketResult> TransportPacketsFeedback::LostWithSendInfo() const { in LostWithSendInfo() 59 std::vector<PacketResult> res; in LostWithSendInfo() [all …]
|
D | network_types.h | 152 struct PacketResult { struct 155 bool operator()(const PacketResult& lhs, const PacketResult& rhs); 158 PacketResult(); 159 PacketResult(const PacketResult&); 160 ~PacketResult(); 175 std::vector<PacketResult> packet_feedbacks; argument 180 std::vector<PacketResult> ReceivedWithSendInfo() const; 181 std::vector<PacketResult> LostWithSendInfo() const; 182 std::vector<PacketResult> PacketsWithFeedback() const; 183 std::vector<PacketResult> SortedByReceiveTime() const;
|
/external/webrtc/modules/congestion_controller/rtp/ |
D | transport_feedback_adapter_unittest.cc | 39 void ComparePacketFeedbackVectors(const std::vector<PacketResult>& truth, in ComparePacketFeedbackVectors() 40 const std::vector<PacketResult>& input) { in ComparePacketFeedbackVectors() 66 PacketResult CreatePacket(int64_t receive_time_ms, in CreatePacket() 71 PacketResult res; in CreatePacket() 109 void OnSentPacket(const PacketResult& packet_feedback) { in OnSentPacket() 132 std::vector<PacketResult> packets; in TEST_F() 159 std::vector<PacketResult> sent_packets = { in TEST_F() 173 std::vector<PacketResult> received_packets = { in TEST_F() 192 std::vector<PacketResult> packets; in TEST_F() 220 std::vector<PacketResult> expected_packets( in TEST_F() [all …]
|
/external/webrtc/modules/congestion_controller/goog_cc/ |
D | robust_throughput_estimator_unittest.cc | 19 std::vector<PacketResult> CreateFeedbackVector(size_t number_of_packets, in CreateFeedbackVector() 26 std::vector<PacketResult> packet_feedback_vector(number_of_packets); in CreateFeedbackVector() 54 std::vector<PacketResult> packet_feedback = in TEST() 84 std::vector<PacketResult> packet_feedback = in TEST() 133 std::vector<PacketResult> packet_feedback = in TEST() 157 std::vector<PacketResult> packet_feedback = in TEST()
|
D | robust_throughput_estimator.h | 33 const std::vector<PacketResult>& packet_feedback_vector) override; 43 std::deque<PacketResult> window_;
|
/external/webrtc/modules/congestion_controller/pcc/ |
D | rtt_tracker.cc | 22 const std::vector<PacketResult>& packet_feedbacks, in OnPacketsFeedback() 25 for (const PacketResult& packet_result : packet_feedbacks) { in OnPacketsFeedback()
|
D | utility_function_unittest.cc | 43 std::vector<PacketResult> CreatePacketResults( in CreatePacketResults() 47 std::vector<PacketResult> packet_results; 48 PacketResult packet_result;
|
/external/llvm-project/lldb/unittests/tools/lldb-server/tests/ |
D | TestClient.cpp | 184 if (Error E = SendMessage(message, response_string, PacketResult::Success)) in SendMessage() 193 PacketResult expected_result) { in SendMessage() 196 PacketResult result = SendPacketAndWaitForResponse(message, response, false); in SendMessage() 265 PacketResult result = ReadPacket(R, GetPacketTimeout(), false); in Continue() 266 if (result != PacketResult::ErrorDisconnected) { in Continue()
|