Searched refs:PyContext (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Python/ |
D | context.c | 10 static PyContext *ctx_freelist = NULL; 46 static PyContext * 49 static PyContext * 52 static inline PyContext * 56 token_new(PyContext *ctx, PyContextVar *var, PyObject *val); 86 PyContext *ctx = (PyContext *)octx; in PyContext_Copy() 94 PyContext *ctx = context_get(); in PyContext_CopyCurrent() 107 PyContext *ctx = (PyContext *)octx; in PyContext_Enter() 118 ctx->ctx_prev = (PyContext *)ts->context; /* borrow */ in PyContext_Enter() 133 PyContext *ctx = (PyContext *)octx; in PyContext_Exit() [all …]
|
/external/python/cpython3/Python/clinic/ |
D | context.c.h | 14 _contextvars_Context_get_impl(PyContext *self, PyObject *key, 18 _contextvars_Context_get(PyContext *self, PyObject *const *args, Py_ssize_t nargs) in _contextvars_Context_get() 44 _contextvars_Context_items_impl(PyContext *self); 47 _contextvars_Context_items(PyContext *self, PyObject *Py_UNUSED(ignored)) in _contextvars_Context_items() 61 _contextvars_Context_keys_impl(PyContext *self); 64 _contextvars_Context_keys(PyContext *self, PyObject *Py_UNUSED(ignored)) in _contextvars_Context_keys() 78 _contextvars_Context_values_impl(PyContext *self); 81 _contextvars_Context_values(PyContext *self, PyObject *Py_UNUSED(ignored)) in _contextvars_Context_values() 95 _contextvars_Context_copy_impl(PyContext *self); 98 _contextvars_Context_copy(PyContext *self, PyObject *Py_UNUSED(ignored)) in _contextvars_Context_copy()
|
/external/python/cpython3/Include/internal/ |
D | context.h | 10 PyContext *ctx_prev; 30 PyContext *tok_ctx;
|
/external/python/cpython3/Doc/c-api/ |
D | contextvars.rst | 15 of :c:type:`PyContext`, :c:type:`PyContextVar`, and 19 PyContext *PyContext_New(void); 31 .. c:type:: PyContext
|
/external/python/cpython3/Include/ |
D | context.h | 11 typedef struct _pycontextobject PyContext; typedef
|