Lines Matching refs:code
29 # mkerrcodes2.awk source text consists of comments plus executable code
31 # We call these comments and executable code the "non-data" portions.
54 # msgidxof (code);
55 # A macro that maps code numbers to idx numbers. If a DEFAULT MESSAGE
58 # You can lookup the message with code CODE with:
59 # msgstr + msgidx[msgidxof (code)].
104 # Remember the error value and index of each error code.
105 code[msg] = $1;
112 print "#define errno_to_idx(code) (0 ? -1 \\";
115 skip = code[0];
116 start = code[0];
117 stop = code[0];
120 if (code[i] == stop + 1)
124 print " : ((code >= " start ") && (code <= " stop ")) ? (code - " \
126 skip += code[i] - stop - 1;
127 start = code[i];
128 stop = code[i];
131 print " : ((code >= " start ") && (code <= " stop ")) ? (code - " \