Lines Matching refs:name_obj
378 PyObject *name_obj = NULL; in py_digest_by_digestmod() local
382 name_obj = digestmod; in py_digest_by_digestmod()
386 name_obj = PyDict_GetItem(state->constructs, digestmod); in py_digest_by_digestmod()
388 if (name_obj == NULL) { in py_digest_by_digestmod()
397 name = PyUnicode_AsUTF8(name_obj); in py_digest_by_digestmod()
657 PyObject *name_obj, *repr; in EVP_repr() local
658 name_obj = py_digest_name(EVP_MD_CTX_md(self->ctx)); in EVP_repr()
659 if (!name_obj) { in EVP_repr()
663 name_obj, Py_TYPE(self)->tp_name, self); in EVP_repr()
664 Py_DECREF(name_obj); in EVP_repr()
946 EVP_new_impl(PyObject *module, PyObject *name_obj, PyObject *data_obj, in EVP_new_impl() argument
951 if (!PyArg_Parse(name_obj, "s", &name)) { in EVP_new_impl()
2184 PyObject *func, *name_obj; in hashlib_init_constructors() local
2201 name_obj = PyUnicode_FromString(fdef->ml_name + 8); in hashlib_init_constructors()
2202 if (name_obj == NULL) { in hashlib_init_constructors()
2207 Py_DECREF(name_obj); in hashlib_init_constructors()
2210 int rc = PyDict_SetItem(state->constructs, func, name_obj); in hashlib_init_constructors()
2212 Py_DECREF(name_obj); in hashlib_init_constructors()