Home
last modified time | relevance | path

Searched refs:gstate (Results 1 – 7 of 7) 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/tensorflow/tensorflow/python/grappler/
Dcluster.i158 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_NewVirtualCluster() local
160 PyGILState_Release(gstate); in TF_NewVirtualCluster()
166 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_ShutdownCluster() local
168 PyGILState_Release(gstate); in TF_ShutdownCluster()
192 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_ListDevices() local
205 PyGILState_Release(gstate); in TF_ListDevices()
266 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_GetSupportedDevices() local
297 PyGILState_Release(gstate); in TF_GetSupportedDevices()
340 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_MeasureCosts() local
371 PyGILState_Release(gstate); in TF_MeasureCosts()
[all …]
Ditem.i148 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_GetOpProperties() local
164 PyGILState_Release(gstate); in TF_GetOpProperties()
286 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_GetColocationGroups() local
297 PyGILState_Release(gstate); in TF_GetColocationGroups()
/external/python/cpython2/Modules/
D_ssl.c3130 PyGILState_STATE gstate = PyGILState_Ensure(); in _servername_callback() local
3137 PyGILState_Release(gstate); in _servername_callback()
3198 PyGILState_Release(gstate); in _servername_callback()
3207 PyGILState_Release(gstate); in _servername_callback()
/external/python/cpython3/Modules/
D_ssl.c3748 PyGILState_STATE gstate = PyGILState_Ensure(); in _servername_callback() local
3755 PyGILState_Release(gstate); in _servername_callback()
3826 PyGILState_Release(gstate); in _servername_callback()
3835 PyGILState_Release(gstate); in _servername_callback()
/external/python/cpython3/Doc/c-api/
Dinit.rst537 PyGILState_STATE gstate;
538 gstate = PyGILState_Ensure();
545 PyGILState_Release(gstate);
/external/python/cpython2/Doc/c-api/
Dinit.rst455 PyGILState_STATE gstate;
456 gstate = PyGILState_Ensure();
463 PyGILState_Release(gstate);