Searched refs:socket_path (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/net/socket/
H A Dunix_domain_client_socket_posix.cc18 UnixDomainClientSocket::UnixDomainClientSocket(const std::string& socket_path, argument
20 : socket_path_(socket_path),
35 bool UnixDomainClientSocket::FillAddress(const std::string& socket_path, argument
43 // than socket_path size by 1.
44 size_t path_size = socket_path.size() + 1;
52 memcpy(socket_addr->sun_path, socket_path.c_str(), socket_path.size());
62 memcpy(socket_addr->sun_path + 1, socket_path.c_str(), socket_path.size());
H A Dunix_domain_client_socket_posix.h27 // Builds a client socket with |socket_path|. The caller should call Connect()
29 UnixDomainClientSocket(const std::string& socket_path,
37 // Fills |address| with |socket_path| and its length. For Android or Linux
39 static bool FillAddress(const std::string& socket_path,
H A Dunix_domain_listen_socket_posix.cc32 int CreateAndBind(const std::string& socket_path, argument
38 if (!UnixDomainClientSocket::FillAddress(socket_path,
51 PLOG(ERROR) << "Could not bind unix domain socket to " << socket_path
/external/chromium_org/ipc/
H A Dunix_domain_socket_util.cc72 bool CreateServerUnixDomainSocket(const base::FilePath& socket_path, argument
76 std::string socket_name = socket_path.value();
77 base::FilePath socket_dir = socket_path.DirName();
101 PLOG(ERROR) << "bind " << socket_path.value();
107 PLOG(ERROR) << "listen " << socket_path.value();
116 bool CreateClientUnixDomainSocket(const base::FilePath& socket_path, argument
120 std::string socket_name = socket_path.value();
121 base::FilePath socket_dir = socket_path.DirName();
132 PLOG(ERROR) << "connect " << socket_path.value();
/external/e2fsprogs/misc/
H A Duuidd.c141 static int call_daemon(const char *socket_path, int op, char *buf, argument
165 strncpy(srv_addr.sun_path, socket_path, sizeof(srv_addr.sun_path));
228 static void server_loop(const char *socket_path, const char *pidfile_path, argument
266 ret = call_daemon(socket_path, 0, reply_buf, sizeof(reply_buf), 0, 0);
298 strncpy(my_addr.sun_path, socket_path, sizeof(my_addr.sun_path));
300 (void) unlink(socket_path);
307 socket_path, strerror(errno));
315 "socket %s: %s\n"), socket_path,
320 cleanup_socket = socket_path;
443 const char *socket_path local
[all...]
/external/qemu/slirp/
H A Dmain.h42 extern char *socket_path;
H A Dmisc.c452 strcpy(sock_un.sun_path, socket_path);
/external/qemu/slirp-android/
H A Dmain.h46 extern char *socket_path;
H A Dmisc.c416 strcpy(sock_un.sun_path, socket_path);
/external/chromium_org/chrome/common/mac/
H A Dmock_launchd.cc109 base::FilePath socket_path = file_; local
110 while (socket_path.value().length() + pipe_suffix.length() >
112 socket_path = socket_path.DirName();
114 pipe_name_ = socket_path.value() + pipe_suffix;
128 base::ScopedCFTypeRef<CFStringRef> socket_path(CFStringCreateWithCString(
131 const void *values[] = { socket_path };
H A Dapp_mode_common.h163 void VerifySocketPermissions(const base::FilePath& socket_path);
/external/chromium_org/net/websockets/
H A Dwebsocket_handshake_stream_create_helper_test.cc81 const std::string& socket_path,
93 socket_path, origin, extra_request_headers),
79 CreateAndInitializeStream( const std::string& socket_url, const std::string& socket_path, const std::vector<std::string>& sub_protocols, const std::string& origin, const std::string& extra_request_headers, const std::string& extra_response_headers) argument
H A Dwebsocket_stream_test.cc113 const std::string& socket_path,
120 WebSocketStandardRequest(socket_path, origin, extra_request_headers),
128 const std::string& socket_path,
137 socket_path,
111 CreateAndConnectCustomResponse( const std::string& socket_url, const std::string& socket_path, const std::vector<std::string>& sub_protocols, const std::string& origin, const std::string& extra_request_headers, const std::string& response_body, scoped_ptr<base::Timer> timer = scoped_ptr<base::Timer>()) argument
127 CreateAndConnectStandard(const std::string& socket_url, const std::string& socket_path, const std::vector<std::string>& sub_protocols, const std::string& origin, const std::string& extra_request_headers, const std::string& extra_response_headers, scoped_ptr<base::Timer> timer = scoped_ptr<base::Timer>()) argument
/external/wpa_supplicant_8/hostapd/
H A Dhlr_auc_gw.c62 static const char *socket_path; variable
985 if (socket_path)
986 unlink(socket_path);
1046 socket_path = default_socket_path;
1078 socket_path = optarg;
1106 serv_sock = open_socket(socket_path);
1110 printf("Listening for requests on %s\n", socket_path);
1120 socket_path = NULL;
/external/chromium_org/chrome/browser/
H A Dprocess_singleton_posix.cc374 const base::FilePath& socket_path,
377 if (base::ReadSymbolicLink(socket_path, &socket_target)) {
409 SetupSockAddr(socket_path.value(), &addr);
373 ConnectSocket(ScopedSocket* socket, const base::FilePath& socket_path, const base::FilePath& cookie_path) argument

Completed in 792 milliseconds