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()
219 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_ListAvailableOps() local
224 PyGILState_Release(gstate); in TF_ListAvailableOps()
273 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_GetSupportedDevices() local
304 PyGILState_Release(gstate); in TF_GetSupportedDevices()
[all …]
Ditem.i134 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_IdentifyImportantOps() local
139 PyGILState_Release(gstate); in TF_IdentifyImportantOps()
153 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_GetOpProperties() local
169 PyGILState_Release(gstate); in TF_GetOpProperties()
290 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_GetColocationGroups() local
301 PyGILState_Release(gstate); in TF_GetColocationGroups()
/external/python/cpython2/Modules/
D_ssl.c3225 PyGILState_STATE gstate = PyGILState_Ensure(); in _servername_callback() local
3232 PyGILState_Release(gstate); in _servername_callback()
3293 PyGILState_Release(gstate); in _servername_callback()
3302 PyGILState_Release(gstate); in _servername_callback()
/external/python/cpython3/Modules/
D_ssl.c4291 PyGILState_STATE gstate = PyGILState_Ensure(); in _servername_callback() local
4296 PyGILState_Release(gstate); in _servername_callback()
4373 PyGILState_Release(gstate); in _servername_callback()
4380 PyGILState_Release(gstate); in _servername_callback()
/external/python/cpython2/Doc/c-api/
Dinit.rst455 PyGILState_STATE gstate;
456 gstate = PyGILState_Ensure();
463 PyGILState_Release(gstate);
/external/python/cpython3/Doc/c-api/
Dinit.rst748 PyGILState_STATE gstate;
749 gstate = PyGILState_Ensure();
756 PyGILState_Release(gstate);