Home
last modified time | relevance | path

Searched refs:libcode (Results 1 – 2 of 2) 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/cpython2/Modules/
D_ssl.c4073 struct py_ssl_library_code *libcode; in init_ssl() local
4356 libcode = library_codes; in init_ssl()
4357 while (libcode->library != NULL) { in init_ssl()
4359 key = PyLong_FromLong(libcode->code); in init_ssl()
4360 mnemo = PyUnicode_FromString(libcode->library); in init_ssl()
4367 libcode++; in init_ssl()