Home
last modified time | relevance | path

Searched refs:PyGILState_STATE (Results 1 – 25 of 27) 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/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()
219 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_ListAvailableOps()
273 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_GetSupportedDevices()
348 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_MeasureCosts()
407 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_DeterminePeakMemoryUsage()
Ditem.i134 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_IdentifyImportantOps()
153 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_GetOpProperties()
290 PyGILState_STATE gstate = PyGILState_Ensure(); in TF_GetColocationGroups()
/external/python/cpython3/Include/
Dpystate.h373 PyGILState_STATE; typedef
397 PyAPI_FUNC(PyGILState_STATE) PyGILState_Ensure(void);
407 PyAPI_FUNC(void) PyGILState_Release(PyGILState_STATE);
/external/python/cpython3/Modules/
Dreadline.c899 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_startup_hook()
914 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_pre_input_hook()
931 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion_display_matches_hook()
992 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion()
1031 PyGILState_STATE gilstate = PyGILState_Ensure(); in flex_complete()
D_tracemalloc.c837 PyGILState_STATE gil_state; in tracemalloc_raw_alloc()
879 PyGILState_STATE gil_state; in tracemalloc_raw_realloc()
1688 PyGILState_STATE gil_state; in PyTraceMalloc_Track()
D_testcapimodule.c2349 PyGILState_STATE s = PyGILState_Ensure(); in _make_call()
3757 PyGILState_STATE state; in temporary_c_thread()
/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c140 PyGILState_STATE state = PyGILState_Ensure(); in _CallPythonObject()
491 PyGILState_STATE state; in DllGetClassObject()
548 PyGILState_STATE state = PyGILState_Ensure(); in DllCanUnloadNow()
/external/python/cpython3/Modules/_sqlite/
Dconnection.c602 PyGILState_STATE threadstate; in _pysqlite_func_callback()
639 PyGILState_STATE threadstate; in _pysqlite_step_callback()
700 PyGILState_STATE threadstate; in _pysqlite_final_callback()
877 PyGILState_STATE gilstate; in _authorizer_callback()
916 PyGILState_STATE gilstate; in _progress_handler()
944 PyGILState_STATE gilstate; in _trace_callback()
1347 PyGILState_STATE gilstate; in pysqlite_collation_callback()
/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/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/cpython3/Programs/
D_testembed.c47 PyGILState_STATE gilstate; in test_repeated_init_and_subinterpreters()
224 PyGILState_STATE state = PyGILState_Ensure(); in bpo20891_thread()
/external/python/cpython2/Python/
Dpystate.c586 PyGILState_STATE
638 PyGILState_Release(PyGILState_STATE oldstate) in PyGILState_Release()
/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.c1966 PyGILState_STATE s = PyGILState_Ensure(); in _make_call()
2351 PyGILState_STATE state; in temporary_c_thread()
Dposixmodule.c5118 PyGILState_STATE state; in _PyPclose()
5871 PyGILState_STATE state; in _PyPclose()
D_ssl.c3225 PyGILState_STATE gstate = PyGILState_Ensure(); in _servername_callback()
/external/python/cpython2/Modules/_multiprocessing/
Dsocket_connection.c32 PyGILState_STATE state; in check_signals()
/external/python/cpython3/Python/
Dpystate.c1034 PyGILState_STATE
1088 PyGILState_Release(PyGILState_STATE oldstate) in PyGILState_Release()
/external/tensorflow/tensorflow/python/lib/core/
Dpy_func.cc523 PyGILState_STATE py_threadstate; in Compute()
/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/Doc/c-api/
Dinit.rst748 PyGILState_STATE gstate;
883 .. c:function:: PyGILState_STATE PyGILState_Ensure()
906 .. c:function:: void PyGILState_Release(PyGILState_STATE)
/external/python/cpython3/Objects/
Dobject.c456 PyGILState_STATE gil; in _PyObject_Dump()
/external/python/cpython2/Objects/
Dobject.c341 PyGILState_STATE gil; in _PyObject_Dump()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc3107 PyGILState_STATE py_threadstate;

12