Home
last modified time | relevance | path

Searched refs:no_sigpipe (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/posix/
Dunix_domain_socket.cc44 const int no_sigpipe = 1; in CreateSocketPair() local
45 if (setsockopt(raw_socks[0], SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe, in CreateSocketPair()
46 sizeof(no_sigpipe)) != 0) in CreateSocketPair()
48 if (setsockopt(raw_socks[1], SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe, in CreateSocketPair()
49 sizeof(no_sigpipe)) != 0) in CreateSocketPair()
102 int no_sigpipe = 0; in SendMsg() local
103 socklen_t no_sigpipe_len = sizeof(no_sigpipe); in SendMsg()
104 DPCHECK(getsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe, in SendMsg()
107 DCHECK(no_sigpipe) << "SO_NOSIGPIPE not set on the socket."; in SendMsg()
/external/libchrome/mojo/public/cpp/platform/
Dplatform_channel.cc131 int no_sigpipe = 1;
132 PCHECK(setsockopt(fds[0], SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe,
133 sizeof(no_sigpipe)) == 0);
134 PCHECK(setsockopt(fds[1], SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe,
135 sizeof(no_sigpipe)) == 0);
/external/perfetto/src/base/
Dunix_socket.cc277 const int no_sigpipe = 1; in UnixSocketRaw() local
278 setsockopt(*fd_, SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe, sizeof(no_sigpipe)); in UnixSocketRaw()