Home
last modified time | relevance | path

Searched refs:kOn (Results 1 – 5 of 5) 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.cpp63 static const char kOn[] = "on"; in handlePragma() local
75 if (value == kOn) mPragma.optimize = true; in handlePragma()
81 if (value == kOn) mPragma.debug = true; in handlePragma()
/external/skqp/gm/
Ddashing.cpp446 constexpr int kOn = 4; in onDraw() local
448 constexpr int kIntervalLength = kOn + kOff; in onDraw()
479 drawline(canvas, kOn, kOff, paint, in onDraw()
490 drawline(canvas, kOn, kOff, paint, in onDraw()
/external/skia/gm/
Ddashing.cpp446 constexpr int kOn = 4; in onDraw() local
448 constexpr int kIntervalLength = kOn + kOff; in onDraw()
479 drawline(canvas, kOn, kOff, paint, in onDraw()
490 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()