Home
last modified time | relevance | path

Searched refs:hashfunc (Results 1 – 25 of 31) sorted by relevance

12

/third_party/python/Lib/test/
Dtest_hmac.py52 self, key, data, digest, hashfunc, hashname, digest_size, block_size argument
54 h = hmac.HMAC(key, data, digestmod=hashfunc)
83 h = hmac.new(key, data, digestmod=hashfunc)
91 hmac.digest(key, data, digest=hashfunc),
132 hashfunc=hashlib.md5,
172 hashfunc=hashlib.sha1,
207 def _rfc4231_test_cases(self, hashfunc, hash_name, digest_size, block_size): argument
209 digest = hexdigests[hashfunc]
213 hashfunc=hashfunc,
/third_party/python/Doc/includes/
Dtypestruct.h24 hashfunc tp_hash;
/third_party/python/Python/
Dsysmodule.c1398 PyHash_FuncDef *hashfunc; in get_hash_info() local
1402 hashfunc = PyHash_GetFuncDef(); in get_hash_info()
1414 PyUnicode_FromString(hashfunc->name)); in get_hash_info()
1416 PyLong_FromLong(hashfunc->hash_bits)); in get_hash_info()
1418 PyLong_FromLong(hashfunc->seed_bits)); in get_hash_info()
Dcontext.c1070 .tp_hash = (hashfunc)contextvar_tp_hash,
/third_party/python/Include/cpython/
Dobject.h214 hashfunc tp_hash;
/third_party/python/Include/
Dobject.h207 typedef Py_hash_t (*hashfunc)(PyObject *); typedef
/third_party/python/Objects/
Dclassobject.c345 (hashfunc)method_hash, /* tp_hash */
Dmethodobject.c351 (hashfunc)meth_hash, /* tp_hash */
Dcomplexobject.c1067 (hashfunc)complex_hash, /* tp_hash */
Dweakrefobject.c386 (hashfunc)weakref_hash, /*tp_hash*/
Dtupleobject.c913 (hashfunc)tuplehash, /* tp_hash */
Drangeobject.c732 (hashfunc)range_hash, /* tp_hash */
Dcodeobject.c1214 (hashfunc)code_hash, /* tp_hash */
Dfloatobject.c1942 (hashfunc)float_hash, /* tp_hash */
Ddescrobject.c1412 (hashfunc)wrapper_hash, /* tp_hash */
Dtypeobject.c5527 (hashfunc)_Py_HashPointer, /* tp_hash */
6817 hashfunc func = (hashfunc)wrapped; in wrap_hashfunc()
/third_party/python/Modules/
D_datetimemodule.c2725 (hashfunc)delta_hash, /* tp_hash */
3571 (hashfunc)date_hash, /* tp_hash */
4056 (hashfunc)timezone_hash, /* tp_hash */
4722 (hashfunc)time_hash, /* tp_hash */
6439 (hashfunc)datetime_hash, /* tp_hash */
D_sre.c2736 {Py_tp_hash, (hashfunc)pattern_hash},
D_testbuffer.c2657 (hashfunc)ndarray_hash, /* tp_hash */
/third_party/python/Doc/data/
Dstable_abi.dat842 type,hashfunc,3.2,
/third_party/python/Doc/c-api/
Dtypeobj.rst70 …| :c:member:`~PyTypeObject.tp_hash` | :c:type:`hashfunc` | __hash__ …
396 | :c:type:`hashfunc` | :c:type:`PyObject` * | Py_hash_t |
867 .. c:member:: hashfunc PyTypeObject.tp_hash
2536 .. c:type:: Py_hash_t (*hashfunc)(PyObject *)
2671 .tp_hash = (hashfunc)myobj_hash,
/third_party/python/Doc/extending/
Dnewtypes.rst461 hashfunc tp_hash;
/third_party/python/Misc/
Dstable_abi.txt244 typedef hashfunc
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c1952 (hashfunc)0, /* tp_hash */ in SwigPyObject_TypeOnce()
2139 (hashfunc)0, /* tp_hash */ in SwigPyPacked_TypeOnce()
/third_party/python/Modules/_decimal/
D_decimal.c4854 (hashfunc) dec_hash, /* tp_hash */
5540 (hashfunc) 0, /* tp_hash */

12