Home
last modified time | relevance | path

Searched refs:Py_tss_t (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Include/
Dpythread.h123 typedef struct _Py_tss_t Py_tss_t; /* opaque */ typedef
154 PyAPI_FUNC(Py_tss_t *) PyThread_tss_alloc(void);
155 PyAPI_FUNC(void) PyThread_tss_free(Py_tss_t *key);
158 PyAPI_FUNC(int) PyThread_tss_is_created(Py_tss_t *key);
159 PyAPI_FUNC(int) PyThread_tss_create(Py_tss_t *key);
160 PyAPI_FUNC(void) PyThread_tss_delete(Py_tss_t *key);
161 PyAPI_FUNC(int) PyThread_tss_set(Py_tss_t *key, void *value);
162 PyAPI_FUNC(void *) PyThread_tss_get(Py_tss_t *key);
/external/python/cpython3/Python/
Dthread.c140 Py_tss_t *
143 Py_tss_t *new_key = (Py_tss_t *)PyMem_RawMalloc(sizeof(Py_tss_t)); in PyThread_tss_alloc()
152 PyThread_tss_free(Py_tss_t *key) in PyThread_tss_free()
161 PyThread_tss_is_created(Py_tss_t *key) in PyThread_tss_is_created()
Dthread_nt.h451 PyThread_tss_create(Py_tss_t *key) in PyThread_tss_create()
470 PyThread_tss_delete(Py_tss_t *key) in PyThread_tss_delete()
484 PyThread_tss_set(Py_tss_t *key, void *value) in PyThread_tss_set()
492 PyThread_tss_get(Py_tss_t *key) in PyThread_tss_get()
Dthread_pthread.h886 PyThread_tss_create(Py_tss_t *key) in PyThread_tss_create()
903 PyThread_tss_delete(Py_tss_t *key) in PyThread_tss_delete()
917 PyThread_tss_set(Py_tss_t *key, void *value) in PyThread_tss_set()
925 PyThread_tss_get(Py_tss_t *key) in PyThread_tss_get()
Dpystate.c75 Py_tss_t initial = Py_tss_NEEDS_INIT; in _PyRuntimeState_Init_impl()
/external/python/cpython3/Include/internal/
Dpycore_runtime.h41 Py_tss_t autoTSSkey;
/external/python/cpython3/Doc/c-api/
Dinit.rst1680 CPython interpreter. This API uses a new type :c:type:`Py_tss_t` instead of
1688 .. c:type:: Py_tss_t
1701 This macro expands to the initializer for :c:type:`Py_tss_t` variables.
1708 Dynamic allocation of the :c:type:`Py_tss_t`, required in extension modules
1713 .. c:function:: Py_tss_t* PyThread_tss_alloc()
1720 .. c:function:: void PyThread_tss_free(Py_tss_t *key)
1737 undefined if the given :c:type:`Py_tss_t` has not been initialized by
1741 .. c:function:: int PyThread_tss_is_created(Py_tss_t *key)
1743 Return a non-zero value if the given :c:type:`Py_tss_t` has been initialized
1747 .. c:function:: int PyThread_tss_create(Py_tss_t *key)
[all …]
/external/python/cpython3/Doc/data/
Drefcounts.dat2189 PyThread_tss_alloc:Py_tss_t*:::
2192 PyThread_tss_create:Py_tss_t*:key::
2195 PyThread_tss_delete:Py_tss_t*:key::
2198 PyThread_tss_free:Py_tss_t*:key::
2201 PyThread_tss_get:Py_tss_t*:key::
2204 PyThread_tss_is_created:Py_tss_t*:key::
2207 PyThread_tss_set:Py_tss_t*:key::
Dpython3.10.abi5311 …<typedef-decl name='Py_tss_t' type-id='type-id-302' filepath='./Include/pythread.h' line='123' col…
/external/python/pybind11/include/pybind11/detail/
Dinternals.h24 # define PYBIND11_TLS_KEY_INIT(var) Py_tss_t *var = nullptr
/external/python/cpython3/Modules/
D_tracemalloc.c152 static Py_tss_t tracemalloc_reentrant_key = Py_tss_NEEDS_INIT;
D_testcapimodule.c5162 Py_tss_t tss_key = Py_tss_NEEDS_INIT; in test_pythread_tss_key_state()
5198 Py_tss_t *ptr_key = PyThread_tss_alloc(); in test_pythread_tss_key_state()
/external/python/cpython3/Tools/c-analyzer/
DTODO45 Modules/_tracemalloc.c:tracemalloc_reentrant_key static Py_tss_t tracemalloc_reentr…
/external/python/cpython3/Doc/whatsnew/
D3.7.rst300 API. The TSS API uses a new type :c:type:`Py_tss_t` instead of :c:type:`int`