/system/core/fastboot/ |
socket.cpp | 34 Socket::Socket(cutils_socket_t sock) : sock_(sock) {} 43 if (sock_ != INVALID_SOCKET) { 44 ret = socket_close(sock_); 45 sock_ = INVALID_SOCKET; 70 return socket_get_local_port(sock_); 87 if (sock_ == INVALID_SOCKET) { 93 FD_SET(sock_, &read_set); 99 int result = TEMP_FAILURE_RETRY(select(sock_ + 1, &read_set, nullptr, nullptr, &timeout)); 136 return TEMP_FAILURE_RETRY(sendto(sock_, reinterpret_cast<const char*>(data), length, 0, 148 sock_, buffers.data(), buffers.size())) == static_cast<ssize_t>(total_length) [all...] |
socket.h | 109 // Blocks up to |timeout_ms| until a read is possible on |sock_|, and sets |receive_timed_out_| 111 // a subsequent recv() on |sock_| will complete without blocking or if |timeout_ms| <= 0. 114 cutils_socket_t sock_ = INVALID_SOCKET; member in class:Socket
|
/external/webrtc/talk/media/sctp/ |
sctpdataengine.cc | 370 sock_(NULL), 398 if (sock_) { 409 sock_ = usrsctp_socket(AF_CONN, SOCK_STREAM, IPPROTO_SCTP, 413 if (!sock_) { 420 if (usrsctp_set_non_blocking(sock_, 1) < 0) { 431 if (usrsctp_setsockopt(sock_, SOL_SOCKET, SO_LINGER, &linger_opt, 441 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_ENABLE_STREAM_RESET, 450 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_NODELAY, &nodelay, 461 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_PEER_ADDR_PARAMS, ¶ms, 479 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_EVENT, &event [all...] |
sctpdataengine.h | 186 const struct socket* socket() const { return sock_; } 201 // Sets sending_ to false and sock_ to NULL. 232 struct socket* sock_; // The socket created by usrsctp_socket(...). member in class:cricket::SctpDataMediaChannel
|
/system/connectivity/shill/net/ |
netlink_manager.cc | 211 sock_.reset(); 306 if (!sock_) { 307 sock_.reset(new NetlinkSocket); 308 if (!sock_) { 313 if (!sock_->Init()) { 330 return (sock_ ? sock_->file_descriptor() : Sockets::kInvalidFileDescriptor); 339 if (!sock_) { 382 int result = sock_->sockets()->Select(file_descriptor() + 1, 399 sock_->RecvMessage(&received) [all...] |
netlink_manager.h | 442 std::unique_ptr<NetlinkSocket> sock_; member in class:shill::NetlinkManager
|
netlink_manager_unittest.cc | 137 netlink_manager_->sock_.reset(netlink_socket_); // Passes ownership. [all...] |
/external/boringssl/src/crypto/bio/ |
bio_test.cc | 62 ScopedSocket(int sock) : sock_(sock) {} 64 closesocket(sock_); 68 const int sock_; member in class:ScopedSocket
|
/external/parameter-framework/asio-1.10.6/include/asio/ |
basic_socket.hpp | [all...] |
/external/boringssl/src/ssl/test/ |
bssl_shim.cc | 684 explicit SocketCloser(int sock) : sock_(sock) {} 690 shutdown(sock_, SD_SEND); 692 shutdown(sock_, SHUT_WR); 696 if (recv(sock_, buf, sizeof(buf), 0) <= 0) { 700 closesocket(sock_); 704 const int sock_; member in class:SocketCloser [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sys/ |
socket.h | 37 /* This operating system-specific header file defines the SOCK_*, PF_*,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
socket.h | 37 /* This operating system-specific header file defines the SOCK_*, PF_*,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
socket.h | 37 /* This operating system-specific header file defines the SOCK_*, PF_*,
|
/system/extras/tests/net_test/ |
sock_diag.py | 131 name = self._GetConstantName(__name__, command, "SOCK_")
|
/external/strace/ |
net.c | 788 printflags(sock_type_flags, flags, "SOCK_???"); 872 "SOCK_???"); [all...] |