/external/chromium_org/remoting/host/ |
ipc_util_posix.cc | 43 std::string socket_name = "Chromoting socket"; local 47 IPC::ChannelHandle handle(socket_name, fd); 48 server_out->reset(new IPC::ChannelProxy(IPC::ChannelHandle(socket_name, fd),
|
/external/chromium_org/ipc/ |
unix_domain_socket_util.cc | 30 int MakeUnixAddrForPath(const std::string& socket_name, 36 if (socket_name.length() == 0) { 40 // We reject socket_name.length() == kMaxSocketNameLength to make room for 42 if (socket_name.length() >= kMaxSocketNameLength) { 43 LOG(ERROR) << "Socket name too long: " << socket_name; 64 strncpy(unix_addr->sun_path, socket_name.c_str(), kMaxSocketNameLength); 66 offsetof(struct sockaddr_un, sun_path) + socket_name.length(); 76 std::string socket_name = socket_path.value(); local 81 int fd = MakeUnixAddrForPath(socket_name, &unix_addr, &unix_addr_len); 93 if (unlink(socket_name.c_str()) < 0 && errno != ENOENT) 120 std::string socket_name = socket_path.value(); local [all...] |
/external/chromium_org/content/shell/browser/ |
shell_devtools_delegate.cc | 49 std::string socket_name = "content_shell_devtools_remote"; local 51 socket_name = command_line.GetSwitchValueASCII( 55 socket_name, "", base::Bind(&content::CanUserConnectToDevTools));
|
/external/chromium_org/chrome/browser/devtools/ |
android_device.cc | 52 std::string socket_name = local 54 AdbClientSocket::TransportQuery(kAdbPort, serial(), socket_name, callback); 101 std::string socket_name = local 103 net::StreamSocket* socket = device_->CreateSocket(socket_name);
|
/external/openssh/ |
ssh-agent.c | 128 char socket_name[MAXPATHLEN]; variable 1073 if (socket_name[0]) 1074 unlink(socket_name); 1243 snprintf(socket_name, sizeof socket_name, "%s/agent.%ld", socket_dir, 1248 strlcpy(socket_name, agentsocket, sizeof socket_name); 1258 *socket_name = '\0'; /* Don't unlink any existing file */ 1263 strlcpy(sunaddr.sun_path, socket_name, sizeof(sunaddr.sun_path)); 1267 *socket_name = '\0'; /* Don't unlink any existing file * [all...] |