Searched defs:socket_fd (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/chrome/common/
H A Dmulti_process_lock_linux.cc66 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 Dsocket_libevent.h80 SocketDescriptor socket_fd() const { return socket_fd_; } function in class:net::SocketLibevent
H A Dunix_domain_client_socket_posix.cc166 SocketDescriptor socket_fd = socket_->ReleaseConnectedSocket(); local
168 return socket_fd;
H A Dunix_domain_listen_socket_posix.cc34 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 Dsocket_libevent.cc111 SocketDescriptor socket_fd = socket_fd_; local
113 return socket_fd;
H A Dtcp_socket_libevent.cc157 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 Dbluetooth_socket_win.cc198 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 Dipc_channel_posix_unittest.cc150 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 Dqemu-sockets-android.c92 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 Dqemu-sockets.c139 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 Dzygote_main_linux.cc468 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 Dmacasyncsocket.cc235 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);

Completed in 243 milliseconds