Home
last modified time | relevance | path

Searched full:client (Results 1 – 25 of 636) sorted by relevance

12345678910>>...26

/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/
H A Dsetup.py10 from . import client
78 from . import client
81 Client = client.Client()
83 Client.Control.SetEngineOptions(0x20) # DEBUG_ENGOPT_INITIAL_BREAK
85 Client.CreateProcessAndAttach2(binfile)
88 sym_opts = Client.Symbols.GetSymbolOptions()
90 Client.Symbols.SetSymbolOptions(sym_opts)
93 res = Client.Control.WaitForEvent(timeout=1000)
97 client.TerminateProcesses()
101 Client.Control.Execute("l+t")
[all …]
H A Ddbgeng.py36 self.client = res
42 setup.cleanup(self.client)
80 self.client.Control.RemoveBreakpoint(x)
112 self.step_info = probe_process.probe_state(self.client)
115 res = setup.step_once(self.client)
183 orig_scope_idx = self.client.Symbols.GetCurrentScopeFrameIndex()
184 self.client.Symbols.SetScopeFrameByIndex(frame_idx)
186 res = self.client.Control.Evaluate(fixed_expr)
188 result, typename = self.client.Control.Evaluate(fixed_expr)
194 self.client.Symbols.SetScopeFrameByIndex(orig_scope_idx)
H A Dclient.py163 class Client(object): class
169 # Call DebugCreate to create a new debug client
173 self.client = ptr.contents
174 self.vt = vt = self.client.lpVtbl.contents
177 return vt.QueryInterface(self.client, byref(iface), byref(ptr))
203 self.client, 0, pid, DebugAttach.DEBUG_ATTACH_DEFAULT
209 res = self.vt.DetachProcesses(self.client)
214 res = self.vt.TerminateProcesses(self.client)
226 self.client,
/llvm-project/clang-tools-extra/clangd/unittests/
H A DClangdLSPServerTests.cpp70 Server.emplace(Client.transport(), FS, Opts); in start()
72 Client.call("initialize", llvm::json::Object{}); in start()
73 return Client; in start()
78 Client.call("shutdown", nullptr); in stop()
79 Client.notify("exit", nullptr); in stop()
80 Client.stop(); in stop()
122 LSPClient Client; member in clang::clangd::__anond30aa7b20111::LSPTest
131 auto &Client = start(); in TEST_F() local
132 Client.didOpen("foo.cpp", Code.code()); in TEST_F()
133 auto &Def = Client in TEST_F()
144 auto &Client = start(); TEST_F() local
161 auto &Client = start(); TEST_F() local
191 auto &Client = start(); TEST_F() local
217 auto &Client = start(); TEST_F() local
272 auto &Client = start(); TEST_F() local
305 auto &Client = start(); TEST_F() local
342 auto &Client = start(); TEST_F() local
441 auto &Client = start(); TEST_F() local
471 auto &Client = start(); TEST_F() local
[all...]
/llvm-project/lldb/unittests/Process/gdb-remote/
H A DGDBRemoteCommunicationClientTest.cpp66 ASSERT_THAT_ERROR(GDBRemoteCommunication::ConnectLocally(client, server), in SetUp()
71 TestClient client; member in GDBRemoteCommunicationClientTest
79 return client.WriteRegister(tid, reg_num, one_register); in TEST_F()
88 return client.WriteAllRegisters(tid, all_registers); in TEST_F()
99 return client.WriteRegister(tid, reg_num, one_register); in TEST_F()
108 return client.WriteAllRegisters(tid, all_registers); in TEST_F()
119 std::launch::async, [&] { return client.GetpPacketSupported(tid); }); in TEST_F()
125 std::launch::async, [&] { return client.ReadRegister(tid, reg_num); }); in TEST_F()
133 [&] { return client.ReadAllRegisters(tid); }); in TEST_F()
145 return client in TEST_F()
471 check_qmemtags(TestClient & client,MockServer & server,size_t read_len,int32_t type,const char * packet,llvm::StringRef response,std::optional<std::vector<uint8_t>> expected_tag_data) check_qmemtags() argument
548 check_Qmemtags(TestClient & client,MockServer & server,lldb::addr_t addr,size_t len,int32_t type,const std::vector<uint8_t> & tags,const char * packet,llvm::StringRef response,bool should_succeed) check_Qmemtags() argument
[all...]
H A DGDBRemoteClientBaseTest.cpp42 TestClient() : GDBRemoteClientBase("test.client") { in TestClient()
50 ASSERT_THAT_ERROR(GDBRemoteCommunication::ConnectLocally(client, server), in SetUp()
54 &client, TestClient::eBroadcastBitRunPacketSent)); in SetUp()
60 TestClient client; member in __anonaaf37e580111::GDBRemoteClientBaseTest
66 return client.SendContinuePacketAndWaitForResponse(delegate, LinuxSignals(), in SendCPacket()
74 &client, TestClient::eBroadcastBitRunPacketSent, event_sp, in WaitForRunEvent()
112 ASSERT_FALSE(client.SendAsyncSignal(0x47, g_timeout)); in TEST_F()
122 return client.SendAsyncSignal(0x47, g_timeout); in TEST_F()
153 client.SendPacketAndWaitForResponse("qTest1", response)); in TEST_F()
156 return client.SendPacketAndWaitForResponse("qTest2", async_response, in TEST_F()
[all …]
/llvm-project/llvm/unittests/Debuginfod/
H A DHTTPServerTests.cpp67 // Test the client and server against each other.
69 // Test fixture to initialize and teardown the HTTP client for each
70 // client-server test
100 HTTPClient Client; in TEST_F() local
101 EXPECT_THAT_ERROR(Client.perform(Request, Handler), Succeeded()); in TEST_F()
103 EXPECT_EQ(Client.responseCode(), Response.Code); in TEST_F()
124 HTTPClient Client; in TEST_F() local
125 EXPECT_THAT_ERROR(Client.perform(Request, Handler), Succeeded()); in TEST_F()
127 EXPECT_EQ(Client.responseCode(), LambdaResponse.Code); in TEST_F()
143 HTTPClient Client; in TEST_F() local
[all …]
/llvm-project/mlir/utils/vscode/src/
H A DmlirContext.ts14 this.clients.forEach(async client => await client.stop());
23 * including the language client.
53 const client = this.workspaceFolders.get(folder.uri.toString()); constant
54 if (client) {
55 client.dispose();
90 // Get or create a client context for this folder.
96 // Start the client for this language if necessary.
97 let client = folderContext.clients.get(languageId); variable
98 if (!client) {
[all...]
/llvm-project/libc/docs/gpu/
H A Drpc.rst25 and the GPU. We can then use this to create a simple client-server protocol
28 This work treats the GPU as a client and the host as a server. The client
35 the buffer to the client when the inbox and outbox bits are equal and to the
63 the following list will explain the operations done by the client and server
66 First, a communication from the perspective of the client:
68 * The client searches for an available port and claims the lock.
69 * The client checks that the port is still available to the current device and
71 * The client writes its data to the fixed-size packet and toggles its outbox.
72 * The client wait
[all...]
/llvm-project/compiler-rt/test/tsan/Darwin/
H A Dxpc.mm16 dispatch_queue_t client_q = dispatch_queue_create("client.queue", DISPATCH_QUEUE_CONCURRENT);
22 xpc_connection_set_event_handler(server_conn, ^(xpc_object_t client) {
24 NSLog(@"server event handler, client = %@", client);
26 if (client == XPC_ERROR_CONNECTION_INTERRUPTED || client == XPC_ERROR_CONNECTION_INVALID) {
29 xpc_connection_set_event_handler(client, ^(xpc_object_t object) {
41 xpc_connection_resume(client);
48 NSLog(@"client event handler, event = %@", event);
H A Dxpc-race.mm30 xpc_connection_set_event_handler(server_conn, ^(xpc_object_t client) {
31 fprintf(stderr, "server event handler, client = %p\n", client);
33 if (client == XPC_ERROR_CONNECTION_INTERRUPTED || client == XPC_ERROR_CONNECTION_INVALID) {
36 xpc_connection_set_event_handler(client, ^(xpc_object_t object) {
67 xpc_connection_resume(client);
75 fprintf(stderr, "client event handler, event = %p\n", event);
/llvm-project/lldb/unittests/tools/lldb-server/tests/
H A DLLGSTest.cpp27 auto &Client = **ClientOr; in TEST_F()
29 ASSERT_THAT_ERROR(Client.ContinueAll(), Succeeded()); in TEST_F()
31 Client.GetLatestStopReplyAs<StopReplyExit>(), in TEST_F() local
46 auto &Client = **ClientOr; in TEST_F()
48 ASSERT_THAT_ERROR(Client.ContinueAll(), Succeeded()); in TEST_F()
50 Client.GetLatestStopReplyAs<StopReplyExit>(), in TEST_F() local
60 auto &Client = **ClientOr; in TEST_F()
63 ASSERT_THAT_ERROR(Client.SendMessage("vAttach;1"), in TEST_F()
67 ASSERT_THAT_ERROR(Client.SendMessage("QEnableErrorStrings"), Succeeded()); in TEST_F()
71 Client in TEST_F()
64 auto &Client = **ClientOr; TEST_F() local
[all...]
/llvm-project/llvm/test/Transforms/OpenMP/
H A Dkeep_rpc_client.ll
/llvm-project/libc/src/__support/RPC/
H A Drpc_client.cpp1 //===-- Shared memory RPC client instantiation ------------------*- C++ -*-===//
16 /// The libc client instance used to communicate with the server. Externally variable
17 /// visible symbol to signify the usage of an RPC client to whomever needs to
18 /// run the server as well as provide a way to initialize the client.
19 [[gnu::visibility("protected")]] Client client;
H A Drpc.h
/llvm-project/clang-tools-extra/clangd/test/
H A Dpath-mappings.test5 # RUN: clangd --path-mappings 'C:\client=%t/server' -lit-test < %s | FileCheck -strict-whitespace %s
13 "uri": "file:///C:/client/bar.cpp",
19 # Ensure that the client gets back the same client path (clangd thinks it edited %t/server/bar.cpp)
23 # CHECK-NEXT: "uri": "file:///C:/client/bar.cpp",
28 # With path mappings, when we go to definition on foo(), we get back a client file uri
35 "uri": "file:///C:/client/bar.cpp"
57 # CHECK-NEXT: "uri": "file:///C:/client/foo.h"
/llvm-project/libc/utils/gpu/server/
H A Dllvmlibc_rpc_server.h
/llvm-project/clang/test/PCH/
H A Dleakfiles.test9 // client.c includes lib/lib.h, and also the individual files directly.
17 // RUN: echo "#include \"lib/lib.h\"" > client.c
18 // RUN: for i in {1..300}; do echo "#include \"lib/lib$i.h\"" >> client.c; done
25 // RUN: %clang_cc1 -fsyntax-only -Ilib/ client.c
28 // RUN: %clang_cc1 -emit-pch -o pch -Ilib/ client.c
29 // RUN: %clang_cc1 -include-pch pch -Ilib/ client.c -fsyntax-only
/llvm-project/clang/lib/Frontend/Rewrite/
H A DFixItRewriter.cpp1 //===- FixItRewriter.cpp - Fix-It Rewriter Diagnostic Client --------------===//
9 // This is a diagnostic client adaptor that performs rewrites as
11 // then forwards any diagnostics to the adapted diagnostic client.
44 Client = Diags.getClient(); in FixItRewriter()
49 Diags.setClient(Client, Owner.release() != nullptr); in ~FixItRewriter()
127 return Client ? Client->IncludeInDiagnosticCounts() : true; in IncludeInDiagnosticCounts()
139 Client->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
200 /// Emit a diagnostic via the adapted diagnostic client. in Diag()
203 // and let the downstream client forma in Diag()
[all...]
/llvm-project/mlir/utils/vscode/src/MLIR/
H A DbytecodeProvider.ts65 // Try to start a language client for this file so that we can parse
67 const client = constant
69 if (!client) {
74 // Ask the client to do the conversion.
78 result = await client.sendRequest('mlir/convertFromBytecode', params);
114 // Get the language client managing this file.
115 let client = this.mlirContext.getLanguageClient(uri, 'mlir'); variable
116 if (!client) {
121 // Ask the client to do the conversion.
126 await client.sendRequest('mlir/convertToBytecode', convertParams);
/llvm-project/clang-tools-extra/clangd/
H A DClangdLSPServer.h214 /// limitation of the LSP. Per LSP, a client sends requests for all "trigger
238 /// Language Server client.
286 /// The supported kinds of the client.
288 /// The supported completion item kinds of the client.
290 // Whether the client supports CompletionItem.labelDetails.
292 /// Whether the client supports CodeAction response objects.
296 /// Whether the client supports showing file status.
298 /// Whether the client supports attaching a container string to references.
302 /// Whether the client supports offsets for parameter info labels.
304 /// Whether the client support
[all...]
/llvm-project/llvm/lib/Debuginfod/
H A DDebuginfod.cpp1 //===-- llvm/Debuginfod/Debuginfod.cpp - Debuginfod client library --------===//
11 /// This file contains several definitions for the debuginfod client and server.
12 /// For the client, this file defines the fetchInfo function. For the server,
95 /// Finds a default local file caching directory for the debuginfod client,
105 sys::path::append(CacheDirectory, "llvm-debuginfod", "client"); in getDefaultDebuginfodCacheDirectory()
185 HTTPClient &Client; member in llvm::__anonb38a75600211::StreamedHTTPResponseHandler
189 StreamedHTTPResponseHandler(CreateStreamFn CreateStream, HTTPClient &Client) in StreamedHTTPResponseHandler() argument
190 : CreateStream(CreateStream), Client(Client) {} in StreamedHTTPResponseHandler()
200 unsigned Code = Client.responseCode(); in handleBodyChunk()
259 localCache("Debuginfod-client", ".debuginfod-client", CacheDirectoryPath); in getCachedOrDownloadArtifact()
[all …]
/llvm-project/lldb/packages/Python/lldbsuite/test/
H A Dgdbclientutils.py79 A base class for handling client packets and issuing server responses for
101 to the given packet received from the client.
369 """Get address for the client to connect to."""
378 """Accept a single client connection to the server."""
384 """Receive a data packet from the connected client."""
387 """Send the data to the connected client."""
406 client, client_addr = self._server_socket.accept()
407 # The connected client inherits its timeout from self._socket,
408 # but we'll use a blocking socket for the client
409 client.settimeout(None)
[all …]
/llvm-project/llvm/include/llvm-c/
H A DOrc.h254 * If a client creates an instance of this type then they are responsible for
321 * If a client captures a lookup state object then they must eventually call
519 * returned value should be released once the client is done with it by
562 * retained by the client for this function. The client should *not* release the
571 * The client is fully responsible for managing the lifetime of the Ctx object.
621 * prevented the client from calling LLVMOrcJITDylibAddGenerator).
640 * function. The client should *not* release the elements of the array, but is
686 * The client is still responsible for deleting the Sym array itself.
688 * If a client wishes to reuse elements of the Sym array after this call they
710 * The client is still responsible for deleting the CallableAliases array itself.
[all …]
/llvm-project/mlir/utils/emacs/
H A Dmlir-lsp-client.el41 "Setup the LSP client for MLIR."
44 (lsp-register-client
45 (make-lsp-client
52 (provide 'mlir-lsp-client)
53 ;;; mlir-lsp-client.el ends here

12345678910>>...26