Home
last modified time | relevance | path

Searched refs:Py_hash_t (Results 1 – 25 of 58) sorted by relevance

123

/external/python/cpython3/Include/
Dpyhash.h10 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);
Ddictobject.h73 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 *);
Dsetobject.h28 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);
Ddatetime.h37 Py_hash_t hashcode; /* -1 when unknown */
54 Py_hash_t hashcode; \
Dmemoryobject.h60 Py_hash_t hash; /* hash value for read-only views */
Dweakrefobject.h31 Py_hash_t hash;
Dobject.h333 typedef Py_hash_t (*hashfunc)(PyObject *);
566 PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *);
567 PyAPI_FUNC(Py_hash_t) PyObject_HashNotImplemented(PyObject *);
Dbytesobject.h33 Py_hash_t ob_shash;
Dpyport.h93 typedef Py_ssize_t Py_hash_t; typedef
/external/python/cpython3/Python/
Dpyhash.c85 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 …]
Dcontext.c731 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/
Ddict-common.h6 Py_hash_t me_hash;
15 (PyDictObject *mp, PyObject *key, Py_hash_t hash, PyObject **value_addr);
Ddictobject.c227 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 …]
Dodictobject.c507 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 …]
Dsetobject.c56 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 …]
Dmethodobject.c247 static Py_hash_t
250 Py_hash_t x, y; in meth_hash()
Dclassobject.c269 static Py_hash_t
272 Py_hash_t x, y; in method_hash()
Dcodeobject.c576 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()
Dtupleobject.c347 static Py_hash_t
351 Py_hash_t y; in tuplehash()
363 mult += (Py_hash_t)(82520UL + len + len); in tuplehash()
Dcomplexobject.c408 static Py_hash_t
427 return (Py_hash_t)combined; in complex_hash()
Drangeobject.c470 static Py_hash_t
474 Py_hash_t result = -1; in range_hash()
/external/python/cpython3/Include/internal/
Dcontext.h24 Py_hash_t var_hash;
/external/python/cpython3/Modules/_sqlite/
Drow.c190 static Py_hash_t pysqlite_row_hash(pysqlite_Row *self) in pysqlite_row_hash()
/external/python/cpython3/Modules/
D_functoolsmodule.c693 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/
Dobject.rst338 .. 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)

123