Home
last modified time | relevance | path

Searched refs:response (Results 1 – 25 of 134) sorted by relevance

123456

/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp181 StreamString response; in Handle_qHostInfo() local
291 response.PutChar(';'); in Handle_qHostInfo()
564 StreamString response; in Handle_vFile_Close() local
565 response.PutChar('F'); in Handle_vFile_Close()
613 response.PutChar('F'); in Handle_vFile_pWrite()
718 StreamString response; in Handle_vFile_symlink() local
730 StreamString response; in Handle_vFile_unlink() local
970 StreamString response; in Handle_qLaunchSuccess() local
971 response.PutChar('E'); in Handle_qLaunchSuccess()
1133 response.PutChar(';'); in Handle_qModuleInfo()
[all …]
H A DGDBRemoteCommunicationClient.cpp222 if (response.IsOKResponse()) in GetListThreadsInStopReplySupported()
235 if (response.IsOKResponse()) in GetVAttachOrWaitSupported()
748 if (response.IsOKResponse()) in GetLaunchSuccess()
1166 if (response.GetChar() == 'Q' && response.GetChar() == 'C') { in GetDefaultThreadId()
1410 return response.GetError(); in SendStdinNotification()
2882 if ((response.IsUnsupportedResponse() || response.IsNormalResponse()) && in GetCurrentProcessAndThreadIDs()
3033 response.SetFilePos(0); in ParseHostIOPacketResponse()
3159 while (response.Peek()) { in AutoCompleteDiskFileOrDirectory()
3241 const char next = (response.Peek() ? *response.Peek() : 0); in ReadFile()
3401 if (response.Peek() && *response.Peek() == 'x') in CalculateMD5()
[all …]
H A DGDBRemoteCommunicationServerLLGS.cpp807 StreamString response; in PrepareStopReplyPacketForThread() local
811 return response; in PrepareStopReplyPacketForThread()
820 response.PutChar('T'); in PrepareStopReplyPacketForThread()
834 response.PutChar(';'); in PrepareStopReplyPacketForThread()
996 return response; in PrepareStopReplyPacketForThread()
1008 if (response.Empty()) in SendStopReplyPacketForThread()
1198 StreamString response; in SendONotification() local
1199 response.PutChar('O'); in SendONotification()
1397 StreamString response; in Handle_qProcessInfo() local
1418 StreamString response; in Handle_qC() local
[all …]
H A DGDBRemoteClientBase.cpp42 StringExtractorGDBRemote &response) { in SendContinuePacketAndWaitForResponse() argument
44 response.Clear(); in SendContinuePacketAndWaitForResponse()
95 if (response.Empty()) in SendContinuePacketAndWaitForResponse()
98 const char stop_type = response.GetChar(); in SendContinuePacketAndWaitForResponse()
100 response.GetStringRef().data()); in SendContinuePacketAndWaitForResponse()
115 response.GetHexByteString(inferior_stdout); in SendContinuePacketAndWaitForResponse()
121 llvm::StringRef(response.GetStringRef()).substr(1)); in SendContinuePacketAndWaitForResponse()
129 const bool should_stop = ShouldStop(signals, response); in SendContinuePacketAndWaitForResponse()
130 response.SetFilePos(0); in SendContinuePacketAndWaitForResponse()
235 if (response.ValidateResponse()) in SendPacketAndWaitForResponseNoLock()
[all …]
H A DGDBRemoteCommunicationServerPlatform.cpp268 StreamGDBRemote response; in Handle_qLaunchGDBServer() local
275 response.PutChar(';'); in Handle_qLaunchGDBServer()
302 StreamGDBRemote response; in Handle_qQueryGDBServer() local
402 StreamString response; in Handle_qProcessInfo() local
424 StreamString response; in Handle_qPathComplete() local
425 response.PutChar('M'); in Handle_qPathComplete()
429 response << separator; in Handle_qPathComplete()
447 StreamString response; in Handle_qGetWorkingDir() local
474 StreamString response; in Handle_qC() local
514 StreamString response; in Handle_jSignalsInfo() local
[all …]
H A DGDBRemoteClientBase.h43 StringExtractorGDBRemote &response);
54 llvm::StringRef payload, StringExtractorGDBRemote &response,
58 llvm::StringRef payload, StringExtractorGDBRemote &response,
93 StringExtractorGDBRemote &response);
143 StringExtractorGDBRemote &response);
H A DProcessGDBRemote.cpp559 SetLastStopPacket(response); in DoConnectRemote()
878 SetLastStopPacket(response); in DoLaunch()
962 entry.c_str(), response); in ConnectToDebugserver()
2465 m_last_stop_packet = response; in SetLastStopPacket()
2703 if (response.IsOKResponse()) { in FlashErase()
2733 if (response.IsOKResponse()) { in FlashDone()
3556 if (response.GetBytesLeft() > 0 && response.GetChar('-') == ';') { in AsyncThread()
3776 if (response) in GetAuxvData()
3815 if (!response.Empty()) { in GetExtendedInfoForThread()
3887 if (!response.Empty()) { in GetLoadedDynamicLibrariesInfos_sender()
[all …]
/llvm-project-15.0.7/lldb/unittests/Process/gdb-remote/
H A DGDBRemoteClientBaseTest.cpp83 StringExtractorGDBRemote response; in TEST_F() local
90 ASSERT_EQ("c", response.GetStringRef()); in TEST_F()
97 ASSERT_EQ("c", response.GetStringRef()); in TEST_F()
104 ASSERT_EQ("c", response.GetStringRef()); in TEST_F()
117 ASSERT_EQ("c", response.GetStringRef()); in TEST_F()
147 ASSERT_EQ("c", response.GetStringRef()); in TEST_F()
175 ASSERT_EQ("c", response.GetStringRef()); in TEST_F()
277 StringExtractorGDBRemote response; in TEST_F() local
309 StringExtractorGDBRemote response; in TEST_F() local
346 StringExtractorGDBRemote response; in TEST_F() local
[all …]
H A DGDBRemoteCommunicationTest.cpp23 PacketResult ReadPacket(StringExtractorGDBRemote &response) { in ReadPacket() argument
24 return GDBRemoteCommunication::ReadPacket(response, std::chrono::seconds(1), in ReadPacket()
65 StringExtractorGDBRemote response; in TEST_F() local
67 ASSERT_EQ(PacketResult::Success, client.ReadPacket(response)); in TEST_F()
68 ASSERT_EQ(Test.Payload, response.GetStringRef()); in TEST_F()
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/breakpoint/
H A DTestVSCode_setBreakpoints.py64 breakpoints = response['body']['breakpoints']
74 breakpoints = response['body']['breakpoints']
87 breakpoints = response['body']['breakpoints']
133 if response:
157 if response:
177 if response:
195 if response:
202 if response:
211 if response:
226 if response:
[all …]
H A DTestVSCode_setFunctionBreakpoints.py41 if response:
42 breakpoints = response['body']['breakpoints']
53 if response:
54 breakpoints = response['body']['breakpoints']
65 if response:
66 breakpoints = response['body']['breakpoints']
81 if response:
82 breakpoints = response['body']['breakpoints']
96 if response:
97 breakpoints = response['body']['breakpoints']
[all …]
H A DTestVSCode_setExceptionBreakpoints.py40 response = self.vscode.request_setExceptionBreakpoints(filters)
41 if response:
42 self.assertTrue(response['success'])
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/variables/
H A DTestVSCode_variables.py71 response = self.vscode.request_variables(varRef)
73 response['body']['variables'],
144 response = self.vscode.request_variables(varRef)
161 response['body']['variables'])
224 response['body']['variables'])
231 value = response['body']['variables'][0]['value']
371 response = self.vscode.request_evaluate(
376 response["body"],
386 response["body"],
398 response = self.vscode.request_variables(var_ref)
[all …]
/llvm-project-15.0.7/lldb/tools/lldb-vscode/
H A Dlldb-vscode.cpp588 llvm::json::Object response; in request_attach() local
749 llvm::json::Object response; in request_continue() local
795 llvm::json::Object response; in request_configurationDone() local
850 llvm::json::Object response; in request_disconnect() local
893 llvm::json::Object response; in request_exceptionInfo() local
1047 llvm::json::Object response; in request_completions() local
1203 llvm::json::Object response; in request_evaluate() local
1302 llvm::json::Object response; in request_compileUnits() local
1352 llvm::json::Object response; in request_modules() local
1455 llvm::json::Object response; in request_initialize() local
[all …]
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DTraceGDBRemotePacketsTest.cpp40 TraceIntelPTGetStateResponse response; in TEST() local
41response.tsc_perf_zero_conversion = LinuxPerfZeroTscConversion{test_time_mult, test_time_shift, {t… in TEST()
46 llvm::formatv("{0}", toJSON(response)).str(), in TEST()
59 response.tsc_perf_zero_conversion->ToNanos(TSC); in TEST()
66 ASSERT_EQ(toJSON(response), toJSON(*deserialized_response)); in TEST()
82 TraceIntelPTGetStateResponse response; in TEST() local
87 llvm::formatv("{0}", toJSON(response)).str(), in TEST()
95 ASSERT_EQ(toJSON(response), toJSON(*deserialized_response)); in TEST()
97 ASSERT_FALSE((bool)response.tsc_perf_zero_conversion); in TEST()
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/
H A Dlldbvscode_testcase.py34 if response is None:
36 breakpoints = response['body']['breakpoints']
50 if response is None:
153 if response:
271 response = self.vscode.request_attach(
278 if not (response and response['success']):
279 self.assertTrue(response['success'],
305 response = self.vscode.request_launch(
329 return response
331 if not (response and response['success']):
[all …]
H A Dvscode.py409 if response:
553 if response:
555 return response
579 return response
629 if response:
632 return response
696 return response
827 return response
875 return response
907 return response
[all …]
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/breakpoint-events/
H A DTestVSCode_breakpointEvents.py66 response = self.vscode.request_setBreakpoints(main_source_path,
68 if response:
69 breakpoints = response['body']['breakpoints']
77 response = self.vscode.request_setBreakpoints(foo_source_path,
79 if response:
80 breakpoints = response['body']['breakpoints']
/llvm-project-15.0.7/lldb/test/API/commands/trace/intelpt-trace/
H A Dexport_ctf_test_program.cpp18 int response; in iterative_handle_request_by_id() local
21 response = fast_handle_request(id); in iterative_handle_request_by_id()
23 response = slow_handle_request(id); in iterative_handle_request_by_id()
24 log_response(response); in iterative_handle_request_by_id()
/llvm-project-15.0.7/lld/test/COFF/
H A Dlinkrepro.test17 # RUN: FileCheck %s --check-prefix=RSP < repro/response.txt
25 # RUN: FileCheck %s --check-prefix=RSP < repro2/response.txt
35 # RUN: FileCheck %s --check-prefix=RSP < repro/response.txt
49 # RUN: FileCheck %s --check-prefix=RSP < repro/response.txt
50 # RUN: cd repro; lld-link @response.txt
64 # RUN: FileCheck %s --check-prefix=RSP < repro/response.txt
65 # RUN: cd repro; lld-link @response.txt
69 # LIST: response.txt
91 # RUN: FileCheck %s --check-prefix=RSPCG < repro/response.txt
92 # RUN: cd repro; lld-link @response.txt
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/
H A Dresponse-file.test1 ## Check that we support response files.
3 # RUN: echo "--strip-debug %t.o" > %t-response
4 # RUN: llvm-objcopy @%t-response %t2.o
5 # RUN: llvm-strip @%t-response
/llvm-project-15.0.7/llvm/test/Other/
H A DResponseFile.ll2 ; is a hack to make sure that neither echo nor the shell expands the response
5 ; GNU-style response files. So replace \ with \\ to make the tests work there.
11 ; When the response file begins with UTF8 BOM sequence, we shall remove them.
13 ; RUN: llvm-as @%S/Inputs/utf8-response > /dev/null
14 ; RUN: llvm-as @%S/Inputs/utf8-bom-response > /dev/null
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dproperty-invalid-type.mm5 A* response; // expected-error {{unknown type name 'A'}} field
9 @property A* response; // expected-error {{unknown type name 'A'}}
13 @synthesize response;
16 self.response = a; // expected-error{{incompatible pointer types assigning to 'int *' from 'id'}}
/llvm-project-15.0.7/lldb/source/Utility/
H A DStringExtractorGDBRemote.cpp530 const StringExtractorGDBRemote &response) { in OKErrorNotSupportedResponseValidator() argument
531 switch (response.GetResponseType()) { in OKErrorNotSupportedResponseValidator()
546 const StringExtractorGDBRemote &response) { in JSONResponseValidator() argument
547 switch (response.GetResponseType()) { in JSONResponseValidator()
563 switch (response.GetStringRef()[0]) { in JSONResponseValidator()
578 const StringExtractorGDBRemote &response) { in ASCIIHexBytesResponseValidator() argument
579 switch (response.GetResponseType()) { in ASCIIHexBytesResponseValidator()
591 for (const char ch : response.GetStringRef()) { in ASCIIHexBytesResponseValidator()
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/module/
H A DTestVSCode_module.py90 response = self.vscode.request_compileUnits(moduleId)
91 self.assertTrue(response['body'])
92 self.assertEqual(len(response['body']['compileUnits']), 1,
94 self.assertEqual(response['body']['compileUnits'][0]['compileUnitPath'], main_source_path,

123456