• Home
  • Raw
  • Download

Lines Matching refs:PyContextVar

57 token_new(PyContext *ctx, PyContextVar *var, PyObject *val);
59 static PyContextVar *
63 contextvar_set(PyContextVar *var, PyObject *val);
66 contextvar_del(PyContextVar *var);
189 PyContextVar *var = contextvar_new(pyname, def); in PyContextVar_New()
199 PyContextVar *var = (PyContextVar *)ovar; in PyContextVar_Get()
262 PyContextVar *var = (PyContextVar *)ovar; in PyContextVar_Set()
299 PyContextVar *var = (PyContextVar *)ovar; in PyContextVar_Reset()
728 contextvar_set(PyContextVar *var, PyObject *val) in contextvar_set()
753 contextvar_del(PyContextVar *var) in contextvar_del()
806 static PyContextVar *
815 PyContextVar *var = PyObject_GC_New(PyContextVar, &PyContextVar_Type); in contextvar_new()
868 contextvar_tp_clear(PyContextVar *self) in contextvar_tp_clear()
879 contextvar_tp_traverse(PyContextVar *self, visitproc visit, void *arg) in contextvar_tp_traverse()
887 contextvar_tp_dealloc(PyContextVar *self) in contextvar_tp_dealloc()
895 contextvar_tp_hash(PyContextVar *self) in contextvar_tp_hash()
901 contextvar_tp_repr(PyContextVar *self) in contextvar_tp_repr()
972 _contextvars_ContextVar_get_impl(PyContextVar *self, PyObject *default_value) in _contextvars_ContextVar_get_impl()
1008 _contextvars_ContextVar_set(PyContextVar *self, PyObject *value) in _contextvars_ContextVar_set()
1026 _contextvars_ContextVar_reset(PyContextVar *self, PyObject *token) in _contextvars_ContextVar_reset()
1044 {"name", T_OBJECT, offsetof(PyContextVar, var_name), READONLY},
1060 sizeof(PyContextVar),
1216 token_new(PyContext *ctx, PyContextVar *var, PyObject *val) in token_new()