Home
last modified time | relevance | path

Searched refs:SO_NOSIGPIPE (Results 1 – 22 of 22) sorted by relevance

/external/libchrome/base/posix/
Dunix_domain_socket.cc45 if (setsockopt(raw_socks[0], SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe, in CreateSocketPair()
48 if (setsockopt(raw_socks[1], SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe, in CreateSocketPair()
104 DPCHECK(getsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe, in SendMsg()
Dunix_domain_socket_unittest.cc43 ASSERT_EQ(0, setsockopt(fds[0], SOL_SOCKET, SO_NOSIGPIPE, &nosigpipe, in CreateSocketPair()
45 ASSERT_EQ(0, setsockopt(fds[1], SOL_SOCKET, SO_NOSIGPIPE, &nosigpipe, in CreateSocketPair()
/external/libchrome/base/
Dsync_socket_posix.cc86 if (0 != setsockopt(handles[0], SOL_SOCKET, SO_NOSIGPIPE, in CreatePair()
88 0 != setsockopt(handles[1], SOL_SOCKET, SO_NOSIGPIPE, in CreatePair()
/external/libwebsockets/lib/plat/unix/
Dprivate-lib-plat-unix.h176 #define MSG_NOSIGNAL SO_NOSIGPIPE
/external/libchrome/mojo/public/cpp/platform/
Dplatform_channel.cc132 PCHECK(setsockopt(fds[0], SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe,
134 PCHECK(setsockopt(fds[1], SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe,
/external/grpc-grpc/src/core/lib/iomgr/
Dsocket_utils_common_posix.cc75 if (0 != setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &val, sizeof(val))) { in grpc_set_socket_no_sigpipe_if_possible()
78 if (0 != getsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &newval, &intlen)) { in grpc_set_socket_no_sigpipe_if_possible()
/external/libpcap/
Dsockutils.c318 #if defined(SO_NOSIGPIPE) || defined(IPV6_V6ONLY) || defined(IPV6_BINDV6ONLY) in sock_open()
335 #ifdef SO_NOSIGPIPE in sock_open()
336 if (setsockopt(sock, SOL_SOCKET, SO_NOSIGPIPE, (char *)&on, in sock_open()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dsocket_utils_common_posix.cc94 if (0 != setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &val, sizeof(val))) { in grpc_set_socket_no_sigpipe_if_possible()
97 if (0 != getsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &newval, &intlen)) { in grpc_set_socket_no_sigpipe_if_possible()
/external/rust/crates/mio/src/sys/unix/
Dnet.rs37 libc::SO_NOSIGPIPE, in new_socket()
/external/libcups/cups/
Dhttp-addr.c263 #ifdef SO_NOSIGPIPE in httpAddrListen()
269 setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, CUPS_SOCAST &val, sizeof(val)); in httpAddrListen()
Dhttp-addrlist.c159 #ifdef SO_NOSIGPIPE in httpAddrConnect2()
161 setsockopt(fds[nfds], SOL_SOCKET, SO_NOSIGPIPE, CUPS_SOCAST &val, sizeof(val)); in httpAddrConnect2()
Dhttp.c171 #ifdef SO_NOSIGPIPE in httpAcceptConnection()
177 setsockopt(http->fd, SOL_SOCKET, SO_NOSIGPIPE, CUPS_SOCAST &val, sizeof(val)); in httpAcceptConnection()
1510 #elif !defined(SO_NOSIGPIPE) in httpInitialize()
/external/curl/lib/
Dconnect.c1040 #ifdef SO_NOSIGPIPE
1050 if(setsockopt(sockfd, SOL_SOCKET, SO_NOSIGPIPE, (void *)&onoff, in nosigpipe()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientstub.c499 #ifdef SO_NOSIGPIPE in ConnectToServer()
511 #ifdef SO_NOSIGPIPE in ConnectToServer()
513 if (setsockopt(sdr->sockfd, SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval)) < 0) in ConnectToServer()
Duds_daemon.c3888 #if defined(SO_NOSIGPIPE) || defined(_WIN32) in connect_callback()
3901 #ifdef SO_NOSIGPIPE in connect_callback()
3903 if (setsockopt(sd, SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval)) < 0) in connect_callback()
/external/rust/crates/libc/src/unix/newlib/
Dmod.rs460 pub const SO_NOSIGPIPE: ::c_int = 0x0800; constant
/external/perfetto/src/base/
Dunix_socket.cc278 setsockopt(*fd_, SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe, sizeof(no_sigpipe)); in UnixSocketRaw()
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dsocket_ops.ipp96 SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval)), ec);
1016 SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval)), ec);
/external/webrtc/rtc_base/
Dphysical_socket_server.cc638 ::setsockopt(s_, SOL_SOCKET, SO_NOSIGPIPE, &value, sizeof(value)); in Initialize()
/external/rust/crates/mio/
DCHANGELOG.md165 * Set `SO_NOSIGPIPE` on all sockets (not just UDP) on for Apple targets
/external/rust/crates/libc/src/unix/bsd/freebsdlike/
Dmod.rs942 pub const SO_NOSIGPIPE: ::c_int = 0x0800; constant
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs2474 pub const SO_NOSIGPIPE: ::c_int = 0x1022; constant