Home
last modified time | relevance | path

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

123

/third_party/python/Include/
Dpyhash.h10 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, 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);
60 Py_hash_t prefix;
61 Py_hash_t suffix;
71 Py_hash_t suffix;
75 Py_hash_t hashsalt;
87 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.h207 typedef Py_hash_t (*hashfunc)(PyObject *);
283 PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *);
284 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;
/third_party/python/Python/
Dpyhash.c89 Py_hash_t _Py_HashPointer(const void *);
91 Py_hash_t
134 return (Py_hash_t)x; in _Py_HashDouble()
137 Py_hash_t
144 return (Py_hash_t)y; in _Py_HashPointerRaw()
147 Py_hash_t
150 Py_hash_t x = _Py_HashPointerRaw(p); in _Py_HashPointer()
157 Py_hash_t
160 Py_hash_t x; in _Py_HashBytes()
194 x = (Py_hash_t)hash; in _Py_HashBytes()
[all …]
Dcontext.c778 static Py_hash_t
797 Py_hash_t name_hash = PyObject_Hash(name); in contextvar_generate_hash()
802 Py_hash_t res = _Py_HashPointer(addr) ^ name_hash; in contextvar_generate_hash()
894 static Py_hash_t
/third_party/python/Include/cpython/
Ddictobject.h31 Py_hash_t hash);
38 PyObject *item, Py_hash_t hash);
40 Py_hash_t hash);
45 PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value, Py_hash_t *hash);
49 PyAPI_FUNC(int) _PyDict_Contains_KnownHash(PyObject *, PyObject *, Py_hash_t);
57 PyObject *_PyDict_Pop_KnownHash(PyObject *, PyObject *, Py_hash_t, PyObject *);
Dbytesobject.h7 Py_hash_t ob_shash;
/third_party/python/Modules/_ssl/
Dcert.c178 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()
/third_party/python/Objects/
Ddict-common.h6 Py_hash_t me_hash;
15 (PyDictObject *mp, PyObject *key, Py_hash_t hash, PyObject **value_addr);
Ddictobject.c231 Py_hash_t hash, PyObject **value_addr);
233 Py_hash_t hash, PyObject **value_addr);
236 Py_hash_t hash, PyObject **value_addr);
238 Py_hash_t hash, PyObject **value_addr);
534 Py_hash_t hash = ((PyASCIIObject *)key)->hash; in _PyDict_CheckConsistency()
750 lookdict_index(PyDictKeysObject *k, Py_hash_t hash, Py_ssize_t index) in lookdict_index()
796 Py_hash_t hash, PyObject **value_addr) in lookdict()
852 Py_hash_t hash, PyObject **value_addr) in lookdict_unicode()
894 Py_hash_t hash, PyObject **value_addr) in lookdict_unicode_nodummy()
938 Py_hash_t hash, PyObject **value_addr) in lookdict_split()
[all …]
Dodictobject.c507 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()
1074 Py_hash_t hash) in _odict_popkey_hash()
1138 Py_hash_t hash = PyObject_Hash(key); in _odict_popkey()
1232 Py_hash_t);
[all …]
Dsetobject.c56 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()
197 set_insert_clean(setentry *table, size_t mask, PyObject *key, Py_hash_t hash) in set_insert_clean()
311 set_contains_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_contains_entry()
325 set_discard_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_discard_entry()
346 Py_hash_t hash; in set_add_key()
360 Py_hash_t hash; in set_contains_key()
374 Py_hash_t hash; in set_discard_key()
685 static Py_hash_t
892 Py_hash_t hash; in set_update_internal()
[all …]
Dinterpreteridobject.c166 static Py_hash_t
174 Py_hash_t hash = PyObject_Hash(obj); in interpid_hash()
Dunionobject.c38 static Py_hash_t
44 return (Py_hash_t)-1; in union_hash()
46 Py_hash_t hash = PyObject_Hash(args); in union_hash()
Dgenericaliasobject.c379 static Py_hash_t
384 Py_hash_t h0 = PyObject_Hash(alias->origin); in ga_hash()
388 Py_hash_t h1 = PyObject_Hash(alias->args); in ga_hash()
Dclassobject.c302 static Py_hash_t
305 Py_hash_t x, y; in method_hash()
Dmethodobject.c324 static Py_hash_t
327 Py_hash_t x, y; in meth_hash()
Dcodeobject.c868 Py_hash_t hash; in _PyCode_ConstantKey()
989 static Py_hash_t
992 Py_hash_t h, h0, h1, h2, h3, h4, h5, h6; in code_hash()
/third_party/python/Include/internal/
Dpycore_context.h26 Py_hash_t var_hash;
/third_party/python/Modules/
D_ssl.h65 Py_hash_t hash;
/third_party/python/Modules/_sqlite/
Drow.c209 static Py_hash_t pysqlite_row_hash(pysqlite_Row *self) in pysqlite_row_hash()
/third_party/python/Doc/c-api/
Dobject.rst251 .. 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)

123