Home
last modified time | relevance | path

Searched refs:PyContext (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Python/
Dcontext.c11 static PyContext *ctx_freelist = NULL;
47 static PyContext *
50 static PyContext *
53 static inline PyContext *
57 token_new(PyContext *ctx, PyContextVar *var, PyObject *val);
87 PyContext *ctx = (PyContext *)octx; in PyContext_Copy()
95 PyContext *ctx = context_get(); in PyContext_CopyCurrent()
108 PyContext *ctx = (PyContext *)octx; in PyContext_Enter()
119 ctx->ctx_prev = (PyContext *)ts->context; /* borrow */ in PyContext_Enter()
134 PyContext *ctx = (PyContext *)octx; in PyContext_Exit()
[all …]
/external/python/cpython3/Python/clinic/
Dcontext.c.h18 _contextvars_Context_get_impl(PyContext *self, PyObject *key,
22 _contextvars_Context_get(PyContext *self, PyObject *const *args, Py_ssize_t nargs) in _contextvars_Context_get()
55 _contextvars_Context_items_impl(PyContext *self);
58 _contextvars_Context_items(PyContext *self, PyObject *Py_UNUSED(ignored)) in _contextvars_Context_items()
73 _contextvars_Context_keys_impl(PyContext *self);
76 _contextvars_Context_keys(PyContext *self, PyObject *Py_UNUSED(ignored)) in _contextvars_Context_keys()
91 _contextvars_Context_values_impl(PyContext *self);
94 _contextvars_Context_values(PyContext *self, PyObject *Py_UNUSED(ignored)) in _contextvars_Context_values()
109 _contextvars_Context_copy_impl(PyContext *self);
112 _contextvars_Context_copy(PyContext *self, PyObject *Py_UNUSED(ignored)) in _contextvars_Context_copy()
/external/python/cpython3/Include/internal/
Dpycore_context.h12 PyContext *ctx_prev;
32 PyContext *tok_ctx;
/external/python/cpython3/Doc/c-api/
Dcontextvars.rst15 of :c:type:`PyContext`, :c:type:`PyContextVar`, and
19 PyContext *PyContext_New(void);
31 .. c:type:: PyContext
/external/python/cpython3/Include/
Dcontext.h11 typedef struct _pycontextobject PyContext; typedef