Home
last modified time | relevance | path

Searched refs:PyDictObject (Results 1 – 15 of 15) sorted by relevance

/third_party/python/Objects/clinic/
Ddictobject.c.h58 dict_get_impl(PyDictObject *self, PyObject *key, PyObject *default_value);
61 dict_get(PyDictObject *self, PyObject *const *args, Py_ssize_t nargs) in dict_get()
94 dict_setdefault_impl(PyDictObject *self, PyObject *key,
98 dict_setdefault(PyDictObject *self, PyObject *const *args, Py_ssize_t nargs) in dict_setdefault()
132 dict_pop_impl(PyDictObject *self, PyObject *key, PyObject *default_value);
135 dict_pop(PyDictObject *self, PyObject *const *args, Py_ssize_t nargs) in dict_pop()
169 dict_popitem_impl(PyDictObject *self);
172 dict_popitem(PyDictObject *self, PyObject *Py_UNUSED(ignored)) in dict_popitem()
187 dict___reversed___impl(PyDictObject *self);
190 dict___reversed__(PyDictObject *self, PyObject *Py_UNUSED(ignored)) in dict___reversed__()
/third_party/python/Objects/
Ddictobject.c230 static Py_ssize_t lookdict(PyDictObject *mp, PyObject *key,
232 static Py_ssize_t lookdict_unicode(PyDictObject *mp, PyObject *key,
235 lookdict_unicode_nodummy(PyDictObject *mp, PyObject *key,
237 static Py_ssize_t lookdict_split(PyDictObject *mp, PyObject *key,
240 static int dictresize(PyDictObject *mp, Py_ssize_t newsize);
242 static PyObject* dict_iter(PyDictObject *dict);
267 PyDictObject *op = state->free_list[--state->numfree]; in _PyDict_ClearFreeList()
295 state->numfree, sizeof(PyDictObject)); in _PyDict_DebugMallocStats()
502 PyDictObject *mp = (PyDictObject *)op; in _PyDict_CheckConsistency()
649 PyDictObject *mp; in new_dict()
[all …]
Ddict-common.h15 (PyDictObject *mp, PyObject *key, Py_hash_t hash, PyObject **value_addr);
Dodictobject.c485 PyDictObject od_dict; /* the underlying dict */
535 PyDictKeysObject *keys = ((PyDictObject *)od)->ma_keys; in _odict_get_index_raw()
538 ix = (keys->dk_lookup)((PyDictObject *)od, key, hash, &value); in _odict_get_index_raw()
556 size = ((PyDictObject *)od)->ma_keys->dk_size; in _odict_resize()
580 od->od_resize_sentinel = ((PyDictObject *)od)->ma_keys; in _odict_resize()
591 keys = ((PyDictObject *)od)->ma_keys; in _odict_get_index()
935 Py_ssize_t res = _PyDict_SizeOf((PyDictObject *)od); in odict_sizeof()
/third_party/python/Include/cpython/
Ddictobject.h28 } PyDictObject; typedef
48 #define PyDict_GET_SIZE(mp) (assert(PyDict_Check(mp)),((PyDictObject *)mp)->ma_used)
55 PyAPI_FUNC(Py_ssize_t) _PyDict_SizeOf(PyDictObject *);
73 PyObject *_PyDict_LoadGlobal(PyDictObject *, PyDictObject *, PyObject *);
74 Py_ssize_t _PyDict_GetItemHint(PyDictObject *, PyObject *, Py_ssize_t, PyObject **);
80 PyDictObject *dv_dict;
/third_party/python/Modules/_ctypes/
Dstgdict.c56 res = _PyDict_SizeOf((PyDictObject *)self); in PyCStgDict_sizeof()
57 res += sizeof(StgDictObject) - sizeof(PyDictObject); in PyCStgDict_sizeof()
82 memcpy(d + sizeof(PyDictObject), in PyCStgDict_clone()
83 s + sizeof(PyDictObject), in PyCStgDict_clone()
84 sizeof(StgDictObject) - sizeof(PyDictObject)); in PyCStgDict_clone()
Dctypes.h186 PyDictObject dict; /* first part identical to PyDictObject */
/third_party/python/Include/internal/
Dpycore_interp.h126 PyDictObject *free_list[PyDict_MAXFREELIST];
/third_party/python/Modules/
Dxxsubtype.c147 PyDictObject dict;
D_collectionsmodule.c1981 PyDictObject dict;
D_testcapimodule.c346 return PyBool_FromLong(_PyDict_HasSplitTable((PyDictObject*)arg)); in dict_hassplittable()
4959 PyDictObject *dict; in dict_get_version()
/third_party/python/Doc/c-api/
Dset.rst30 :class:`set` and :class:`frozenset` objects. It is like a :c:type:`PyDictObject`
Ddict.rst11 .. c:type:: PyDictObject
/third_party/python/Python/
Dceval.c2969 ((PyDictObject *)f->f_globals)->ma_version_tag in _PyEval_EvalFrameDefault()
2971 ((PyDictObject *)f->f_builtins)->ma_version_tag) in _PyEval_EvalFrameDefault()
2983 v = _PyDict_LoadGlobal((PyDictObject *)f->f_globals, in _PyEval_EvalFrameDefault()
2984 (PyDictObject *)f->f_builtins, in _PyEval_EvalFrameDefault()
3008 ((PyDictObject *)f->f_globals)->ma_version_tag; in _PyEval_EvalFrameDefault()
3010 ((PyDictObject *)f->f_builtins)->ma_version_tag; in _PyEval_EvalFrameDefault()
3455 … la->hint = _PyDict_GetItemHint((PyDictObject*)dict, name, hint, &res); in _PyEval_EvalFrameDefault()
3553 … Py_ssize_t hint = _PyDict_GetItemHint((PyDictObject*)dict, name, -1, &res); in _PyEval_EvalFrameDefault()
/third_party/python/Tools/c-analyzer/
DTODO89 Objects/dictobject.c:free_list static PyDictObject *free_list[PyD…