Searched refs:json_packet (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/lldb/unittests/Process/gdb-remote/ |
D | GDBRemoteClientBaseTest.cpp | 300 const std::string json_packet = "JSON-async:" + json_payload; in TEST_F() local 304 stream.PutEscapedBytes(json_packet.c_str(), json_packet.length()); in TEST_F() 318 ASSERT_EQ(json_packet, delegate.structured_data_packets[0]); in TEST_F()
|
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
D | GDBRemoteCommunicationClient.cpp | 3384 StructuredData::Dictionary json_packet; in SendStartTracePacket() local 3385 json_packet.AddIntegerItem("type", options.getType()); in SendStartTracePacket() 3386 json_packet.AddIntegerItem("buffersize", options.getTraceBufferSize()); in SendStartTracePacket() 3387 json_packet.AddIntegerItem("metabuffersize", options.getMetaDataBufferSize()); in SendStartTracePacket() 3390 json_packet.AddIntegerItem("threadid", options.getThreadID()); in SendStartTracePacket() 3394 json_packet.AddItem("params", custom_params); in SendStartTracePacket() 3397 json_packet.Dump(json_string, false); in SendStartTracePacket() 3425 StructuredData::Dictionary json_packet; in SendStopTracePacket() local 3430 json_packet.AddIntegerItem("traceid", uid); in SendStopTracePacket() 3433 json_packet.AddIntegerItem("threadid", thread_id); in SendStopTracePacket() [all …]
|
D | GDBRemoteCommunicationServerLLGS.cpp | 1210 StructuredData::Dictionary json_packet; in Handle_jLLDBTraceSupportedType() local 1212 json_packet.AddStringItem("name", supported_trace_type->name); in Handle_jLLDBTraceSupportedType() 1213 json_packet.AddStringItem("description", supported_trace_type->description); in Handle_jLLDBTraceSupportedType() 1216 json_packet.Dump(json_string, false); in Handle_jLLDBTraceSupportedType() 1263 StructuredData::Dictionary json_packet; in Handle_jTraceConfigRead() local 1265 json_packet.AddIntegerItem("type", options.getType()); in Handle_jTraceConfigRead() 1266 json_packet.AddIntegerItem("buffersize", options.getTraceBufferSize()); in Handle_jTraceConfigRead() 1267 json_packet.AddIntegerItem("metabuffersize", options.getMetaDataBufferSize()); in Handle_jTraceConfigRead() 1271 json_packet.AddItem("params", custom_params); in Handle_jTraceConfigRead() 1274 json_packet.Dump(json_string, false); in Handle_jTraceConfigRead()
|