Searched refs:libcode (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Tools/ssl/ |
D | make_ssl_data.py | 20 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/ |
D | make_ssl_data.py | 21 def parse_error_codes(h_file, prefix, libcode): argument 31 codes.append((code, (libcode, name, num))) 59 for libcode, prefix, h_file in sorted(error_libraries.values()): 60 new_codes += parse_error_codes(h_file, prefix, libcode) 61 new_code_nums = set((libcode, num) 62 for (code, (libcode, name, num)) in new_codes) 68 libcode = lib[0] # e.g. ERR_LIB_PEM variable 71 if (libcode, errnum) not in new_code_nums: 72 codes[errcode] = libcode, errname, errnum 82 for mnemo, (libcode, _, _) in sorted(error_libraries.items()): [all …]
|
/external/python/cpython2/Modules/ |
D | _ssl.c | 4157 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.c | 6012 struct py_ssl_library_code *libcode; in PyInit__ssl() local 6395 libcode = library_codes; in PyInit__ssl() 6396 while (libcode->library != NULL) { in PyInit__ssl() 6398 key = PyLong_FromLong(libcode->code); in PyInit__ssl() 6399 mnemo = PyUnicode_FromString(libcode->library); in PyInit__ssl() 6406 libcode++; in PyInit__ssl()
|