Home
last modified time | relevance | path

Searched refs:Py_hash_t (Results 1 – 25 of 62) 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);
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);
Dobject.h163 typedef Py_hash_t (*hashfunc)(PyObject *);
243 PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *);
244 PyAPI_FUNC(Py_hash_t) PyObject_HashNotImplemented(PyObject *);
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;
Dbytesobject.h33 Py_hash_t ob_shash;
Dpyport.h114 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.c747 static Py_hash_t
766 Py_hash_t name_hash = PyObject_Hash(name); in contextvar_generate_hash()
771 Py_hash_t res = _Py_HashPointer(addr) ^ name_hash; in contextvar_generate_hash()
863 static Py_hash_t
/external/python/cpython3/Include/cpython/
Ddictobject.h35 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 *);
/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.c228 Py_hash_t hash, PyObject **value_addr);
230 Py_hash_t hash, PyObject **value_addr);
233 Py_hash_t hash, PyObject **value_addr);
235 Py_hash_t hash, PyObject **value_addr);
499 Py_hash_t hash = ((PyASCIIObject *)key)->hash; in _PyDict_CheckConsistency()
707 lookdict_index(PyDictKeysObject *k, Py_hash_t hash, Py_ssize_t index) in lookdict_index()
753 Py_hash_t hash, PyObject **value_addr) in lookdict()
809 Py_hash_t hash, PyObject **value_addr) in lookdict_unicode()
852 Py_hash_t hash, PyObject **value_addr) in lookdict_unicode_nodummy()
897 Py_hash_t hash, PyObject **value_addr) in lookdict_split()
[all …]
Dodictobject.c508 Py_hash_t hash;
531 _odict_get_index_raw(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_get_index_raw()
585 _odict_get_index(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_get_index()
605 _odict_find_node_hash(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_find_node_hash()
622 Py_hash_t hash; in _odict_find_node()
664 _odict_add_new_node(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_add_new_node()
743 Py_hash_t hash) in _odict_clear_node()
1025 Py_hash_t hash) in _odict_popkey_hash()
1089 Py_hash_t hash = PyObject_Hash(key); in _odict_popkey()
1183 Py_hash_t);
[all …]
Dsetobject.c57 set_lookkey(PySetObject *so, PyObject *key, Py_hash_t hash) in set_lookkey()
138 set_add_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_add_entry()
269 set_insert_clean(setentry *table, size_t mask, PyObject *key, Py_hash_t hash) in set_insert_clean()
383 set_contains_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_contains_entry()
397 set_discard_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_discard_entry()
418 Py_hash_t hash; in set_add_key()
432 Py_hash_t hash; in set_contains_key()
446 Py_hash_t hash; in set_discard_key()
757 static Py_hash_t
964 Py_hash_t hash; in set_update_internal()
[all …]
Dinterpreteridobject.c159 static Py_hash_t
167 Py_hash_t hash = PyObject_Hash(obj); in interpid_hash()
Dmethodobject.c287 static Py_hash_t
290 Py_hash_t x, y; in meth_hash()
Dclassobject.c322 static Py_hash_t
325 Py_hash_t x, y; in method_hash()
Dcodeobject.c762 Py_hash_t hash; in _PyCode_ConstantKey()
883 static Py_hash_t
886 Py_hash_t h, h0, h1, h2, h3, h4, h5, h6; in code_hash()
Dcomplexobject.c409 static Py_hash_t
428 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/
Dpycore_context.h26 Py_hash_t var_hash;
/external/python/cpython3/Modules/_sqlite/
Drow.c185 static Py_hash_t pysqlite_row_hash(pysqlite_Row *self) in pysqlite_row_hash()
/external/python/cpython3/Modules/
D_functoolsmodule.c696 Py_hash_t hash;
834 Py_hash_t hash; in infinite_lru_cache_wrapper()
934 Py_hash_t hash; in bounded_lru_cache_wrapper()
D_randommodule.c281 Py_hash_t hash = PyObject_Hash(arg); in random_seed()

123