/external/tensorflow/tensorflow/python/util/ |
D | tf_stack.cc | 113 PyGILState_STATE state = PyGILState_Ensure(); in StackFrameToString() 149 PyGILState_STATE state = PyGILState_Ensure(); in ToFrames() 164 PyGILState_STATE state = PyGILState_Ensure(); in LastUserFrame() 211 PyGILState_STATE state = PyGILState_Ensure(); in ~StackTraceWrapper()
|
D | stack_trace.h | 154 PyGILState_STATE gstate = PyGILState_Ensure(); in ManagedStackTraceToStackFrames()
|
/external/python/cpython3/Modules/_ssl/ |
D | debughelpers.c | 21 threadstate = PyGILState_Ensure(); in _PySSL_msg_callback() 126 threadstate = PyGILState_Ensure(); in _PySSL_keylog_callback()
|
/external/tensorflow/tensorflow/python/profiler/internal/ |
D | python_hooks.cc | 125 PyGILState_STATE gil_state = PyGILState_Ensure(); in Start() 159 PyGILState_STATE gil_state = PyGILState_Ensure(); in Stop() 210 PyGILState_STATE gil_state = PyGILState_Ensure(); in Finalize()
|
/external/python/cffi/cffi/ |
D | _embedding.h | 149 state = PyGILState_Ensure(); in _cffi_initialize_python() 301 state = PyGILState_Ensure(); in _cffi_carefully_make_gil()
|
/external/python/cpython3/Modules/ |
D | readline.c | 901 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_startup_hook() 916 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_pre_input_hook() 933 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion_display_matches_hook() 994 PyGILState_STATE gilstate = PyGILState_Ensure(); in on_completion() 1033 PyGILState_STATE gilstate = PyGILState_Ensure(); in flex_complete()
|
D | _tracemalloc.c | 769 gil_state = PyGILState_Ensure(); in tracemalloc_raw_alloc() 817 gil_state = PyGILState_Ensure(); in tracemalloc_raw_realloc() 1741 gil_state = PyGILState_Ensure(); in PyTraceMalloc_Track()
|
/external/python/cpython3/Include/ |
D | pystate.h | 120 PyAPI_FUNC(PyGILState_STATE) PyGILState_Ensure(void);
|
/external/python/cpython3/Modules/_ctypes/ |
D | callbacks.c | 147 PyGILState_STATE state = PyGILState_Ensure(); in _CallPythonObject() 543 state = PyGILState_Ensure(); in DllGetClassObject() 597 PyGILState_STATE state = PyGILState_Ensure(); in DllCanUnloadNow()
|
/external/python/cpython2/Modules/_ctypes/ |
D | callbacks.c | 222 PyGILState_STATE state = PyGILState_Ensure(); in _CallPythonObject() 584 state = PyGILState_Ensure(); in DllGetClassObject() 642 PyGILState_STATE state = PyGILState_Ensure(); in DllCanUnloadNow()
|
/external/python/cpython3/Modules/_sqlite/ |
D | connection.c | 598 threadstate = PyGILState_Ensure(); in _pysqlite_func_callback() 635 threadstate = PyGILState_Ensure(); in _pysqlite_step_callback() 696 threadstate = PyGILState_Ensure(); in _pysqlite_final_callback() 905 gilstate = PyGILState_Ensure(); in _authorizer_callback() 944 gilstate = PyGILState_Ensure(); in _progress_handler() 972 gilstate = PyGILState_Ensure(); in _trace_callback() 1379 gilstate = PyGILState_Ensure(); in pysqlite_collation_callback()
|
/external/python/cpython2/Modules/_sqlite/ |
D | connection.c | 661 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/cpython2/Include/ |
D | pystate.h | 160 PyAPI_FUNC(PyGILState_STATE) PyGILState_Ensure(void);
|
/external/python/cpython2/Modules/ |
D | readline.c | 727 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()
|
/external/llvm-project/lldb/unittests/ScriptInterpreter/Python/ |
D | PythonTestSuite.cpp | 40 m_gil_state = PyGILState_Ensure(); in SetUp()
|
/external/python/cffi/c/ |
D | misc_thread_common.h | 352 result = PyGILState_Ensure(); in gil_ensure()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | socket_connection.c | 34 state = PyGILState_Ensure(); in check_signals()
|
/external/python/cpython2/Doc/c-api/ |
D | init.rst | 451 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/tensorflow/tensorflow/python/lib/core/ |
D | py_func.cc | 358 py_threadstate = PyGILState_Ensure(); in Compute()
|
/external/python/cpython3/Doc/c-api/ |
D | init.rst | 752 The :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release` functions do 757 gstate = PyGILState_Ensure(); 915 .. c:function:: PyGILState_STATE PyGILState_Ensure() 921 thread-related APIs may be used between :c:func:`PyGILState_Ensure` and 928 :c:func:`PyGILState_Ensure` was called, and must be passed to 931 unique call to :c:func:`PyGILState_Ensure` must save the handle for its call 947 be the same as it was prior to the corresponding :c:func:`PyGILState_Ensure` call 951 Every call to :c:func:`PyGILState_Ensure` must be matched by a call to 1205 :c:func:`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`, 1243 :c:func:`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`, [all …]
|
/external/python/cpython2/Python/ |
D | pystate.c | 587 PyGILState_Ensure(void) in PyGILState_Ensure() function
|
/external/python/pybind11/include/pybind11/detail/ |
D | internals.h | 264 gil_scoped_acquire_local() : state (PyGILState_Ensure()) {} in get_internals()
|
/external/python/cpython3/Programs/ |
D | _testembed.c | 66 gilstate = PyGILState_Ensure(); in test_repeated_init_and_subinterpreters() 235 PyGILState_STATE state = PyGILState_Ensure(); in bpo20891_thread()
|
/external/python/cpython3/PC/ |
D | python3.def | 272 PyGILState_Ensure=python39.PyGILState_Ensure
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.4rc1.rst | 1105 Fix PyGILState_Ensure(). When PyGILState_Ensure() is called in a non-Python
|