Home
last modified time | relevance | path

Searched refs:socket_path (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/ipc/
Dunix_domain_socket_util.cc72 bool CreateServerUnixDomainSocket(const base::FilePath& socket_path, in CreateServerUnixDomainSocket() argument
76 std::string socket_name = socket_path.value(); in CreateServerUnixDomainSocket()
77 base::FilePath socket_dir = socket_path.DirName(); in CreateServerUnixDomainSocket()
101 PLOG(ERROR) << "bind " << socket_path.value(); in CreateServerUnixDomainSocket()
107 PLOG(ERROR) << "listen " << socket_path.value(); in CreateServerUnixDomainSocket()
116 bool CreateClientUnixDomainSocket(const base::FilePath& socket_path, in CreateClientUnixDomainSocket() argument
120 std::string socket_name = socket_path.value(); in CreateClientUnixDomainSocket()
121 base::FilePath socket_dir = socket_path.DirName(); in CreateClientUnixDomainSocket()
132 PLOG(ERROR) << "connect " << socket_path.value(); in CreateClientUnixDomainSocket()
/external/e2fsprogs/misc/
Duuidd.c141 static int call_daemon(const char *socket_path, int op, char *buf, in call_daemon() argument
165 strncpy(srv_addr.sun_path, socket_path, sizeof(srv_addr.sun_path)); in call_daemon()
228 static void server_loop(const char *socket_path, const char *pidfile_path, in server_loop() argument
266 ret = call_daemon(socket_path, 0, reply_buf, sizeof(reply_buf), 0, 0); in server_loop()
298 strncpy(my_addr.sun_path, socket_path, sizeof(my_addr.sun_path)); in server_loop()
300 (void) unlink(socket_path); in server_loop()
307 socket_path, strerror(errno)); in server_loop()
315 "socket %s: %s\n"), socket_path, in server_loop()
320 cleanup_socket = socket_path; in server_loop()
440 const char *socket_path = UUIDD_SOCKET_PATH; in main() local
[all …]
/external/openssh/
Dentropy.c74 unsigned short tcp_port, char *socket_path) in get_random_bytes_prngd() argument
84 if (socket_path == NULL && tcp_port == 0) in get_random_bytes_prngd()
86 if (socket_path != NULL && in get_random_bytes_prngd()
87 strlen(socket_path) >= sizeof(addr_un->sun_path)) in get_random_bytes_prngd()
101 strlcpy(addr_un->sun_path, socket_path, in get_random_bytes_prngd()
104 strlen(socket_path) + 1; in get_random_bytes_prngd()
/external/chromium_org/chrome/common/mac/
Dmock_launchd.cc109 base::FilePath socket_path = file_; in MockLaunchd() local
110 while (socket_path.value().length() + pipe_suffix.length() > in MockLaunchd()
112 socket_path = socket_path.DirName(); in MockLaunchd()
114 pipe_name_ = socket_path.value() + pipe_suffix; in MockLaunchd()
128 base::ScopedCFTypeRef<CFStringRef> socket_path(CFStringCreateWithCString( in CopyExports() local
131 const void *values[] = { socket_path }; in CopyExports()
/external/chromium_org/apps/app_shim/
Dapp_shim_host_manager_mac.mm58 base::FilePath socket_path =
64 if (socket_path.value().length() >= IPC::kMaxSocketNameLength &&
69 factory_.reset(new IPC::ChannelFactory(socket_path, this));
Dapp_shim_host_manager_browsertest_mac.mm32 TestShimClient(const base::FilePath& socket_path);
51 TestShimClient::TestShimClient(const base::FilePath& socket_path)
57 IPC::ChannelHandle handle(socket_path.value());
254 base::FilePath socket_path =
259 EXPECT_TRUE(barrier_dir_.Set(socket_path));
Dchrome_main_app_mode_mac.mm196 base::FilePath socket_path =
198 IPC::ChannelHandle handle(socket_path.value());
/external/chromium_org/net/websockets/
Dwebsocket_stream_test.cc52 const std::string& socket_path, in CreateAndConnectCustomResponse() argument
58 WebSocketStandardRequest(socket_path, origin, extra_request_headers), in CreateAndConnectCustomResponse()
66 const std::string& socket_path, in CreateAndConnectStandard() argument
73 socket_path, in CreateAndConnectStandard()
Dwebsocket_handshake_stream_create_helper_test.cc61 const std::string& socket_path, in CreateAndInitializeStream() argument
71 socket_path, origin, extra_request_headers), in CreateAndInitializeStream()
/external/wpa_supplicant_8/hostapd/
Dhlr_auc_gw.c55 static const char *socket_path; variable
898 unlink(socket_path); in cleanup()
949 socket_path = default_socket_path; in main()
981 socket_path = optarg; in main()
1008 serv_sock = open_socket(socket_path); in main()
1012 printf("Listening for requests on %s\n", socket_path); in main()
/external/qemu/slirp/
Dmain.h42 extern char *socket_path;
Dmisc.c452 strcpy(sock_un.sun_path, socket_path);
/external/qemu/slirp-android/
Dmain.h46 extern char *socket_path;
Dmisc.c416 strcpy(sock_un.sun_path, socket_path);
/external/chromium/chrome/browser/
Dprocess_singleton_linux.cc399 const FilePath& socket_path, in ConnectSocket() argument
402 if (file_util::ReadSymbolicLink(socket_path, &socket_target)) { in ConnectSocket()
415 SetupSockAddr(socket_path.value(), &addr); in ConnectSocket()
434 SetupSockAddr(socket_path.value(), &addr); in ConnectSocket()
/external/chromium_org/chrome/browser/
Dprocess_singleton_linux.cc347 const base::FilePath& socket_path, in ConnectSocket() argument
350 if (base::ReadSymbolicLink(socket_path, &socket_target)) { in ConnectSocket()
363 SetupSockAddr(socket_path.value(), &addr); in ConnectSocket()
382 SetupSockAddr(socket_path.value(), &addr); in ConnectSocket()
/external/chromium/chrome/common/
Dservice_process_util_mac.mm102 std::string socket_path;
108 socket_path = base::SysNSStringToUTF8(ns_socket_path);
110 return IPC::ChannelHandle(socket_path);
/external/chromium_org/chrome/common/
Dservice_process_util_mac.mm101 std::string socket_path;
107 socket_path = base::SysNSStringToUTF8(ns_socket_path);
109 return IPC::ChannelHandle(socket_path);
/external/chromium/third_party/libjingle/source/talk/third_party/libudev/
Dlibudev.h113 struct udev_monitor *udev_monitor_new_from_socket(struct udev *udev, const char *socket_path);
/external/chromium_org/third_party/libjingle/source/talk/third_party/libudev/
Dlibudev.h113 struct udev_monitor *udev_monitor_new_from_socket(struct udev *udev, const char *socket_path);