/external/python/cpython3/Include/ |
D | pyhash.h | 10 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(double); 11 PyAPI_FUNC(Py_hash_t) _Py_HashPointer(void*); 12 PyAPI_FUNC(Py_hash_t) _Py_HashBytes(const void*, Py_ssize_t); 59 Py_hash_t prefix; 60 Py_hash_t suffix; 70 Py_hash_t suffix; 74 Py_hash_t hashsalt; 88 Py_hash_t (*const hash)(const void *, Py_ssize_t);
|
D | dictobject.h | 73 Py_hash_t hash); 85 PyObject *item, Py_hash_t hash); 90 Py_hash_t hash); 101 PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value, Py_hash_t *hash); 113 PyAPI_FUNC(int) _PyDict_Contains(PyObject *mp, PyObject *key, Py_hash_t hash); 120 PyObject *_PyDict_Pop_KnownHash(PyObject *, PyObject *, Py_hash_t, PyObject *);
|
D | setobject.h | 28 Py_hash_t hash; /* Cached hash code of the key */ 60 Py_hash_t hash; /* Only used by frozenset objects */ 71 PyAPI_FUNC(int) _PySet_NextEntry(PyObject *set, Py_ssize_t *pos, PyObject **key, Py_hash_t *hash);
|
D | datetime.h | 37 Py_hash_t hashcode; /* -1 when unknown */ 54 Py_hash_t hashcode; \
|
D | memoryobject.h | 60 Py_hash_t hash; /* hash value for read-only views */
|
D | weakrefobject.h | 31 Py_hash_t hash;
|
D | object.h | 333 typedef Py_hash_t (*hashfunc)(PyObject *); 566 PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *); 567 PyAPI_FUNC(Py_hash_t) PyObject_HashNotImplemented(PyObject *);
|
D | bytesobject.h | 33 Py_hash_t ob_shash;
|
D | pyport.h | 93 typedef Py_ssize_t Py_hash_t; typedef
|
/external/python/cpython3/Python/ |
D | pyhash.c | 85 Py_hash_t 128 return (Py_hash_t)x; in _Py_HashDouble() 131 Py_hash_t 134 Py_hash_t x; in _Py_HashPointer() 139 x = (Py_hash_t)y; in _Py_HashPointer() 145 Py_hash_t 148 Py_hash_t x; in _Py_HashBytes() 182 x = (Py_hash_t)hash; in _Py_HashBytes() 241 static Py_hash_t 415 static Py_hash_t [all …]
|
D | context.c | 731 static Py_hash_t 750 Py_hash_t name_hash = PyObject_Hash(name); in contextvar_generate_hash() 755 Py_hash_t res = _Py_HashPointer(addr) ^ name_hash; in contextvar_generate_hash() 847 static Py_hash_t
|
/external/python/cpython3/Objects/ |
D | dict-common.h | 6 Py_hash_t me_hash; 15 (PyDictObject *mp, PyObject *key, Py_hash_t hash, PyObject **value_addr);
|
D | dictobject.c | 227 Py_hash_t hash, PyObject **value_addr); 229 Py_hash_t hash, PyObject **value_addr); 232 Py_hash_t hash, PyObject **value_addr); 234 Py_hash_t hash, PyObject **value_addr); 475 Py_hash_t hash = ((PyASCIIObject *)key)->hash; in _PyDict_CheckConsistency() 682 lookdict_index(PyDictKeysObject *k, Py_hash_t hash, Py_ssize_t index) in lookdict_index() 728 Py_hash_t hash, PyObject **value_addr) in lookdict() 784 Py_hash_t hash, PyObject **value_addr) in lookdict_unicode() 827 Py_hash_t hash, PyObject **value_addr) in lookdict_unicode_nodummy() 872 Py_hash_t hash, PyObject **value_addr) in lookdict_split() [all …]
|
D | odictobject.c | 507 Py_hash_t hash; 530 _odict_get_index_raw(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_get_index_raw() 584 _odict_get_index(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_get_index() 604 _odict_find_node_hash(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_find_node_hash() 621 Py_hash_t hash; in _odict_find_node() 663 _odict_add_new_node(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_add_new_node() 742 Py_hash_t hash) in _odict_clear_node() 1024 Py_hash_t hash) in _odict_popkey_hash() 1088 Py_hash_t hash = PyObject_Hash(key); in _odict_popkey() 1182 Py_hash_t); [all …]
|
D | setobject.c | 56 set_lookkey(PySetObject *so, PyObject *key, Py_hash_t hash) in set_lookkey() 137 set_add_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_add_entry() 268 set_insert_clean(setentry *table, size_t mask, PyObject *key, Py_hash_t hash) in set_insert_clean() 382 set_contains_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_contains_entry() 396 set_discard_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_discard_entry() 417 Py_hash_t hash; in set_add_key() 431 Py_hash_t hash; in set_contains_key() 445 Py_hash_t hash; in set_discard_key() 758 static Py_hash_t 986 Py_hash_t hash; in set_update_internal() [all …]
|
D | methodobject.c | 247 static Py_hash_t 250 Py_hash_t x, y; in meth_hash()
|
D | classobject.c | 269 static Py_hash_t 272 Py_hash_t x, y; in method_hash()
|
D | codeobject.c | 576 Py_hash_t hash; in _PyCode_ConstantKey() 695 static Py_hash_t 698 Py_hash_t h, h0, h1, h2, h3, h4, h5, h6; in code_hash()
|
D | tupleobject.c | 347 static Py_hash_t 351 Py_hash_t y; in tuplehash() 363 mult += (Py_hash_t)(82520UL + len + len); in tuplehash()
|
D | complexobject.c | 408 static Py_hash_t 427 return (Py_hash_t)combined; in complex_hash()
|
D | rangeobject.c | 470 static Py_hash_t 474 Py_hash_t result = -1; in range_hash()
|
/external/python/cpython3/Include/internal/ |
D | context.h | 24 Py_hash_t var_hash;
|
/external/python/cpython3/Modules/_sqlite/ |
D | row.c | 190 static Py_hash_t pysqlite_row_hash(pysqlite_Row *self) in pysqlite_row_hash()
|
/external/python/cpython3/Modules/ |
D | _functoolsmodule.c | 693 Py_hash_t hash; 832 Py_hash_t hash; in infinite_lru_cache_wrapper() 932 Py_hash_t hash; in bounded_lru_cache_wrapper()
|
/external/python/cpython3/Doc/c-api/ |
D | object.rst | 338 .. c:function:: Py_hash_t PyObject_Hash(PyObject *o) 346 The return type is now Py_hash_t. This is a signed integer the same size 350 .. c:function:: Py_hash_t PyObject_HashNotImplemented(PyObject *o)
|