Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
D_ssl.c2637 PyObject *password_bytes = NULL; in _pwinfo_set() local
2642 password_bytes = PyUnicode_AsEncodedString(password, NULL, NULL); in _pwinfo_set()
2643 if (!password_bytes) { in _pwinfo_set()
2646 data = PyBytes_AS_STRING(password_bytes); in _pwinfo_set()
2647 size = PyBytes_GET_SIZE(password_bytes); in _pwinfo_set()
2675 Py_XDECREF(password_bytes); in _pwinfo_set()
2679 Py_XDECREF(password_bytes); in _pwinfo_set()
/external/python/cpython3/Modules/
D_ssl.c3875 PyObject *password_bytes = NULL; in _pwinfo_set() local
3880 password_bytes = PyUnicode_AsUTF8String(password); in _pwinfo_set()
3881 if (!password_bytes) { in _pwinfo_set()
3884 data = PyBytes_AS_STRING(password_bytes); in _pwinfo_set()
3885 size = PyBytes_GET_SIZE(password_bytes); in _pwinfo_set()
3913 Py_XDECREF(password_bytes); in _pwinfo_set()
3917 Py_XDECREF(password_bytes); in _pwinfo_set()