Lines Matching refs:libcode
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()):
72 w(' {"%s", %s},' % (mnemo, libcode))
78 for errcode, (libcode, name, num) in sorted(codes.items()):
80 w(' {"%s", %s, %s},' % (name, libcode, errcode))
82 w(' {"%s", %s, %d},' % (name, libcode, num))