Searched refs:PyDictObject (Results 1 – 15 of 15) sorted by relevance
/third_party/python/Objects/clinic/ |
D | dictobject.c.h | 58 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/ |
D | dictobject.c | 230 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 …]
|
D | dict-common.h | 15 (PyDictObject *mp, PyObject *key, Py_hash_t hash, PyObject **value_addr);
|
D | odictobject.c | 485 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/ |
D | dictobject.h | 28 } 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/ |
D | stgdict.c | 56 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()
|
D | ctypes.h | 186 PyDictObject dict; /* first part identical to PyDictObject */
|
/third_party/python/Include/internal/ |
D | pycore_interp.h | 126 PyDictObject *free_list[PyDict_MAXFREELIST];
|
/third_party/python/Modules/ |
D | xxsubtype.c | 147 PyDictObject dict;
|
D | _collectionsmodule.c | 1981 PyDictObject dict;
|
D | _testcapimodule.c | 346 return PyBool_FromLong(_PyDict_HasSplitTable((PyDictObject*)arg)); in dict_hassplittable() 4959 PyDictObject *dict; in dict_get_version()
|
/third_party/python/Doc/c-api/ |
D | set.rst | 30 :class:`set` and :class:`frozenset` objects. It is like a :c:type:`PyDictObject`
|
D | dict.rst | 11 .. c:type:: PyDictObject
|
/third_party/python/Python/ |
D | ceval.c | 2969 ((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/ |
D | TODO | 89 Objects/dictobject.c:free_list static PyDictObject *free_list[PyD…
|