Home
last modified time | relevance | path

Searched refs:PyGILState_Ensure (Results 1 – 25 of 36) sorted by relevance

12

/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/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.c853 gil_state = PyGILState_Ensure(); in tracemalloc_raw_alloc()
901 gil_state = PyGILState_Ensure(); in tracemalloc_raw_realloc()
1695 gil_state = PyGILState_Ensure(); in PyTraceMalloc_Track()
/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c140 PyGILState_STATE state = PyGILState_Ensure(); in _CallPythonObject()
494 state = PyGILState_Ensure(); in DllGetClassObject()
548 PyGILState_STATE state = PyGILState_Ensure(); in DllCanUnloadNow()
/external/python/cpython3/Modules/_sqlite/
Dconnection.c604 threadstate = PyGILState_Ensure(); in _pysqlite_func_callback()
641 threadstate = PyGILState_Ensure(); in _pysqlite_step_callback()
702 threadstate = PyGILState_Ensure(); in _pysqlite_final_callback()
879 gilstate = PyGILState_Ensure(); in _authorizer_callback()
918 gilstate = PyGILState_Ensure(); in _progress_handler()
946 gilstate = PyGILState_Ensure(); in _trace_callback()
1351 gilstate = PyGILState_Ensure(); in pysqlite_collation_callback()
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c222 PyGILState_STATE state = PyGILState_Ensure(); in _CallPythonObject()
584 state = PyGILState_Ensure(); in DllGetClassObject()
642 PyGILState_STATE state = PyGILState_Ensure(); in DllCanUnloadNow()
/external/python/cpython2/Modules/_sqlite/
Dconnection.c661 threadstate = PyGILState_Ensure(); in _pysqlite_func_callback()
702 threadstate = PyGILState_Ensure(); in _pysqlite_step_callback()
764 threadstate = PyGILState_Ensure(); in _pysqlite_final_callback()
934 gilstate = PyGILState_Ensure(); in _authorizer_callback()
970 gilstate = PyGILState_Ensure(); in _progress_handler()
1359 gilstate = PyGILState_Ensure(); in pysqlite_collation_callback()
/external/python/cpython3/Programs/
D_testembed.c58 gilstate = PyGILState_Ensure(); in test_repeated_init_and_subinterpreters()
224 PyGILState_STATE state = PyGILState_Ensure(); in bpo20891_thread()
/external/python/cpython2/Include/
Dpystate.h160 PyAPI_FUNC(PyGILState_STATE) PyGILState_Ensure(void);
/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()
2357 state = PyGILState_Ensure(); in temporary_c_thread()
/external/python/cpython2/Modules/_multiprocessing/
Dsocket_connection.c34 state = PyGILState_Ensure(); in check_signals()
/external/python/cpython3/Include/
Dpystate.h397 PyAPI_FUNC(PyGILState_STATE) PyGILState_Ensure(void);
/external/python/cpython2/Doc/c-api/
Dinit.rst451 The :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release` functions do
456 gstate = PyGILState_Ensure();
607 .. c:function:: PyGILState_STATE PyGILState_Ensure()
613 thread-related APIs may be used between :c:func:`PyGILState_Ensure` and
620 :c:func:`PyGILState_Ensure` was called, and must be passed to
623 unique call to :c:func:`PyGILState_Ensure` must save the handle for its call
635 be the same as it was prior to the corresponding :c:func:`PyGILState_Ensure` call
639 Every call to :c:func:`PyGILState_Ensure` must be matched by a call to
901 of matching :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release` calls.
/external/python/cpython3/Doc/c-api/
Dinit.rst744 The :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release` functions do
749 gstate = PyGILState_Ensure();
883 .. c:function:: PyGILState_STATE PyGILState_Ensure()
889 thread-related APIs may be used between :c:func:`PyGILState_Ensure` and
896 :c:func:`PyGILState_Ensure` was called, and must be passed to
899 unique call to :c:func:`PyGILState_Ensure` must save the handle for its call
909 be the same as it was prior to the corresponding :c:func:`PyGILState_Ensure` call
913 Every call to :c:func:`PyGILState_Ensure` must be matched by a call to
1190 of matching :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release` calls.
/external/python/cpython2/Python/
Dpystate.c587 PyGILState_Ensure(void) in PyGILState_Ensure() function
/external/tensorflow/tensorflow/python/lib/core/
Dpy_func.cc524 py_threadstate = PyGILState_Ensure(); in Compute()
/external/python/cpython3/PC/
Dpython3.def272 PyGILState_Ensure=python37.PyGILState_Ensure
/external/python/cpython3/Misc/NEWS.d/
D3.6.4rc1.rst1115 Fix PyGILState_Ensure(). When PyGILState_Ensure() is called in a non-Python
D3.7.0a3.rst1582 Fix PyGILState_Ensure(). When PyGILState_Ensure() is called in a non-Python
D3.7.0b1.rst184 demand" to fix a race condition when PyGILState_Ensure() is called in a
/external/python/cpython3/Python/
Dpystate.c1035 PyGILState_Ensure(void) in PyGILState_Ensure() function
/external/python/cpython2/PC/os2emx/
Dpython27.def1030 "PyGILState_Ensure"
/external/python/cpython2/Misc/NEWS.d/
D2.7.15rc1.rst1670 Fix PyGILState_Ensure(). When PyGILState_Ensure() is called in a non-Python

12