Searched refs:Py_tss_t (Results 1 – 11 of 11) sorted by relevance
109 typedef struct _Py_tss_t Py_tss_t; /* opaque */ typedef140 PyAPI_FUNC(Py_tss_t *) PyThread_tss_alloc(void);141 PyAPI_FUNC(void) PyThread_tss_free(Py_tss_t *key);144 PyAPI_FUNC(int) PyThread_tss_is_created(Py_tss_t *key);145 PyAPI_FUNC(int) PyThread_tss_create(Py_tss_t *key);146 PyAPI_FUNC(void) PyThread_tss_delete(Py_tss_t *key);147 PyAPI_FUNC(int) PyThread_tss_set(Py_tss_t *key, void *value);148 PyAPI_FUNC(void *) PyThread_tss_get(Py_tss_t *key);
119 Py_tss_t *122 Py_tss_t *new_key = (Py_tss_t *)PyMem_RawMalloc(sizeof(Py_tss_t)); in PyThread_tss_alloc()131 PyThread_tss_free(Py_tss_t *key) in PyThread_tss_free()140 PyThread_tss_is_created(Py_tss_t *key) in PyThread_tss_is_created()
421 PyThread_tss_create(Py_tss_t *key) in PyThread_tss_create()440 PyThread_tss_delete(Py_tss_t *key) in PyThread_tss_delete()454 PyThread_tss_set(Py_tss_t *key, void *value) in PyThread_tss_set()462 PyThread_tss_get(Py_tss_t *key) in PyThread_tss_get()
742 PyThread_tss_create(Py_tss_t *key) in PyThread_tss_create()759 PyThread_tss_delete(Py_tss_t *key) in PyThread_tss_delete()773 PyThread_tss_set(Py_tss_t *key, void *value) in PyThread_tss_set()781 PyThread_tss_get(Py_tss_t *key) in PyThread_tss_get()
50 Py_tss_t initial = Py_tss_NEEDS_INIT; in _PyRuntimeState_Init_impl()
29 Py_tss_t autoTSSkey;
1435 CPython interpreter. This API uses a new type :c:type:`Py_tss_t` instead of1443 .. c:type:: Py_tss_t1456 This macro expands to the initializer for :c:type:`Py_tss_t` variables.1463 Dynamic allocation of the :c:type:`Py_tss_t`, required in extension modules1468 .. c:function:: Py_tss_t* PyThread_tss_alloc()1475 .. c:function:: void PyThread_tss_free(Py_tss_t *key)1492 undefined if the given :c:type:`Py_tss_t` has not been initialized by1496 .. c:function:: int PyThread_tss_is_created(Py_tss_t *key)1498 Return a non-zero value if the given :c:type:`Py_tss_t` has been initialized1502 .. c:function:: int PyThread_tss_create(Py_tss_t *key)[all …]
2180 PyThread_tss_alloc:Py_tss_t*:::2183 PyThread_tss_create:Py_tss_t*:key::2186 PyThread_tss_delete:Py_tss_t*:key::2189 PyThread_tss_free:Py_tss_t*:key::2192 PyThread_tss_get:Py_tss_t*:key::2195 PyThread_tss_is_created:Py_tss_t*:key::2198 PyThread_tss_set:Py_tss_t*:key::
170 static Py_tss_t tracemalloc_reentrant_key = Py_tss_NEEDS_INIT;
4495 Py_tss_t tss_key = Py_tss_NEEDS_INIT; in test_pythread_tss_key_state()4531 Py_tss_t *ptr_key = PyThread_tss_alloc(); in test_pythread_tss_key_state()
299 API. The TSS API uses a new type :c:type:`Py_tss_t` instead of :c:type:`int`