/external/python/cpython2/Objects/ |
D | dictobject.c | 150 lookdict_string(PyDictObject *mp, PyObject *key, long hash); 225 static PyDictObject *free_list[PyDict_MAXFREELIST]; 231 PyDictObject *op; in PyDict_Fini() 243 register PyDictObject *mp; in PyDict_New() 277 mp = PyObject_GC_New(PyDictObject, &PyDict_Type); in PyDict_New() 320 lookdict(PyDictObject *mp, PyObject *key, register long hash) in lookdict() 408 lookdict_string(PyDictObject *mp, PyObject *key, register long hash) in lookdict_string() 483 PyDictObject *mp; in _PyDict_MaybeUntrack() 491 mp = (PyDictObject *) op; in _PyDict_MaybeUntrack() 510 insertdict_by_entry(register PyDictObject *mp, PyObject *key, long hash, in insertdict_by_entry() [all …]
|
/external/python/cpython3/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_popitem_impl(PyDictObject *self); 135 dict_popitem(PyDictObject *self, PyObject *Py_UNUSED(ignored)) in dict_popitem() 150 dict___reversed___impl(PyDictObject *self); 153 dict___reversed__(PyDictObject *self, PyObject *Py_UNUSED(ignored)) in dict___reversed__()
|
/external/python/cpython3/Objects/ |
D | dictobject.c | 227 static Py_ssize_t lookdict(PyDictObject *mp, PyObject *key, 229 static Py_ssize_t lookdict_unicode(PyDictObject *mp, PyObject *key, 232 lookdict_unicode_nodummy(PyDictObject *mp, PyObject *key, 234 static Py_ssize_t lookdict_split(PyDictObject *mp, PyObject *key, 237 static int dictresize(PyDictObject *mp, Py_ssize_t minused); 239 static PyObject* dict_iter(PyDictObject *dict); 252 static PyDictObject *free_list[PyDict_MAXFREELIST]; 262 PyDictObject *op; in PyDict_ClearFreeList() 280 "free PyDictObject", numfree, sizeof(PyDictObject)); in _PyDict_DebugMallocStats() 467 PyDictObject *mp = (PyDictObject *)op; in _PyDict_CheckConsistency() [all …]
|
D | dict-common.h | 15 (PyDictObject *mp, PyObject *key, Py_hash_t hash, PyObject **value_addr);
|
D | odictobject.c | 486 PyDictObject od_dict; /* the underlying dict */ 534 PyDictKeysObject *keys = ((PyDictObject *)od)->ma_keys; in _odict_get_index_raw() 537 ix = (keys->dk_lookup)((PyDictObject *)od, key, hash, &value); in _odict_get_index_raw() 555 size = ((PyDictObject *)od)->ma_keys->dk_size; in _odict_resize() 579 od->od_resize_sentinel = ((PyDictObject *)od)->ma_keys; in _odict_resize() 590 keys = ((PyDictObject *)od)->ma_keys; in _odict_get_index() 883 Py_ssize_t res = _PyDict_SizeOf((PyDictObject *)od); in odict_sizeof()
|
/external/python/cpython3/Include/cpython/ |
D | dictobject.h | 32 } PyDictObject; typedef 53 #define PyDict_GET_SIZE(mp) (assert(PyDict_Check(mp)),((PyDictObject *)mp)->ma_used) 59 PyAPI_FUNC(Py_ssize_t) _PyDict_SizeOf(PyDictObject *); 80 PyObject *_PyDict_LoadGlobal(PyDictObject *, PyDictObject *, PyObject *); 86 PyDictObject *dv_dict;
|
/external/python/cpython2/Include/ |
D | dictobject.h | 69 typedef struct _dictobject PyDictObject; typedef 87 PyDictEntry *(*ma_lookup)(PyDictObject *mp, PyObject *key, long hash);
|
/external/python/cpython3/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 */
|
/external/python/cpython2/Modules/_ctypes/ |
D | stgdict.c | 67 memcpy(d + sizeof(PyDictObject), in PyCStgDict_clone() 68 s + sizeof(PyDictObject), in PyCStgDict_clone() 69 sizeof(StgDictObject) - sizeof(PyDictObject)); in PyCStgDict_clone()
|
D | ctypes.h | 226 PyDictObject dict; /* first part identical to PyDictObject */
|
/external/python/cpython2/Modules/ |
D | xxsubtype.c | 147 PyDictObject dict;
|
D | _collectionsmodule.c | 1450 PyDictObject dict;
|
/external/python/cpython3/Modules/ |
D | xxsubtype.c | 147 PyDictObject dict;
|
D | _collectionsmodule.c | 1953 PyDictObject dict;
|
D | _testcapimodule.c | 281 return PyBool_FromLong(_PyDict_HasSplitTable((PyDictObject*)arg)); in dict_hassplittable() 4647 PyDictObject *dict; in dict_get_version()
|
/external/python/cpython3/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
|
/external/python/cpython2/Doc/c-api/ |
D | set.rst | 32 :class:`set` and :class:`frozenset` objects. It is like a :c:type:`PyDictObject`
|
D | dict.rst | 11 .. c:type:: PyDictObject
|
/external/python/cpython3/Python/ |
D | ceval.c | 2491 ((PyDictObject *)f->f_globals)->ma_version_tag in _PyEval_EvalFrameDefault() 2493 ((PyDictObject *)f->f_builtins)->ma_version_tag) in _PyEval_EvalFrameDefault() 2505 v = _PyDict_LoadGlobal((PyDictObject *)f->f_globals, in _PyEval_EvalFrameDefault() 2506 (PyDictObject *)f->f_builtins, in _PyEval_EvalFrameDefault() 2530 ((PyDictObject *)f->f_globals)->ma_version_tag; in _PyEval_EvalFrameDefault() 2532 ((PyDictObject *)f->f_builtins)->ma_version_tag; in _PyEval_EvalFrameDefault()
|
/external/python/cpython2/Python/ |
D | ceval.c | 2355 PyDictObject *d; in PyEval_EvalFrameEx() 2357 d = (PyDictObject *)(f->f_globals); in PyEval_EvalFrameEx() 2369 d = (PyDictObject *)(f->f_builtins); in PyEval_EvalFrameEx()
|