Home
last modified time | relevance | path

Searched refs:tp_hash (Results 1 - 12 of 12) sorted by relevance

/third_party/python/Doc/includes/
H A Dtypestruct.h24 hashfunc tp_hash; member
/third_party/python/Python/
H A Dcontext.c728 .tp_hash = PyObject_HashNotImplemented,
1078 .tp_hash = (hashfunc)contextvar_tp_hash,
1219 .tp_hash = PyObject_HashNotImplemented,
H A Dhamt.c2917 .tp_hash = PyObject_HashNotImplemented,
2934 .tp_hash = PyObject_HashNotImplemented,
2947 .tp_hash = PyObject_HashNotImplemented,
2960 .tp_hash = PyObject_HashNotImplemented,
/third_party/python/Objects/
H A Dunionobject.c383 .tp_hash = union_hash,
H A Dobject.c774 if (tp->tp_hash != NULL) in PyObject_Hash()
775 return (*tp->tp_hash)(v); in PyObject_Hash()
779 * PyType_Ready here and then check the tp_hash slot again in PyObject_Hash()
784 if (tp->tp_hash != NULL) in PyObject_Hash()
785 return (*tp->tp_hash)(v); in PyObject_Hash()
1700 0, /*tp_hash */
1801 0, /*tp_hash */
H A Dclassobject.c331 .tp_hash = (hashfunc)method_hash,
H A Dtypeobject.c4409 0, /* tp_hash */
5623 (hashfunc)_Py_HashPointer, /* tp_hash */
5970 /* tp_hash see tp_richcompare */ in inherit_slots()
5992 type->tp_hash == NULL) in inherit_slots()
6000 type->tp_hash = base->tp_hash; in inherit_slots()
6318 /* Hack for tp_hash and __hash__.
6319 If after all that, tp_hash is still NULL, and __hash__ is not in
6320 tp_dict, set tp_hash to PyObject_HashNotImplemented and
6326 if (type->tp_hash ! in type_ready_set_hash()
[all...]
H A Dgenericaliasobject.c944 .tp_hash = ga_hash,
H A Dweakrefobject.c377 .tp_hash = (hashfunc)weakref_hash,
733 // Notice that tp_hash is intentionally omitted as proxies are "mutable" (when the reference dies).
734 0, /* tp_hash */
768 0, /* tp_hash */
H A Ddictobject.c1016 hash = PyUnicode_Type.tp_hash(key); in _PyDictKeys_StringLookup()
1192 hash = PyUnicode_Type.tp_hash(name); in insert_into_dictkeys()
1798 Py_hash_t hash = kv->ob_type->tp_hash(kv); in _PyDict_GetItemWithError()
3854 PyObject_HashNotImplemented, /* tp_hash */
4125 0, /* tp_hash */
4225 0, /* tp_hash */
4351 0, /* tp_hash */
5107 0, /* tp_hash */
5213 0, /* tp_hash */
5294 0, /* tp_hash */
[all...]
/third_party/python/Include/cpython/
H A Dobject.h171 hashfunc tp_hash; member
/third_party/python/Modules/
H A D_testcapimodule.c363 0, /* tp_hash */
453 if (type->tp_hash != PyType_Type.tp_hash) { in test_lazy_hash_inheritance()
6846 0, /* tp_hash */
6949 0, /* tp_hash */
7063 0, /* tp_hash */
7108 0, /* tp_hash */
7189 0, /* tp_hash */

Completed in 61 milliseconds