Searched refs:kOn (Results 1 – 4 of 4) sorted by relevance
/external/mdnsresponder/mDNSPosix/ |
D | mDNSPosix.c | 628 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/ |
D | DirectiveHandler.cpp | 62 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/ |
D | dashing.cpp | 436 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/ |
D | dnsextd.c | 1159 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()
|