Searched refs:err_codes_to_names (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
D | _ssl.c | 87 static PyObject *err_codes_to_names; variable 420 reason_obj = PyDict_GetItem(err_codes_to_names, key); in fill_and_set_sslerror() 4430 err_codes_to_names = PyDict_New(); in init_ssl() 4432 if (err_codes_to_names == NULL || err_names_to_codes == NULL) in init_ssl() 4441 if (PyDict_SetItem(err_codes_to_names, key, mnemo)) in init_ssl() 4449 if (PyModule_AddObject(m, "err_codes_to_names", err_codes_to_names)) in init_ssl()
|
/external/python/cpython3/Modules/ |
D | _ssl.c | 90 static PyObject *err_codes_to_names; variable 624 reason_obj = PyDict_GetItemWithError(err_codes_to_names, key); in fill_and_set_sslerror() 6368 err_codes_to_names = PyDict_New(); in PyInit__ssl() 6370 if (err_codes_to_names == NULL || err_names_to_codes == NULL) in PyInit__ssl() 6379 if (PyDict_SetItem(err_codes_to_names, key, mnemo)) in PyInit__ssl() 6387 if (PyModule_AddObject(m, "err_codes_to_names", err_codes_to_names)) in PyInit__ssl()
|