/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/ |
D | dictobject.c | 226 static Py_ssize_t lookdict(PyDictObject *mp, PyObject *key, 228 static Py_ssize_t lookdict_unicode(PyDictObject *mp, PyObject *key, 231 lookdict_unicode_nodummy(PyDictObject *mp, PyObject *key, 233 static Py_ssize_t lookdict_split(PyDictObject *mp, PyObject *key, 236 static int dictresize(PyDictObject *mp, Py_ssize_t minused); 238 static PyObject* dict_iter(PyDictObject *dict); 251 static PyDictObject *free_list[PyDict_MAXFREELIST]; 261 PyDictObject *op; in PyDict_ClearFreeList() 279 "free PyDictObject", numfree, sizeof(PyDictObject)); in _PyDict_DebugMallocStats() 440 _PyDict_CheckConsistency(PyDictObject *mp) in _PyDict_CheckConsistency() [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 */ 533 PyDictKeysObject *keys = ((PyDictObject *)od)->ma_keys; in _odict_get_index_raw() 536 ix = (keys->dk_lookup)((PyDictObject *)od, key, hash, &value); in _odict_get_index_raw() 554 size = ((PyDictObject *)od)->ma_keys->dk_size; in _odict_resize() 578 od->od_resize_sentinel = ((PyDictObject *)od)->ma_keys; in _odict_resize() 589 keys = ((PyDictObject *)od)->ma_keys; in _odict_get_index() 882 Py_ssize_t res = _PyDict_SizeOf((PyDictObject *)od); in odict_sizeof()
|
/external/python/cpython3/Objects/clinic/ |
D | dictobject.c.h | 54 dict_get_impl(PyDictObject *self, PyObject *key, PyObject *default_value); 57 dict_get(PyDictObject *self, PyObject *const *args, Py_ssize_t nargs) in dict_get() 86 dict_setdefault_impl(PyDictObject *self, PyObject *key, 90 dict_setdefault(PyDictObject *self, PyObject *const *args, Py_ssize_t nargs) in dict_setdefault()
|
/external/python/cpython3/Include/ |
D | dictobject.h | 41 } PyDictObject; typedef 45 PyDictObject *dv_dict; 112 #define PyDict_GET_SIZE(mp) (assert(PyDict_Check(mp)),((PyDictObject *)mp)->ma_used) 118 PyAPI_FUNC(Py_ssize_t) _PyDict_SizeOf(PyDictObject *); 173 PyObject *_PyDict_LoadGlobal(PyDictObject *, PyDictObject *, PyObject *);
|
/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/Include/ |
D | dictobject.h | 69 typedef struct _dictobject PyDictObject; typedef 87 PyDictEntry *(*ma_lookup)(PyDictObject *mp, PyObject *key, long hash);
|
/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 | _testcapimodule.c | 270 return PyBool_FromLong(_PyDict_HasSplitTable((PyDictObject*)arg)); in dict_hassplittable() 4317 PyDictObject *dict; in dict_get_version()
|
D | _collectionsmodule.c | 1974 PyDictObject dict;
|
/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/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()
|
/external/python/cpython3/Python/ |
D | ceval.c | 2114 v = _PyDict_LoadGlobal((PyDictObject *)f->f_globals, in _PyEval_EvalFrameDefault() 2115 (PyDictObject *)f->f_builtins, in _PyEval_EvalFrameDefault()
|