Searched refs:hashfunc (Results 1 - 25 of 82) sorted by relevance

1234

/external/python/cpython2/Doc/includes/
H A Dtypestruct.h23 hashfunc tp_hash;
/external/python/cpython3/Doc/includes/
H A Dtypestruct.h24 hashfunc tp_hash;
/external/python/cpython2/Lib/test/
H A Dtest_hmac.py81 def _rfc4231_test_cases(self, hashfunc):
83 h = hmac.HMAC(key, data, digestmod=hashfunc)
84 self.assertEqual(h.hexdigest().lower(), hexdigests[hashfunc])
/external/python/cpython3/Lib/test/
H A Dtest_hmac.py110 def _rfc4231_test_cases(self, hashfunc, hash_name, digest_size, block_size):
113 h = hmac.HMAC(key, data, digestmod=hashfunc)
114 self.assertEqual(h.hexdigest().lower(), hexdigests[hashfunc])
120 self.assertEqual(h.hexdigest().lower(), hexdigests[hashfunc])
/external/libcups/cups/
H A Darray.c57 cups_ahash_func_t hashfunc; /* Hash function */ member in struct:_cups_array_s
470 hash = (*(a->hashfunc))(e, a->data);
761 a->hashfunc = h;
/external/python/cpython2/Mac/Modules/carbonevt/
H A D_CarbonEvtmodule.c422 (hashfunc) EventRef_hash, /*tp_hash*/
643 (hashfunc) EventQueueRef_hash, /*tp_hash*/
773 (hashfunc) EventLoopRef_hash, /*tp_hash*/
921 (hashfunc) EventLoopTimerRef_hash, /*tp_hash*/
1113 (hashfunc) EventHandlerRef_hash, /*tp_hash*/
1246 (hashfunc) EventHandlerCallRef_hash, /*tp_hash*/
1401 (hashfunc) EventTargetRef_hash, /*tp_hash*/
1531 (hashfunc) EventHotKeyRef_hash, /*tp_hash*/
/external/python/cpython2/Mac/Modules/ibcarbon/
H A D_IBCarbon.c181 (hashfunc) IBNibRefObj_hash, /*tp_hash*/
/external/python/cpython2/Modules/_sqlite/
H A Drow.c250 (hashfunc)pysqlite_row_hash, /* tp_hash */
/external/python/cpython2/Objects/
H A Dsliceobject.c348 (hashfunc)slice_hash, /* tp_hash */
H A Dmethodobject.c295 (hashfunc)meth_hash, /* tp_hash */
/external/python/cpython3/Modules/_sqlite/
H A Drow.c246 (hashfunc)pysqlite_row_hash, /* tp_hash */
/external/python/cpython2/Include/
H A Dobject.h314 typedef long (*hashfunc)(PyObject *); typedef
346 hashfunc tp_hash;
/external/python/cpython3/Include/
H A Dobject.h333 typedef Py_hash_t (*hashfunc)(PyObject *); typedef
369 hashfunc tp_hash;
/external/python/cpython2/Mac/Modules/
H A Dicgluemodule.c410 (hashfunc)0, /*tp_hash*/
H A DMacOS.c274 (hashfunc)0, /*tp_hash*/
/external/python/cpython2/Mac/Modules/scrap/
H A D_Scrapmodule.c249 (hashfunc) ScrapObj_hash, /*tp_hash*/
/external/python/cpython2/Modules/
H A D_csv.c486 (hashfunc)0, /* tp_hash */
901 (hashfunc)0, /*tp_hash*/
1336 (hashfunc)0, /*tp_hash*/
/external/python/cpython3/Python/
H A Dsysmodule.c835 PyHash_FuncDef *hashfunc; local
839 hashfunc = PyHash_GetFuncDef();
851 PyUnicode_FromString(hashfunc->name));
853 PyLong_FromLong(hashfunc->hash_bits));
855 PyLong_FromLong(hashfunc->seed_bits));
/external/python/cpython2/Mac/Modules/cf/
H A D_CFmodule.c445 (hashfunc) CFTypeRefObj_hash, /*tp_hash*/
656 (hashfunc) CFArrayRefObj_hash, /*tp_hash*/
896 (hashfunc) CFMutableArrayRefObj_hash, /*tp_hash*/
1089 (hashfunc) CFDictionaryRefObj_hash, /*tp_hash*/
1266 (hashfunc) CFMutableDictionaryRefObj_hash, /*tp_hash*/
1497 (hashfunc) CFDataRefObj_hash, /*tp_hash*/
1762 (hashfunc) CFMutableDataRefObj_hash, /*tp_hash*/
2505 (hashfunc) CFStringRefObj_hash, /*tp_hash*/
2893 (hashfunc) CFMutableStringRefObj_hash, /*tp_hash*/
3545 (hashfunc) CFURLRefObj_has
[all...]
/external/python/cpython3/Modules/
H A D_csv.c486 (hashfunc)0, /* tp_hash */
927 (hashfunc)0, /*tp_hash*/
1369 (hashfunc)0, /*tp_hash*/
/external/python/cpython3/Objects/
H A Dclassobject.c348 (hashfunc)method_hash, /* tp_hash */
622 0, /*(hashfunc)instancemethod_hash, tp_hash */
H A Dmethodobject.c503 (hashfunc)meth_hash, /* tp_hash */
/external/python/cpython2/Mac/Modules/cm/
H A D_Cmmodule.c299 (hashfunc) CmpInstObj_hash, /*tp_hash*/
737 (hashfunc) CmpObj_hash, /*tp_hash*/
/external/python/cpython2/Mac/Modules/snd/
H A D_Sndmodule.c226 (hashfunc) SndCh_hash, /*tp_hash*/
394 (hashfunc) SPBObj_hash, /*tp_hash*/
/external/python/cpython2/Mac/Modules/qdoffs/
H A D_Qdoffsmodule.c170 (hashfunc) GWorldObj_hash, /*tp_hash*/

Completed in 474 milliseconds

1234