• Home
  • Raw
  • Download

Lines Matching refs:ctx_vars

88     return (PyObject *)context_new_from_vars(ctx->ctx_vars);  in PyContext_Copy()
100 return (PyObject *)context_new_from_vars(ctx->ctx_vars); in PyContext_CopyCurrent()
197 PyHamtObject *vars = ((PyContext *)ts->context)->ctx_vars; in PyContextVar_Get()
257 int found = _PyHamt_Find(ctx->ctx_vars, (PyObject *)var, &old_val); in PyContextVar_Set()
339 ctx->ctx_vars = NULL; in _context_alloc()
356 ctx->ctx_vars = _PyHamt_New(); in context_new_empty()
357 if (ctx->ctx_vars == NULL) { in context_new_empty()
376 ctx->ctx_vars = vars; in context_new_from_vars()
426 Py_CLEAR(self->ctx_vars); in context_tp_clear()
434 Py_VISIT(self->ctx_vars); in context_tp_traverse()
461 return _PyHamt_NewIterKeys(self->ctx_vars); in context_tp_iter()
474 ((PyContext *)v)->ctx_vars, ((PyContext *)w)->ctx_vars); in context_tp_richcompare()
494 return _PyHamt_Len(self->ctx_vars); in context_tp_len()
504 int found = _PyHamt_Find(self->ctx_vars, key, &val); in context_tp_subscript()
523 return _PyHamt_Find(self->ctx_vars, key, &val); in context_tp_contains()
549 int found = _PyHamt_Find(self->ctx_vars, key, &val); in _contextvars_Context_get_impl()
574 return _PyHamt_NewIterItems(self->ctx_vars); in _contextvars_Context_items_impl()
588 return _PyHamt_NewIterKeys(self->ctx_vars); in _contextvars_Context_keys_impl()
602 return _PyHamt_NewIterValues(self->ctx_vars); in _contextvars_Context_values_impl()
616 return (PyObject *)context_new_from_vars(self->ctx_vars); in _contextvars_Context_copy_impl()
708 ctx->ctx_vars, (PyObject *)var, val); in contextvar_set()
713 Py_SETREF(ctx->ctx_vars, new_vars); in contextvar_set()
731 PyHamtObject *vars = ctx->ctx_vars; in contextvar_del()
743 Py_SETREF(ctx->ctx_vars, new_vars); in contextvar_del()