Home
last modified time | relevance | path

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

/external/python/cpython2/Tools/ssl/
Dmake_ssl_data.py20 def parse_error_codes(h_file, prefix, libcode): argument
30 codes.append((code, (libcode, name, num)))
47 for libcode, prefix, h_file in sorted(error_libraries.values()):
49 prefix, libcode)
50 new_code_nums = set((libcode, num)
51 for (code, (libcode, name, num)) in new_codes)
57 libcode = lib[0] # e.g. ERR_LIB_PEM variable
60 if (libcode, errnum) not in new_code_nums:
61 codes[errcode] = libcode, errname, errnum
71 for mnemo, (libcode, _, _) in sorted(error_libraries.items()):
[all …]
/external/python/cpython3/Tools/ssl/
Dmake_ssl_data.py20 def parse_error_codes(h_file, prefix, libcode): argument
30 codes.append((code, (libcode, name, num)))
47 for libcode, prefix, h_file in sorted(error_libraries.values()):
49 prefix, libcode)
50 new_code_nums = set((libcode, num)
51 for (code, (libcode, name, num)) in new_codes)
57 libcode = lib[0] # e.g. ERR_LIB_PEM variable
60 if (libcode, errnum) not in new_code_nums:
61 codes[errcode] = libcode, errname, errnum
71 for mnemo, (libcode, _, _) in sorted(error_libraries.items()):
[all …]
/external/python/cpython2/Modules/
D_ssl.c4157 struct py_ssl_library_code *libcode; in init_ssl() local
4457 libcode = library_codes; in init_ssl()
4458 while (libcode->library != NULL) { in init_ssl()
4460 key = PyLong_FromLong(libcode->code); in init_ssl()
4461 mnemo = PyUnicode_FromString(libcode->library); in init_ssl()
4468 libcode++; in init_ssl()
/external/python/cpython3/Modules/
D_ssl.c5718 struct py_ssl_library_code *libcode; in PyInit__ssl() local
6102 libcode = library_codes; in PyInit__ssl()
6103 while (libcode->library != NULL) { in PyInit__ssl()
6105 key = PyLong_FromLong(libcode->code); in PyInit__ssl()
6106 mnemo = PyUnicode_FromString(libcode->library); in PyInit__ssl()
6113 libcode++; in PyInit__ssl()