/external/chromium_org/ipc/ |
D | unix_domain_socket_util.cc | 31 int MakeUnixAddrForPath(const std::string& socket_name, in MakeUnixAddrForPath() argument 37 if (socket_name.length() == 0) { in MakeUnixAddrForPath() 43 if (socket_name.length() >= kMaxSocketNameLength) { in MakeUnixAddrForPath() 44 LOG(ERROR) << "Socket name too long: " << socket_name; in MakeUnixAddrForPath() 64 strncpy(unix_addr->sun_path, socket_name.c_str(), kMaxSocketNameLength); in MakeUnixAddrForPath() 66 offsetof(struct sockaddr_un, sun_path) + socket_name.length(); in MakeUnixAddrForPath() 76 std::string socket_name = socket_path.value(); in CreateServerUnixDomainSocket() local 82 MakeUnixAddrForPath(socket_name, &unix_addr, &unix_addr_len)); in CreateServerUnixDomainSocket() 93 if (unlink(socket_name.c_str()) < 0 && errno != ENOENT) { in CreateServerUnixDomainSocket() 94 PLOG(ERROR) << "unlink " << socket_name; in CreateServerUnixDomainSocket() [all …]
|
D | unix_domain_socket_util.h | 28 IPC_EXPORT bool CreateServerUnixDomainSocket(const base::FilePath& socket_name, 34 IPC_EXPORT bool CreateClientUnixDomainSocket(const base::FilePath& socket_name,
|
D | ipc_channel_posix_unittest.cc | 220 std::string socket_name("/var/tmp/IPCChannelPosixTest_BasicConnected"); in TEST_F() local 224 IPC::ChannelHandle handle(socket_name, fd); in TEST_F() 235 socket_name, IPC::Channel::MODE_SERVER, NULL)); in TEST_F()
|
/external/chromium_org/chrome/test/chromedriver/net/ |
D | adb_client_socket.cc | 47 const std::string& socket_name, in AdbTransportSocket() argument 51 socket_name_(socket_name), in AdbTransportSocket() 100 const std::string& socket_name, in HttpOverAdbSocket() argument 106 Connect(port, serial, socket_name); in HttpOverAdbSocket() 111 const std::string& socket_name, in HttpOverAdbSocket() argument 117 Connect(port, serial, socket_name); in HttpOverAdbSocket() 126 const std::string& socket_name) { in Connect() argument 128 port, serial, socket_name, in Connect() 315 const std::string& socket_name, in TransportQuery() argument 324 if (!base::StringToInt(socket_name, &tcp_port)) in TransportQuery() [all …]
|
D | adb_client_socket.h | 24 const std::string& socket_name, 29 const std::string& socket_name, 35 const std::string& socket_name,
|
/external/chromium_org/chrome/browser/devtools/device/ |
D | android_device_manager.h | 40 std::string socket_name; member 85 void OpenSocket(const std::string& socket_name, 88 void SendJsonRequest(const std::string& socket_name, 92 void HttpUpgrade(const std::string& socket_name, 97 const std::string& socket_name, 136 const std::string& socket_name, 140 const std::string& socket_name, 145 const std::string& socket_name,
|
D | self_device_provider.cc | 43 browser_info.socket_name = base::IntToString(port_); in QueryDeviceInfo() 54 const std::string& socket_name, in OpenSocket() argument 61 base::StringToInt(socket_name, &port); in OpenSocket()
|
D | android_device_manager.cc | 294 const std::string& socket_name, in SendJsonRequest() argument 298 socket_name, in SendJsonRequest() 306 const std::string& socket_name, in HttpUpgrade() argument 311 socket_name, in HttpUpgrade() 339 void AndroidDeviceManager::Device::OpenSocket(const std::string& socket_name, in OpenSocket() argument 346 socket_name, in OpenSocket() 351 const std::string& socket_name, in SendJsonRequest() argument 359 socket_name, in SendJsonRequest() 366 void AndroidDeviceManager::Device::HttpUpgrade(const std::string& socket_name, in HttpUpgrade() argument 374 socket_name, in HttpUpgrade()
|
D | android_web_socket.cc | 84 const std::string& socket_name, 115 const std::string& socket_name, in AndroidWebSocketImpl() argument 120 socket_name_(socket_name), in AndroidWebSocketImpl()
|
D | self_device_provider.h | 21 const std::string& socket_name,
|
/external/chromium_org/chromecast/shell/browser/devtools/ |
D | remote_debugging_server.cc | 38 explicit UnixDomainServerSocketFactory(const std::string& socket_name) in UnixDomainServerSocketFactory() argument 39 : content::DevToolsHttpHandler::ServerSocketFactory(socket_name, 0, 1) {} in UnixDomainServerSocketFactory() 75 std::string socket_name = "content_shell_devtools_remote"; in CreateSocketFactory() local 77 socket_name = command_line->GetSwitchValueASCII( in CreateSocketFactory() 81 new UnixDomainServerSocketFactory(socket_name)); in CreateSocketFactory()
|
/external/chromium_org/remoting/host/ |
D | ipc_util_posix.cc | 44 std::string socket_name = "Chromoting socket"; in CreateConnectedIpcChannel() local 48 IPC::ChannelHandle handle(socket_name, fd); in CreateConnectedIpcChannel() 49 *server_out = IPC::ChannelProxy::Create(IPC::ChannelHandle(socket_name, fd), in CreateConnectedIpcChannel()
|
/external/chromium_org/content/shell/browser/ |
D | shell_devtools_delegate.cc | 53 explicit UnixDomainServerSocketFactory(const std::string& socket_name) in UnixDomainServerSocketFactory() argument 54 : content::DevToolsHttpHandler::ServerSocketFactory(socket_name, 0, 1) {} in UnixDomainServerSocketFactory() 90 std::string socket_name = "content_shell_devtools_remote"; in CreateSocketFactory() local 92 socket_name = command_line.GetSwitchValueASCII( in CreateSocketFactory() 96 new UnixDomainServerSocketFactory(socket_name)); in CreateSocketFactory()
|
/external/chromium_org/chrome/browser/devtools/device/adb/ |
D | adb_device_provider.cc | 60 const std::string& socket_name, in OpenSocket() argument 63 base::StringPrintf(kLocalAbstractCommand, socket_name.c_str()); in OpenSocket()
|
D | adb_client_socket.cc | 41 const std::string& socket_name, in AdbTransportSocket() argument 45 socket_name_(socket_name), in AdbTransportSocket() 157 const std::string& socket_name, in TransportQuery() argument 159 new AdbTransportSocket(port, serial, socket_name, callback); in TransportQuery()
|
D | adb_device_provider.h | 18 const std::string& socket_name,
|
D | adb_client_socket.h | 25 const std::string& socket_name,
|
/external/lldb/include/lldb/Core/ |
D | ConnectionFileDescriptor.h | 93 NamedSocketAccept (const char *socket_name, Error *error_ptr); 96 NamedSocketConnect (const char *socket_name, Error *error_ptr);
|
/external/chromium_org/android_webview/native/ |
D | aw_dev_tools_server.cc | 77 explicit UnixDomainServerSocketFactory(const std::string& socket_name) in UnixDomainServerSocketFactory() argument 78 : content::DevToolsHttpHandler::ServerSocketFactory(socket_name, 0, 1) {} in UnixDomainServerSocketFactory()
|
/external/chromium_org/chrome/browser/android/ |
D | dev_tools_server.cc | 143 const std::string& socket_name, in UnixDomainServerSocketFactory() argument 145 : content::DevToolsHttpHandler::ServerSocketFactory(socket_name, 0, 1), in UnixDomainServerSocketFactory()
|
/external/chromium_org/chrome/browser/devtools/device/usb/ |
D | usb_device_provider.cc | 118 std::string socket_name = in OpenSocket() local 120 net::StreamSocket* socket = it->second->CreateSocket(socket_name); in OpenSocket()
|
D | usb_device_provider.h | 28 const std::string& socket_name,
|
/external/chromium_org/tools/android/forwarder2/ |
D | daemon.cc | 127 const std::string& socket_name, in ConnectToUnixDomainSocket() argument 133 if (!socket->ConnectUnix(socket_name)) { in ConnectToUnixDomainSocket()
|
/external/chromium_org/net/socket/ |
D | unix_domain_listen_socket_posix_unittest.cc | 167 base::FilePath GetTempSocketPath(const std::string socket_name) { in GetTempSocketPath() argument 169 return temp_dir_.path().Append(socket_name); in GetTempSocketPath()
|
/external/lldb/source/Core/ |
D | ConnectionFileDescriptor.cpp | 1116 ConnectionFileDescriptor::NamedSocketAccept (const char *socket_name, Error *error_ptr) in NamedSocketAccept() argument 1132 ::strncpy(saddr_un.sun_path, socket_name, sizeof(saddr_un.sun_path) - 1); in NamedSocketAccept() 1165 ConnectionFileDescriptor::NamedSocketConnect (const char *socket_name, Error *error_ptr) in NamedSocketConnect() argument 1181 ::strncpy(saddr_un.sun_path, socket_name, sizeof(saddr_un.sun_path) - 1); in NamedSocketConnect()
|