/external/perfetto/src/base/ |
D | unix_socket.cc | 78 bool MakeSockAddr(const std::string& socket_name, in MakeSockAddr() argument 82 const size_t name_len = socket_name.size(); in MakeSockAddr() 87 memcpy(addr->sun_path, socket_name.data(), name_len); in MakeSockAddr() 179 bool UnixSocketRaw::Bind(const std::string& socket_name) { in Bind() argument 183 if (!MakeSockAddr(socket_name, &addr, &addr_size)) in Bind() 187 PERFETTO_DPLOG("bind(%s)", socket_name.c_str()); in Bind() 200 bool UnixSocketRaw::Connect(const std::string& socket_name) { in Connect() argument 204 if (!MakeSockAddr(socket_name, &addr, &addr_size)) in Connect() 371 std::unique_ptr<UnixSocket> UnixSocket::Listen(const std::string& socket_name, in Listen() argument 376 if (!sock_raw || !sock_raw.Bind(socket_name)) in Listen() [all …]
|
/external/perfetto/include/perfetto/base/ |
D | unix_socket.h | 66 bool Bind(const std::string& socket_name); 68 bool Connect(const std::string& socket_name); 187 static std::unique_ptr<UnixSocket> Listen(const std::string& socket_name, 202 static std::unique_ptr<UnixSocket> Connect(const std::string& socket_name, 310 void DoConnect(const std::string& socket_name);
|
/external/openssh/ |
D | ssh-agent.c | 139 char socket_name[PATH_MAX]; variable 1159 if (socket_name[0]) in cleanup_socket() 1160 unlink(socket_name); in cleanup_socket() 1341 snprintf(socket_name, sizeof socket_name, "%s/agent.%ld", socket_dir, in main() 1346 strlcpy(socket_name, agentsocket, sizeof socket_name); in main() 1354 sock = unix_listener(socket_name, SSH_LISTEN_BACKLOG, 0); in main() 1357 *socket_name = '\0'; /* Don't unlink any existing file */ in main() 1371 printf(format, SSH_AUTHSOCKET_ENV_NAME, socket_name, in main() 1387 printf(format, SSH_AUTHSOCKET_ENV_NAME, socket_name, in main() 1394 if (setenv(SSH_AUTHSOCKET_ENV_NAME, socket_name, 1) == -1 || in main()
|
/external/perfetto/src/ipc/ |
D | client_impl.cc | 38 std::unique_ptr<Client> Client::CreateInstance(const char* socket_name, in CreateInstance() argument 40 std::unique_ptr<Client> client(new ClientImpl(socket_name, task_runner)); in CreateInstance() 44 ClientImpl::ClientImpl(const char* socket_name, base::TaskRunner* task_runner) in ClientImpl() argument 47 sock_ = base::UnixSocket::Connect(socket_name, this, task_runner); in ClientImpl()
|
D | host_impl.h | 39 HostImpl(const char* socket_name, base::TaskRunner*); 77 bool Initialize(const char* socket_name);
|
D | host_impl.cc | 37 std::unique_ptr<Host> Host::CreateInstance(const char* socket_name, in CreateInstance() argument 39 std::unique_ptr<HostImpl> host(new HostImpl(socket_name, task_runner)); in CreateInstance() 62 HostImpl::HostImpl(const char* socket_name, base::TaskRunner* task_runner) in HostImpl() argument 66 sock_ = base::UnixSocket::Listen(socket_name, this, task_runner_); in HostImpl()
|
D | client_impl.h | 44 ClientImpl(const char* socket_name, base::TaskRunner*);
|
/external/perfetto/test/ |
D | fake_producer.cc | 38 const char* socket_name, in Connect() argument 45 socket_name, this, "android.perfetto.FakeProducer", task_runner); in Connect()
|
D | end_to_end_shared_memory_fuzzer.cc | 66 void Connect(const char* socket_name, base::TaskRunner* task_runner) { in Connect() argument 68 socket_name, this, "android.perfetto.FakeProducer", task_runner); in Connect()
|
D | fake_producer.h | 38 void Connect(const char* socket_name,
|
/external/perfetto/src/traced/probes/ |
D | probes_producer.cc | 154 const char* socket_name = socket_name_; in Restart() local 160 ConnectWithRetries(socket_name, task_runner); in Restart() 480 void ProbesProducer::ConnectWithRetries(const char* socket_name, in ConnectWithRetries() argument 486 socket_name_ = socket_name; in ConnectWithRetries()
|
D | probes_producer.h | 64 void ConnectWithRetries(const char* socket_name,
|
/external/wayland/tests/ |
D | test-compositor.c | 322 const char *socket_name; in display_create() local 332 socket_name = get_socket_name(); in display_create() 333 stat = wl_display_add_socket(d->wl_display, socket_name); in display_create()
|
/external/perfetto/include/perfetto/ipc/ |
D | client.h | 47 static std::unique_ptr<Client> CreateInstance(const char* socket_name,
|
D | host.h | 43 static std::unique_ptr<Host> CreateInstance(const char* socket_name,
|
/external/perfetto/src/profiling/memory/ |
D | heapprofd_producer.cc | 217 void HeapprofdProducer::ConnectWithRetries(const char* socket_name) { in ConnectWithRetries() argument 222 producer_sock_name_ = socket_name; in ConnectWithRetries() 261 const char* socket_name = producer_sock_name_; in Restart() local 267 ConnectWithRetries(socket_name); in Restart()
|
D | heapprofd_producer.h | 122 void ConnectWithRetries(const char* socket_name);
|
/external/autotest/frontend/afe/ |
D | moblab_rpc_interface.py | 274 socket_name = socket_handle.getsockname() 275 if socket_name is not None: 277 return socket_name[0]
|