Home
last modified time | relevance | path

Searched refs:sha1_type (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Modules/
Dsha1module.c299 PyTypeObject* sha1_type; member
313 SHA1object *sha = (SHA1object *)PyObject_GC_New(SHA1object, st->sha1_type); in newSHA1object()
537 Py_VISIT(state->sha1_type); in _sha1_traverse()
545 Py_CLEAR(state->sha1_type); in _sha1_clear()
560 st->sha1_type = (PyTypeObject *)PyType_FromModuleAndSpec( in _sha1_exec()
563 if (st->sha1_type == NULL) { in _sha1_exec()
567 Py_INCREF(st->sha1_type); in _sha1_exec()
570 (PyObject *)st->sha1_type) < 0) { in _sha1_exec()
571 Py_DECREF(st->sha1_type); in _sha1_exec()