Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/util/
Dtf_stack.cc113 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()
Dstack_trace.h154 PyGILState_STATE gstate = PyGILState_Ensure(); in ManagedStackTraceToStackFrames()
/external/python/cpython3/Modules/_ssl/
Ddebughelpers.c21 threadstate = PyGILState_Ensure(); in _PySSL_msg_callback()
126 threadstate = PyGILState_Ensure(); in _PySSL_keylog_callback()
/external/tensorflow/tensorflow/python/profiler/internal/
Dpython_hooks.cc125 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.h149 state = PyGILState_Ensure(); in _cffi_initialize_python()
301 state = PyGILState_Ensure(); in _cffi_carefully_make_gil()
/external/python/cpython3/Modules/
Dreadline.c901 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.c769 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/
Dpystate.h120 PyAPI_FUNC(PyGILState_STATE) PyGILState_Ensure(void);
/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c147 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/
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/cpython3/Modules/_sqlite/
Dconnection.c598 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/
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/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()
/external/llvm-project/lldb/unittests/ScriptInterpreter/Python/
DPythonTestSuite.cpp40 m_gil_state = PyGILState_Ensure(); in SetUp()
/external/python/cffi/c/
Dmisc_thread_common.h352 result = PyGILState_Ensure(); in gil_ensure()
/external/python/cpython2/Modules/_multiprocessing/
Dsocket_connection.c34 state = PyGILState_Ensure(); in check_signals()
/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/tensorflow/tensorflow/python/lib/core/
Dpy_func.cc358 py_threadstate = PyGILState_Ensure(); in Compute()
/external/python/cpython3/Doc/c-api/
Dinit.rst752 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/
Dpystate.c587 PyGILState_Ensure(void) in PyGILState_Ensure() function
/external/python/pybind11/include/pybind11/detail/
Dinternals.h264 gil_scoped_acquire_local() : state (PyGILState_Ensure()) {} in get_internals()
/external/python/cpython3/Programs/
D_testembed.c66 gilstate = PyGILState_Ensure(); in test_repeated_init_and_subinterpreters()
235 PyGILState_STATE state = PyGILState_Ensure(); in bpo20891_thread()
/external/python/cpython3/PC/
Dpython3.def272 PyGILState_Ensure=python39.PyGILState_Ensure
/external/python/cpython3/Misc/NEWS.d/
D3.6.4rc1.rst1105 Fix PyGILState_Ensure(). When PyGILState_Ensure() is called in a non-Python

12