Home
last modified time | relevance | path

Searched refs:SO_NOSIGPIPE (Results 1 – 18 of 18) 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/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/libpcap/
Dsockutils.c323 #if defined(SO_NOSIGPIPE) || defined(IPV6_V6ONLY) || defined(IPV6_BINDV6ONLY)
340 #ifdef SO_NOSIGPIPE
341 if (setsockopt(sock, SOL_SOCKET, SO_NOSIGPIPE, (char *)&on,
/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/libcups/cups/
Dhttp-addr.c265 #ifdef SO_NOSIGPIPE in httpAddrListen()
271 setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, CUPS_SOCAST &val, sizeof(val)); in httpAddrListen()
Dhttp-addrlist.c163 #ifdef SO_NOSIGPIPE in httpAddrConnect2()
165 setsockopt(fds[nfds], SOL_SOCKET, SO_NOSIGPIPE, CUPS_SOCAST &val, sizeof(val)); in httpAddrConnect2()
Dhttp.c175 #ifdef SO_NOSIGPIPE in httpAcceptConnection()
181 setsockopt(http->fd, SOL_SOCKET, SO_NOSIGPIPE, CUPS_SOCAST &val, sizeof(val)); in httpAcceptConnection()
1555 #elif !defined(SO_NOSIGPIPE) in httpInitialize()
/external/curl/lib/
Dconnect.c88 #undef SO_NOSIGPIPE
1018 #ifdef SO_NOSIGPIPE
1028 if(setsockopt(sockfd, SOL_SOCKET, SO_NOSIGPIPE, (void *)&onoff, in nosigpipe()
/external/honggfuzz/libhfcommon/
Dfiles.c184 sendFlags |= SO_NOSIGPIPE; in files_sendToSocket()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientstub.c492 #ifdef SO_NOSIGPIPE in ConnectToServer()
504 #ifdef SO_NOSIGPIPE in ConnectToServer()
506 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.cc213 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/rust/crates/libc/src/unix/bsd/freebsdlike/
Dmod.rs754 pub const SO_NOSIGPIPE: ::c_int = 0x0800; constant
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs2257 pub const SO_NOSIGPIPE: ::c_int = 0x1022; constant