Lines Matching refs:libcode
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()):
84 w(' {"%s", %s},' % (mnemo, libcode))
91 for errcode, (libcode, name, num) in sorted(codes.items()):
93 w(' {"%s", %s, %s},' % (name, libcode, errcode))
95 w(' {"%s", %s, %d},' % (name, lib_codes[libcode], num))