Home
last modified time | relevance | path

Searched refs:PyGILState_STATE (Results 1 – 25 of 26) sorted by relevance

12

/external/python/cpython2/Include/
Dpystate.h137 PyGILState_STATE; typedef
160 PyAPI_FUNC(PyGILState_STATE) PyGILState_Ensure(void);
170 PyAPI_FUNC(void) PyGILState_Release(PyGILState_STATE);
/external/python/cpython3/Include/
Dpystate.h220 PyGILState_STATE; typedef
245 PyAPI_FUNC(PyGILState_STATE) PyGILState_Ensure(void);
255 PyAPI_FUNC(void) PyGILState_Release(PyGILState_STATE);
/external/tensorflow/tensorflow/python/grappler/
Dcluster.i158 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_NewVirtualCluster()
166 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_ShutdownCluster()
192 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_ListDevices()
266 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_GetSupportedDevices()
340 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_MeasureCosts()
399 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_DeterminePeakMemoryUsage()
Ditem.i148 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_GetOpProperties()
286 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_GetColocationGroups()
/external/python/cpython3/Modules/_sqlite/
Dconnection.c597 PyGILState_STATE threadstate; in _pysqlite_func_callback()
638 PyGILState_STATE threadstate; in _pysqlite_step_callback()
703 PyGILState_STATE threadstate; in _pysqlite_final_callback()
889 PyGILState_STATE gilstate; in _authorizer_callback()
932 PyGILState_STATE gilstate; in _progress_handler()
964 PyGILState_STATE gilstate; in _trace_callback()
1370 PyGILState_STATE gilstate; in pysqlite_collation_callback()
/external/python/cpython3/Modules/
Dreadline.c901 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_startup_hook()
920 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_pre_input_hook()
941 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion_display_matches_hook()
1007 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion()
1050 PyGILState_STATE gilstate = PyGILState_Ensure(); in flex_complete()
D_tracemalloc.c843 PyGILState_STATE gil_state; in tracemalloc_raw_alloc()
891 PyGILState_STATE gil_state; in tracemalloc_raw_realloc()
1770 PyGILState_STATE gil_state; in _PyTraceMalloc_Track()
D_testcapimodule.c2227 PyGILState_STATE s = PyGILState_Ensure(); in _make_call()
3489 PyGILState_STATE state; in temporary_c_thread()
D_ssl.c3748 PyGILState_STATE gstate = PyGILState_Ensure(); in _servername_callback()
/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c141 PyGILState_STATE state = PyGILState_Ensure(); in _CallPythonObject()
499 PyGILState_STATE state; in DllGetClassObject()
562 PyGILState_STATE state = PyGILState_Ensure(); in DllCanUnloadNow()
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c222 PyGILState_STATE state = PyGILState_Ensure(); in _CallPythonObject()
579 PyGILState_STATE state; in DllGetClassObject()
642 PyGILState_STATE state = PyGILState_Ensure(); in DllCanUnloadNow()
/external/python/cpython3/Programs/
D_testembed.c40 PyGILState_STATE gilstate; in test_repeated_init_and_subinterpreters()
/external/python/cpython2/Modules/_sqlite/
Dconnection.c659 PyGILState_STATE threadstate; in _pysqlite_func_callback()
700 PyGILState_STATE threadstate; in _pysqlite_step_callback()
762 PyGILState_STATE threadstate; in _pysqlite_final_callback()
932 PyGILState_STATE gilstate; in _authorizer_callback()
968 PyGILState_STATE gilstate; in _progress_handler()
1353 PyGILState_STATE gilstate; in pysqlite_collation_callback()
/external/python/cpython2/Modules/
Dreadline.c727 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_hook()
786 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion_display_matches_hook()
852 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion()
D_testcapimodule.c1869 PyGILState_STATE s = PyGILState_Ensure(); in _make_call()
2253 PyGILState_STATE state; in temporary_c_thread()
Dposixmodule.c5094 PyGILState_STATE state; in _PyPclose()
5847 PyGILState_STATE state; in _PyPclose()
D_ssl.c3130 PyGILState_STATE gstate = PyGILState_Ensure(); in _servername_callback()
/external/python/cpython2/Python/
Dpystate.c586 PyGILState_STATE
622 PyGILState_Release(PyGILState_STATE oldstate) in PyGILState_Release()
/external/python/cpython2/Modules/_multiprocessing/
Dsocket_connection.c32 PyGILState_STATE state; in check_signals()
/external/python/cpython3/Python/
Dpystate.c819 PyGILState_STATE
860 PyGILState_Release(PyGILState_STATE oldstate) in PyGILState_Release()
/external/tensorflow/tensorflow/python/lib/core/
Dpy_func.cc468 PyGILState_STATE py_threadstate; in Compute()
/external/python/cpython3/Doc/c-api/
Dinit.rst537 PyGILState_STATE gstate;
686 .. c:function:: PyGILState_STATE PyGILState_Ensure()
709 .. c:function:: void PyGILState_Release(PyGILState_STATE)
/external/python/cpython2/Doc/c-api/
Dinit.rst455 PyGILState_STATE gstate;
607 .. c:function:: PyGILState_STATE PyGILState_Ensure()
632 .. c:function:: void PyGILState_Release(PyGILState_STATE)
/external/python/cpython3/Objects/
Dobject.c432 PyGILState_STATE gil; in _PyObject_Dump()
/external/python/cpython2/Objects/
Dobject.c341 PyGILState_STATE gil; in _PyObject_Dump()

12