/external/chromium_org/chrome/common/ |
H A D | multi_process_lock_linux.cc | 66 int socket_fd = socket(AF_LOCAL, SOCK_STREAM, 0); variable 67 if (socket_fd < 0) { 72 if (bind(socket_fd, 75 fd_ = socket_fd; 81 if (IGNORE_EINTR(close(socket_fd)) < 0) {
|
/external/chromium_org/net/socket/ |
H A D | socket_libevent.h | 80 SocketDescriptor socket_fd() const { return socket_fd_; } function in class:net::SocketLibevent
|
H A D | unix_domain_client_socket_posix.cc | 166 SocketDescriptor socket_fd = socket_->ReleaseConnectedSocket(); local 168 return socket_fd;
|
H A D | unix_domain_listen_socket_posix.cc | 34 SocketDescriptor* socket_fd) { 35 DCHECK(socket_fd); 56 *socket_fd = fd; 70 SocketDescriptor socket_fd = kInvalidSocket; local 71 int rv = CreateAndBind(path, use_abstract_namespace, &socket_fd); 73 rv = CreateAndBind(fallback_path, use_abstract_namespace, &socket_fd); 77 new UnixDomainListenSocket(socket_fd, del, auth_callback)); 32 CreateAndBind(const std::string& socket_path, bool use_abstract_namespace, SocketDescriptor* socket_fd) argument
|
H A D | socket_libevent.cc | 111 SocketDescriptor socket_fd = socket_fd_; local 113 return socket_fd;
|
H A D | tcp_socket_libevent.cc | 157 int TCPSocketLibevent::AdoptConnectedSocket(int socket_fd, argument 169 int rv = socket_->AdoptConnectedSocket(socket_fd, storage); 347 SetTCPNoDelay(socket_->socket_fd(), true); 363 SetTCPKeepAlive(socket_->socket_fd(), true, kTCPKeepAliveSeconds); 384 int rv = setsockopt(socket_->socket_fd(), SOL_SOCKET, SO_REUSEADDR, 393 int rv = setsockopt(socket_->socket_fd(), SOL_SOCKET, SO_RCVBUF, 400 int rv = setsockopt(socket_->socket_fd(), SOL_SOCKET, SO_SNDBUF, 407 return SetTCPKeepAlive(socket_->socket_fd(), enable, delay); 412 return SetTCPNoDelay(socket_->socket_fd(), no_delay); 431 return socket_ != NULL && socket_->socket_fd() ! [all...] |
/external/chromium_org/device/bluetooth/ |
H A D | bluetooth_socket_win.cc | 198 SOCKET socket_fd = socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM); local 206 int status = connect(socket_fd, reinterpret_cast<SOCKADDR*>(&sa), sizeof(sa)); 214 closesocket(socket_fd); 221 scoped_socket->AdoptConnectedSocket(socket_fd, net::IPEndPoint()); 225 closesocket(socket_fd); 251 SOCKET socket_fd = socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM); local 252 if (socket_fd == INVALID_SOCKET) { 259 // Note that |socket_fd| belongs to a non-TCP address family (i.e. AF_BTH), 261 // is called on |socket_fd| directly. 264 scoped_socket->AdoptListenSocket(socket_fd); [all...] |
/external/chromium_org/ipc/ |
H A D | ipc_channel_posix_unittest.cc | 150 int socket_fd = socket(PF_UNIX, SOCK_STREAM, 0); local 151 ASSERT_GE(socket_fd, 0) << name; 152 ASSERT_GE(fcntl(socket_fd, F_SETFL, O_NONBLOCK), 0); 169 ASSERT_GE(bind(socket_fd, 174 ASSERT_GE(listen(socket_fd, SOMAXCONN), 0) << server_address.sun_path 178 ASSERT_GE(connect(socket_fd, 186 handle->socket.fd = socket_fd;
|
/external/qemu/util/ |
H A D | qemu-sockets-android.c | 92 const char* socket_fd = qemu_opt_get(opts, "socket"); local 93 if (socket_fd) { 94 return atoi(socket_fd); 197 const char* socket_fd = qemu_opt_get(opts, "socket"); local 198 if (socket_fd) { 199 return atoi(socket_fd); 424 int socket_fd; local 426 if (1 != sscanf(h+7,"%d",&socket_fd)) { 431 if (socket_fd < 0 || socket_fd > [all...] |
H A D | qemu-sockets.c | 139 const char* socket_fd = qemu_opt_get(opts, "socket"); local 140 if (socket_fd) { 141 return atoi(socket_fd); 242 const char* socket_fd = qemu_opt_get(opts, "socket"); local 243 if (socket_fd) { 244 return atoi(socket_fd); 479 int socket_fd; local 481 if (1 != sscanf(h+7,"%d",&socket_fd)) { 486 if (socket_fd < 0 || socket_fd > [all...] |
/external/chromium_org/content/zygote/ |
H A D | zygote_main_linux.cc | 468 static void SanitizerCoverageHelper(int socket_fd, int file_fd) { argument 472 recv(socket_fd, buffer.get(), kSanitizerMaxMessageLength, 0));
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | macasyncsocket.cc | 235 int socket_fd = ::accept(native_socket_, reinterpret_cast<sockaddr*>(&saddr), local 237 if (socket_fd == INVALID_SOCKET) { 242 MacAsyncSocket* s = new MacAsyncSocket(ss_, saddr.ss_family, socket_fd);
|