Searched refs:PyHamtObject (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Include/internal/ |
D | pycore_hamt.h | 26 } PyHamtObject; typedef 58 PyHamtObject *hi_obj; 74 PyHamtObject * _PyHamt_New(void); 78 PyHamtObject * _PyHamt_Assoc(PyHamtObject *o, PyObject *key, PyObject *val); 81 PyHamtObject * _PyHamt_Without(PyHamtObject *o, PyObject *key); 90 int _PyHamt_Find(PyHamtObject *o, PyObject *key, PyObject **val); 99 int _PyHamt_Eq(PyHamtObject *v, PyHamtObject *w); 102 Py_ssize_t _PyHamt_Len(PyHamtObject *o); 105 PyObject * _PyHamt_NewIterKeys(PyHamtObject *o); 108 PyObject * _PyHamt_NewIterValues(PyHamtObject *o); [all …]
|
D | pycore_context.h | 13 PyHamtObject *ctx_vars;
|
/external/python/cpython3/Python/ |
D | hamt.c | 336 static PyHamtObject *_empty_hamt; 339 static PyHamtObject * 2307 PyHamtObject * 2308 _PyHamt_Assoc(PyHamtObject *o, PyObject *key, PyObject *val) in _PyHamt_Assoc() 2313 PyHamtObject *new_o; in _PyHamt_Assoc() 2345 PyHamtObject * 2346 _PyHamt_Without(PyHamtObject *o, PyObject *key) in _PyHamt_Without() 2371 PyHamtObject *new_o = hamt_alloc(); in _PyHamt_Without() 2388 hamt_find(PyHamtObject *o, PyObject *key, PyObject **val) in hamt_find() 2404 _PyHamt_Find(PyHamtObject *o, PyObject *key, PyObject **val) in _PyHamt_Find() [all …]
|
D | context.c | 51 context_new_from_vars(PyHamtObject *vars); 197 PyHamtObject *vars = ((PyContext *)ts->context)->ctx_vars; in PyContextVar_Get() 368 context_new_from_vars(PyHamtObject *vars) in context_new_from_vars() 707 PyHamtObject *new_vars = _PyHamt_Assoc( in contextvar_set() 731 PyHamtObject *vars = ctx->ctx_vars; in contextvar_del() 732 PyHamtObject *new_vars = _PyHamt_Without(vars, (PyObject *)var); in contextvar_del()
|