/external/python/cpython3/Include/internal/ |
D | pycore_pyhash.h | 9 static inline Py_hash_t 19 Py_BUILD_ASSERT(sizeof(x) == sizeof(Py_hash_t)); in _Py_HashPointerRaw() 20 return (Py_hash_t)x; in _Py_HashPointerRaw() 24 PyAPI_FUNC(Py_hash_t) _Py_HashBytes(const void*, Py_ssize_t); 50 Py_hash_t prefix; 51 Py_hash_t suffix; 61 Py_hash_t suffix; 65 Py_hash_t hashsalt;
|
D | pycore_dict.h | 29 PyObject *item, Py_hash_t hash); 32 Py_hash_t hash); 33 extern int _PyDict_Contains_KnownHash(PyObject *, PyObject *, Py_hash_t); 43 PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value, Py_hash_t *hash); 78 Py_hash_t me_hash; 103 extern Py_ssize_t _Py_dict_lookup(PyDictObject *mp, PyObject *key, Py_hash_t hash, PyObject **value… 104 extern Py_ssize_t _Py_dict_lookup_threadsafe(PyDictObject *mp, PyObject *key, Py_hash_t hash, PyObj… 115 PyObject *value, Py_hash_t hash); 117 PyAPI_FUNC(int) _PyDict_GetItemRef_KnownHash_LockHeld(PyDictObject *op, PyObject *key, Py_hash_t ha… 118 extern int _PyDict_GetItemRef_KnownHash(PyDictObject *op, PyObject *key, Py_hash_t hash, PyObject *… [all …]
|
D | pycore_setobject.h | 16 Py_hash_t *hash); 23 Py_hash_t *hash);
|
D | pycore_context.h | 43 Py_hash_t var_hash;
|
/external/python/cpython3/Include/cpython/ |
D | pyhash.h | 30 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double); 38 Py_hash_t (*const hash)(const void *, Py_ssize_t); 46 PyAPI_FUNC(Py_hash_t) Py_HashPointer(const void *ptr); 47 PyAPI_FUNC(Py_hash_t) PyObject_GenericHash(PyObject *);
|
D | setobject.h | 22 Py_hash_t hash; /* Cached hash code of the key */ 54 Py_hash_t hash; /* Only used by frozenset objects */
|
D | weakrefobject.h | 23 Py_hash_t hash;
|
D | bytesobject.h | 7 Py_DEPRECATED(3.11) Py_hash_t ob_shash;
|
D | memoryobject.h | 30 Py_hash_t hash; /* hash value for read-only views */
|
D | dictobject.h | 39 Py_hash_t hash);
|
/external/python/cpython3/Python/ |
D | pyhash.c | 86 Py_hash_t 129 return (Py_hash_t)x; in _Py_HashDouble() 132 Py_hash_t 135 Py_hash_t hash = _Py_HashPointerRaw(ptr); in Py_HashPointer() 142 Py_hash_t 148 Py_hash_t 151 Py_hash_t x; in _Py_HashBytes() 185 x = (Py_hash_t)hash; in _Py_HashBytes() 240 static Py_hash_t 476 static Py_hash_t [all …]
|
D | context.c | 784 static Py_hash_t 803 Py_hash_t name_hash = PyObject_Hash(name); in contextvar_generate_hash() 808 Py_hash_t res = _Py_HashPointer(addr) ^ name_hash; in contextvar_generate_hash() 902 static Py_hash_t
|
/external/python/cpython3/Modules/_testinternalcapi/ |
D | set.c | 25 Py_hash_t hash = (Py_hash_t)UNINITIALIZED_SIZE; in set_next_entry() 40 assert(hash == (Py_hash_t)UNINITIALIZED_SIZE); in set_next_entry()
|
/external/python/cpython3/Modules/_ssl/ |
D | cert.c | 178 static Py_hash_t 181 if (self->hash == (Py_hash_t)-1) { in certificate_hash() 184 if ((Py_hash_t)hash == (Py_hash_t)-1) { in certificate_hash() 187 self->hash = (Py_hash_t)hash; in certificate_hash()
|
/external/python/cpython3/Doc/c-api/ |
D | hash.rst | 8 .. c:type:: Py_hash_t 54 .. c::member:: Py_hash_t (*const hash)(const void *, Py_ssize_t) 83 .. c:function:: Py_hash_t Py_HashPointer(const void *ptr) 92 .. c:function:: Py_hash_t PyObject_GenericHash(PyObject *obj)
|
/external/python/cpython3/Objects/ |
D | dictobject.c | 436 static inline Py_hash_t 739 Py_hash_t hash = unicode_get_hash(key); in _PyDict_CheckConsistency() 753 Py_hash_t hash = unicode_get_hash(key); in _PyDict_CheckConsistency() 1031 lookdict_index(PyDictKeysObject *k, Py_hash_t hash, Py_ssize_t index) in lookdict_index() 1052 do_lookup(PyDictObject *mp, PyDictKeysObject *dk, PyObject *key, Py_hash_t hash, in do_lookup() argument 1053 …check_lookup)(PyDictObject *, PyDictKeysObject *, void *, Py_ssize_t ix, PyObject *key, Py_hash_t)) in do_lookup() 1097 void *ep0, Py_ssize_t ix, PyObject *key, Py_hash_t hash) in compare_unicode_generic() 1125 unicodekeys_lookup_generic(PyDictObject *mp, PyDictKeysObject* dk, PyObject *key, Py_hash_t hash) in unicodekeys_lookup_generic() 1132 void *ep0, Py_ssize_t ix, PyObject *key, Py_hash_t hash) in compare_unicode_unicode() 1146 unicodekeys_lookup_unicode(PyDictKeysObject* dk, PyObject *key, Py_hash_t hash) in unicodekeys_lookup_unicode() [all …]
|
D | odictobject.c | 510 Py_hash_t hash; 533 _odict_get_index_raw(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_get_index_raw() 593 _odict_get_index(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_get_index() 613 _odict_find_node_hash(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_find_node_hash() 630 Py_hash_t hash; in _odict_find_node() 672 _odict_add_new_node(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_add_new_node() 751 Py_hash_t hash) in _odict_clear_node() 1060 Py_hash_t hash) in _odict_popkey_hash() 1114 Py_hash_t hash = PyObject_Hash(key); in OrderedDict_pop_impl() 1206 Py_hash_t); [all …]
|
D | setobject.c | 76 set_lookkey(PySetObject *so, PyObject *key, Py_hash_t hash) in set_lookkey() 123 set_add_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_add_entry() 219 set_insert_clean(setentry *table, size_t mask, PyObject *key, Py_hash_t hash) in set_insert_clean() 333 set_contains_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_contains_entry() 347 set_discard_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_discard_entry() 368 Py_hash_t hash = _PyObject_HashFast(key); in set_add_key() 378 Py_hash_t hash = _PyObject_HashFast(key); in set_contains_key() 388 Py_hash_t hash = _PyObject_HashFast(key); in set_discard_key() 714 static Py_hash_t 935 Py_hash_t hash; in set_update_dict_lock_held() [all …]
|
D | unionobject.c | 39 static Py_hash_t 45 return (Py_hash_t)-1; in union_hash() 47 Py_hash_t hash = PyObject_Hash(args); in union_hash()
|
D | classobject.c | 303 static Py_hash_t 306 Py_hash_t x, y; in method_hash()
|
/external/python/cpython3/Modules/_testcapi/ |
D | hash.c | 56 Py_hash_t hash = Py_HashPointer(ptr); in hash_pointer() 66 Py_hash_t hash = PyObject_GenericHash(arg); in object_generichash()
|
/external/python/cpython3/Include/ |
D | datetime.h | 37 Py_hash_t hashcode; /* -1 when unknown */ 54 Py_hash_t hashcode; \
|
D | object.h | 484 typedef Py_hash_t (*hashfunc)(PyObject *); 590 PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *); 591 PyAPI_FUNC(Py_hash_t) PyObject_HashNotImplemented(PyObject *);
|
/external/python/cpython3/Modules/ |
D | _ssl.h | 71 Py_hash_t hash;
|
/external/ml_dtypes/ml_dtypes/_src/ |
D | custom_float.h | 346 inline Py_hash_t HashImpl(Py_hash_t (*hash_double)(PyObject*, double), in HashImpl() 352 inline Py_hash_t HashImpl(Py_hash_t (*hash_double)(double), PyObject* self, in HashImpl() 359 Py_hash_t PyCustomFloat_Hash(PyObject* self) { in PyCustomFloat_Hash()
|