/external/python/cpython3/Include/ |
D | pyhash.h | 10 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(double); 11 PyAPI_FUNC(Py_hash_t) _Py_HashPointer(const void*); 13 PyAPI_FUNC(Py_hash_t) _Py_HashPointerRaw(const void*); 14 PyAPI_FUNC(Py_hash_t) _Py_HashBytes(const void*, Py_ssize_t); 61 Py_hash_t prefix; 62 Py_hash_t suffix; 72 Py_hash_t suffix; 76 Py_hash_t hashsalt; 90 Py_hash_t (*const hash)(const void *, Py_ssize_t);
|
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 | object.h | 186 typedef Py_hash_t (*hashfunc)(PyObject *); 259 PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *); 260 PyAPI_FUNC(Py_hash_t) PyObject_HashNotImplemented(PyObject *);
|
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 | pyport.h | 114 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 138 return (Py_hash_t)y; in _Py_HashPointerRaw() 141 Py_hash_t 144 Py_hash_t x = _Py_HashPointerRaw(p); in _Py_HashPointer() 151 Py_hash_t 154 Py_hash_t x; in _Py_HashBytes() 188 x = (Py_hash_t)hash; in _Py_HashBytes() 247 static Py_hash_t [all …]
|
D | context.c | 762 static Py_hash_t 781 Py_hash_t name_hash = PyObject_Hash(name); in contextvar_generate_hash() 786 Py_hash_t res = _Py_HashPointer(addr) ^ name_hash; in contextvar_generate_hash() 878 static Py_hash_t
|
/external/python/cpython3/Include/cpython/ |
D | dictobject.h | 35 Py_hash_t hash); 42 PyObject *item, Py_hash_t hash); 44 Py_hash_t hash); 50 PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value, Py_hash_t *hash); 54 PyAPI_FUNC(int) _PyDict_Contains(PyObject *mp, PyObject *key, Py_hash_t hash); 61 PyObject *_PyDict_Pop_KnownHash(PyObject *, PyObject *, Py_hash_t, PyObject *);
|
D | bytesobject.h | 7 Py_hash_t ob_shash;
|
/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 | 229 Py_hash_t hash, PyObject **value_addr); 231 Py_hash_t hash, PyObject **value_addr); 234 Py_hash_t hash, PyObject **value_addr); 236 Py_hash_t hash, PyObject **value_addr); 508 Py_hash_t hash = ((PyASCIIObject *)key)->hash; in _PyDict_CheckConsistency() 728 lookdict_index(PyDictKeysObject *k, Py_hash_t hash, Py_ssize_t index) in lookdict_index() 774 Py_hash_t hash, PyObject **value_addr) in lookdict() 830 Py_hash_t hash, PyObject **value_addr) in lookdict_unicode() 873 Py_hash_t hash, PyObject **value_addr) in lookdict_unicode_nodummy() 918 Py_hash_t hash, PyObject **value_addr) in lookdict_split() [all …]
|
D | odictobject.c | 507 Py_hash_t hash; 532 _odict_get_index_raw(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_get_index_raw() 586 _odict_get_index(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_get_index() 606 _odict_find_node_hash(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_find_node_hash() 623 Py_hash_t hash; in _odict_find_node() 665 _odict_add_new_node(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_add_new_node() 744 Py_hash_t hash) in _odict_clear_node() 1076 Py_hash_t hash) in _odict_popkey_hash() 1140 Py_hash_t hash = PyObject_Hash(key); in _odict_popkey() 1234 Py_hash_t); [all …]
|
D | setobject.c | 56 set_lookkey(PySetObject *so, PyObject *key, Py_hash_t hash) in set_lookkey() 103 set_add_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_add_entry() 183 set_insert_clean(setentry *table, size_t mask, PyObject *key, Py_hash_t hash) in set_insert_clean() 297 set_contains_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_contains_entry() 311 set_discard_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_discard_entry() 332 Py_hash_t hash; in set_add_key() 346 Py_hash_t hash; in set_contains_key() 360 Py_hash_t hash; in set_discard_key() 671 static Py_hash_t 878 Py_hash_t hash; in set_update_internal() [all …]
|
D | interpreteridobject.c | 160 static Py_hash_t 168 Py_hash_t hash = PyObject_Hash(obj); in interpid_hash()
|
D | genericaliasobject.c | 366 static Py_hash_t 371 Py_hash_t h0 = PyObject_Hash(alias->origin); in ga_hash() 375 Py_hash_t h1 = PyObject_Hash(alias->args); in ga_hash()
|
D | classobject.c | 302 static Py_hash_t 305 Py_hash_t x, y; in method_hash()
|
D | methodobject.c | 320 static Py_hash_t 323 Py_hash_t x, y; in meth_hash()
|
D | weakrefobject.c | 144 static Py_hash_t 735 static Py_hash_t 744 Py_hash_t res = PyObject_Hash(obj); in proxy_hash()
|
D | codeobject.c | 783 Py_hash_t hash; in _PyCode_ConstantKey() 904 static Py_hash_t 907 Py_hash_t h, h0, h1, h2, h3, h4, h5, h6; in code_hash()
|
/external/python/cpython3/Include/internal/ |
D | pycore_context.h | 26 Py_hash_t var_hash;
|
/external/python/cpython3/Modules/_sqlite/ |
D | row.c | 185 static Py_hash_t pysqlite_row_hash(pysqlite_Row *self) in pysqlite_row_hash()
|
/external/python/cpython3/Doc/c-api/ |
D | object.rst | 251 .. c:function:: Py_hash_t PyObject_Hash(PyObject *o) 259 The return type is now Py_hash_t. This is a signed integer the same size 263 .. c:function:: Py_hash_t PyObject_HashNotImplemented(PyObject *o)
|
/external/python/cpython3/Modules/ |
D | _functoolsmodule.c | 736 Py_hash_t hash; 875 Py_hash_t hash; in infinite_lru_cache_wrapper() 975 Py_hash_t hash; in bounded_lru_cache_wrapper()
|