Home
last modified time | relevance | path

Searched refs:kOn (Results 1 – 4 of 4) sorted by relevance

/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c628 static const int kOn = 1; in SetupSocket() local
651 err = setsockopt(*sktPtr, SOL_SOCKET, SO_REUSEPORT, &kOn, sizeof(kOn)); in SetupSocket()
653 err = setsockopt(*sktPtr, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSocket()
668 err = setsockopt(*sktPtr, IPPROTO_IP, IP_PKTINFO, &kOn, sizeof(kOn)); in SetupSocket()
672 err = setsockopt(*sktPtr, IPPROTO_IP, IP_RECVDSTADDR, &kOn, sizeof(kOn)); in SetupSocket()
678 err = setsockopt(*sktPtr, IPPROTO_IP, IP_RECVIF, &kOn, sizeof(kOn)); in SetupSocket()
689 setsockopt(*sktPtr, IPPROTO_IP, IP_RECVTTL, &kOn, sizeof(kOn)); in SetupSocket()
746 err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_2292_PKTINFO, &kOn, sizeof(kOn)); in SetupSocket()
755 err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_2292_HOPLIMIT, &kOn, sizeof(kOn)); in SetupSocket()
787 err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_V6ONLY, &kOn, sizeof(kOn)); in SetupSocket()
/external/swiftshader/src/OpenGL/compiler/
DDirectiveHandler.cpp62 static const std::string kOn("on"); in handlePragma() local
74 if (value == kOn) mPragma.optimize = true; in handlePragma()
80 if (value == kOn) mPragma.debug = true; in handlePragma()
/external/skia/gm/
Ddashing.cpp436 constexpr int kOn = 4; in onDraw() local
438 constexpr int kIntervalLength = kOn + kOff; in onDraw()
469 drawline(canvas, kOn, kOff, paint, in onDraw()
480 drawline(canvas, kOn, kOff, paint, in onDraw()
/external/mdnsresponder/mDNSShared/
Ddnsextd.c1159 static const int kOn = 1; in SetupSockets() local
1172 err = setsockopt(self->tcpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()
1186 err = setsockopt(self->udpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()
1211 err = setsockopt(self->llq_tcpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()
1225 err = setsockopt(self->llq_udpsd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()
1254 err = setsockopt(self->tlssd, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); in SetupSockets()