Home
last modified time | relevance | path

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

/third_party/python/Modules/
D_hashopenssl.c378 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()
[all …]
D_csv.c140 get_dialect_from_registry(PyObject *name_obj, _csvstate *module_state) in get_dialect_from_registry() argument
144 dialect_obj = PyDict_GetItemWithError(module_state->dialects, name_obj); in get_dialect_from_registry()
1490 PyObject *name_obj, *dialect_obj = NULL; in csv_register_dialect() local
1494 if (!PyArg_UnpackTuple(args, "", 1, 2, &name_obj, &dialect_obj)) in csv_register_dialect()
1496 if (!PyUnicode_Check(name_obj)) { in csv_register_dialect()
1501 if (PyUnicode_READY(name_obj) == -1) in csv_register_dialect()
1506 if (PyDict_SetItem(module_state->dialects, name_obj, dialect) < 0) { in csv_register_dialect()
1515 csv_unregister_dialect(PyObject *module, PyObject *name_obj) in csv_unregister_dialect() argument
1518 if (PyDict_DelItem(module_state->dialects, name_obj) < 0) { in csv_unregister_dialect()
1528 csv_get_dialect(PyObject *module, PyObject *name_obj) in csv_get_dialect() argument
[all …]
D_ssl.c1013 PyObject *name_obj = NULL; in _asn1obj2py() local
1038 name_obj = Py_None; in _asn1obj2py()
1041 name_obj = PyUnicode_FromStringAndSize(namebuf, buflen); in _asn1obj2py()
1048 return name_obj; in _asn1obj2py()
/third_party/python/Modules/clinic/
D_hashopenssl.c.h177 EVP_new_impl(PyObject *module, PyObject *name_obj, PyObject *data_obj,
188 PyObject *name_obj; in EVP_new() local
196 name_obj = args[0]; in EVP_new()
215 return_value = EVP_new_impl(module, name_obj, data_obj, usedforsecurity); in EVP_new()
/third_party/python/Objects/
Dunicodeobject.c16168 PyObject *name_obj = NULL; in config_get_codec_name() local
16175 name_obj = PyObject_GetAttrString(codec, "name"); in config_get_codec_name()
16177 if (!name_obj) { in config_get_codec_name()
16181 wchar_t *wname = PyUnicode_AsWideCharString(name_obj, NULL); in config_get_codec_name()
16182 Py_DECREF(name_obj); in config_get_codec_name()
16202 Py_XDECREF(name_obj); in config_get_codec_name()