Home
last modified time | relevance | path

Searched refs:PyHamtObject (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Include/internal/
Dhamt.h23 } PyHamtObject; typedef
55 PyHamtObject *hi_obj;
71 PyHamtObject * _PyHamt_New(void);
75 PyHamtObject * _PyHamt_Assoc(PyHamtObject *o, PyObject *key, PyObject *val);
78 PyHamtObject * _PyHamt_Without(PyHamtObject *o, PyObject *key);
87 int _PyHamt_Find(PyHamtObject *o, PyObject *key, PyObject **val);
96 int _PyHamt_Eq(PyHamtObject *v, PyHamtObject *w);
99 Py_ssize_t _PyHamt_Len(PyHamtObject *o);
102 PyObject * _PyHamt_NewIterKeys(PyHamtObject *o);
105 PyObject * _PyHamt_NewIterValues(PyHamtObject *o);
[all …]
Dcontext.h11 PyHamtObject *ctx_vars;
/external/python/cpython3/Python/
Dhamt.c335 static PyHamtObject *_empty_hamt;
338 static PyHamtObject *
2305 PyHamtObject *
2306 _PyHamt_Assoc(PyHamtObject *o, PyObject *key, PyObject *val) in _PyHamt_Assoc()
2311 PyHamtObject *new_o; in _PyHamt_Assoc()
2343 PyHamtObject *
2344 _PyHamt_Without(PyHamtObject *o, PyObject *key) in _PyHamt_Without()
2369 PyHamtObject *new_o = hamt_alloc(); in _PyHamt_Without()
2386 hamt_find(PyHamtObject *o, PyObject *key, PyObject **val) in hamt_find()
2402 _PyHamt_Find(PyHamtObject *o, PyObject *key, PyObject **val) in _PyHamt_Find()
[all …]
Dcontext.c50 context_new_from_vars(PyHamtObject *vars);
196 PyHamtObject *vars = ((PyContext *)ts->context)->ctx_vars; in PyContextVar_Get()
367 context_new_from_vars(PyHamtObject *vars) in context_new_from_vars()
691 PyHamtObject *new_vars = _PyHamt_Assoc( in contextvar_set()
715 PyHamtObject *vars = ctx->ctx_vars; in contextvar_del()
716 PyHamtObject *new_vars = _PyHamt_Without(vars, (PyObject *)var); in contextvar_del()