Home
last modified time | relevance | path

Searched refs:gstate (Results 1 – 2 of 2) sorted by relevance

/external/toybox/toys/pending/
Ddhcpd.c325 static server_state_t gstate; variable
683 sltmp->next = gstate.leases.sleases; in get_staticlease()
684 gstate.leases.sleases = sltmp; in get_staticlease()
778 if (gstate.listensock > 0) close(gstate.listensock); in open_listensock6()
782 gstate.listensock = xsocket(PF_INET6, SOCK_DGRAM, 0); in open_listensock6()
783 setsockopt(gstate.listensock, SOL_SOCKET, SO_REUSEADDR, &constone, sizeof(constone)); in open_listensock6()
784 setsockopt(gstate.listensock, IPPROTO_IPV6, IPV6_CHECKSUM, &constone, sizeof(constone)); in open_listensock6()
786 if (setsockopt(gstate.listensock, IPPROTO_IPV6, IPV6_RECVPKTINFO, &constone, in open_listensock6()
789 close(gstate.listensock); in open_listensock6()
793 …setsockopt(gstate.listensock, SOL_SOCKET, SO_BINDTODEVICE, gconfig.interface, strlen(gconfig.inter… in open_listensock6()
[all …]
/external/opencv3/modules/python/src2/
Dcv2.cpp1122 PyGILState_STATE gstate; in OnMouse() local
1123 gstate = PyGILState_Ensure(); in OnMouse()
1134 PyGILState_Release(gstate); in OnMouse()
1161 PyGILState_STATE gstate; in OnChange() local
1162 gstate = PyGILState_Ensure(); in OnChange()
1170 PyGILState_Release(gstate); in OnChange()