Lines Matching refs:gen

20 #define gen(n, num, nam, msg)	PDC_E_##nam = num,  macro
22 #define gen(n, num, nam, msg) { n, num, msg, (const char *) 0 }, macro
32 gen(1, 1000, MEM_OUT, "Out of memory in function $1")
34 gen(1, 1008, IO_ILLFILENAME, "Bad file name '$1'")
36 gen(4, 1009, IO_RDOPEN_CODETEXT,
39 gen(2, 1010, IO_RDOPEN, "Couldn't open $1file '$2' for reading")
41 gen(3, 1011, IO_RDOPEN_CODE,
44 gen(2, 1012, IO_WROPEN, "Couldn't open $1file '$2' for writing")
46 gen(3, 1013, IO_WROPEN_CODE,
49 gen(0, 1014, IO_NOWRITE, "Couldn't write output")
51 gen(4, 1015, IO_WROPEN_CODETEXT,
54 gen(2, 1016, IO_RDOPEN_NF,
57 gen(2, 1017, IO_RDOPEN_BC,
60 gen(2, 1018, IO_WROPEN_NF,
63 gen(2, 1019, IO_WROPEN_BC,
66 gen(2, 1020, IO_RDOPEN_PD,
69 gen(2, 1022, IO_WROPEN_PD,
72 gen(2, 1024, IO_RDOPEN_TM,
75 gen(2, 1026, IO_WROPEN_TM,
78 gen(2, 1028, IO_RDOPEN_ID,
81 gen(2, 1030, IO_WROPEN_ID,
84 gen(2, 1032, IO_WROPEN_AE,
87 gen(2, 1034, IO_WROPEN_TL,
90 gen(2, 1036, IO_WROPEN_NS,
93 gen(2, 1037, IO_RDOPEN_IS,
96 gen(2, 1038, IO_WROPEN_IS,
99 gen(2, 1040, IO_WROPEN_NC,
102 gen(2, 1042, IO_WROPEN_NP,
105 gen(2, 1044, IO_RDOPEN_SV,
108 gen(2, 1046, IO_WROPEN_SV,
111 gen(0, 1048, IO_UNSUPP_UNINAME,
114 gen(0, 1049, IO_UNSUPP_PDFUNINAME,
117 gen(1, 1050, IO_COMPRESS, "Compression error ($1)")
119 gen(0, 1052, IO_NOBUFFER, "Don't fetch buffer contents when writing to file")
121 gen(2, 1054, IO_BADFORMAT, "'$1' does not appear to be a $2 file")
123 gen(2, 1055, IO_WRITE,
126 gen(1, 1056, IO_READ, "Error reading data from file '$1'")
128 gen(3, 1057, IO_WRITE_CODETEXT,
131 gen(3, 1058, IO_ILLSYNTAX, "$1file '$2': Syntax error in line $3")
133 gen(1, 1060, PVF_NAMEEXISTS,
136 gen(2, 1062, IO_FILE_EMPTY, "$1file '$2' is empty")
138 gen(2, 1064, IO_RDOPEN_QU,
141 gen(2, 1066, IO_WROPEN_QU,
144 gen(1, 1068, IO_TOOLONG_FULLNAME,
148 gen(2, 1080, IO_TOOFEW_REQFILEHDLS,
151 gen(2, 1081, IO_TOOMANY_REQFILEHDLS,
159 gen(1, 1100, ILLARG_EMPTY, "Parameter '$1' is empty")
161 gen(2, 1101, ILLARG_FLOAT_ZERO,
168 gen(2, 1104, ILLARG_BOOL, "Boolean parameter '$1' has bad value '$2'")
170 gen(2, 1106, ILLARG_INT, "Integer parameter '$1' has bad value $2")
172 gen(3, 1107, ILLARG_FLOAT_TOOSMALL,
175 gen(2, 1108, ILLARG_FLOAT, "Floating-point parameter '$1' has bad value $2")
177 gen(3, 1109, ILLARG_FLOAT_TOOLARGE,
180 gen(2, 1110, ILLARG_STRING, "String parameter '$1' has bad value '$2'")
182 gen(1, 1111, ILLARG_FLOAT_NAN,
189 gen(2, 1114, ILLARG_MATRIX, "Matrix [$1] is degenerated")
191 gen(2, 1116, ILLARG_TOOLONG,
194 gen(2, 1117, ILLARG_STRINGLEN,
197 gen(2, 1118, ILLARG_HANDLE,
204 gen(1, 1122, ILLARG_LANG_CODE, "Unsupported language code '$1'")
206 gen(2, 1124, ILLARG_TOOMANY, "Too many '$1' parameters (maximum $2)")
213 gen(0, 1200, PAR_EMPTYKEY, "Empty key")
215 gen(1, 1202, PAR_UNKNOWNKEY, "Unknown key '$1'")
217 gen(0, 1204, PAR_EMPTYVALUE, "Empty parameter value")
219 gen(2, 1206, PAR_ILLPARAM, "Bad parameter '$1' for key '$2'")
221 gen(2, 1208, PAR_ILLVALUE, "Bad value $1 for key '$2'")
223 gen(2, 1210, PAR_SCOPE_GET, "Can't get parameter '$1' in scope '$2'")
225 gen(2, 1212, PAR_SCOPE_SET, "Can't set parameter '$1' in scope '$2'")
227 gen(2, 1214, PAR_VERSION, "Parameter '$1' requires PDF $2")
229 gen(1, 1216, PAR_ILLKEY, "Illegal attempt to set parameter '$1'")
231 gen(1, 1217, RES_BADCAT, "Bad resource category '$1'")
233 gen(2, 1218, RES_BADRES, "Bad resource specification '$1' for category '$2'")
235 gen(3, 1219, RES_BADRES2,
238 gen(1, 1220, PAR_UNSUPPKEY, "Unknown or unsupported key '$1'")
240 gen(1, 1250, PAR_ILLSECT, "Illegal section '$1'")
242 gen(1, 1260, PAR_NODATA, "No data supplied ($1)")
251 gen(1, 1400, OPT_UNKNOWNKEY, "Unknown option '$1'")
253 gen(2, 1402, OPT_TOOFEWVALUES, "Option '$1' has too few values (< $2)")
255 gen(2, 1404, OPT_TOOMANYVALUES, "Option '$1' has too many values (> $2)")
257 gen(1, 1406, OPT_NOVALUES, "Option '$1' doesn't have a value")
259 gen(2, 1408, OPT_ILLBOOLEAN, "Option '$1' has bad boolean value '$2'")
261 gen(2, 1410, OPT_ILLINTEGER, "Option '$1' has bad integer value '$2'")
263 gen(2, 1412, OPT_ILLNUMBER, "Option '$1' has bad number value '$2'")
265 gen(2, 1414, OPT_ILLKEYWORD, "Option '$1' has bad keyword '$2'")
267 gen(2, 1415, OPT_ILLCHAR,
270 gen(3, 1416, OPT_TOOSMALLVAL,
273 gen(2, 1417, OPT_TOOSMALLPERCVAL,
276 gen(3, 1418, OPT_TOOBIGVAL,
279 gen(2, 1419, OPT_TOOBIGPERCVAL,
282 gen(2, 1420, OPT_ZEROVAL, "Option '$1' has bad value $2")
284 gen(3, 1422, OPT_TOOSHORTSTR,
287 gen(3, 1424, OPT_TOOLONGSTR,
290 gen(2, 1426, OPT_ILLSPACES,
293 gen(1, 1428, OPT_NOTFOUND, "Required option '$1' is missing")
295 gen(1, 1430, OPT_IGNORED, "Option '$1' ignored")
297 gen(2, 1432, OPT_VERSION, "Option '$1' is not supported in PDF $2")
299 gen(3, 1434, OPT_ILLHANDLE, "Option '$1' has bad $3 handle $2")
301 gen(2, 1436, OPT_IGNORE,
304 gen(1, 1438, OPT_UNSUPP, "Option '$1' not supported in PDFlib Lite")
306 gen(1, 1439, OPT_UNSUPP_CONFIG,
309 gen(1, 1440, OPT_NOTBAL, "Braces aren't balanced in option list '$1'")
311 gen(1, 1442, OPT_ODDNUM, "Option '$1' has odd number of values")
313 gen(1, 1444, OPT_EVENNUM, "Option '$1' has even number of values")
315 gen(1, 1446, OPT_ILLCOMB, "Option '$1' contains a bad combination of keywords")
317 gen(1, 1448, OPT_ILL7BITASCII, "Option '$1' contains bad 7-bit ASCII string")
319 gen(2, 1450, OPT_COMBINE, "Option '$1' must not be combined with option '$2'")
321 gen(2, 1452, OPT_ILLBOX, "Option '$1' has bad box '$2'")
323 gen(2, 1454, OPT_ILLEXP, "Option '$1' has bad expression '$2'")
325 gen(1, 1456, OPT_TOOMANYPERCVALS,
328 gen(2, 1458, OPT_ILLPOLYLINE,
336 gen(0, 1500, CONV_ILLUTF16, "Invalid UTF-16 string (odd byte count)")
338 gen(2, 1501, CONV_ILLUTF16SUR, "Invalid UTF-16 surrogate pair <U+$1,U+$2>")
340 gen(0, 1502, CONV_MEMOVERFLOW, "Out of memory in UTF string conversion")
342 gen(0, 1503, CONV_ILLUTF32,
345 gen(1, 1504, CONV_ILLUTF, "Invalid UTF-$1 string")
347 gen(1, 1505, CONV_ILLUTF32CHAR, "Invalid UTF-32 character U+$1")
349 gen(1, 1506, CONV_ILL_MBTEXTSTRING,
352 gen(2, 1507, CONV_ILLUTF8SEQU,
355 gen(1, 1508, CONV_UNSUPP_MBTEXTFORM,
358 gen(0, 1510, CONV_LIST_MEMOVERFLOW,
361 gen(1, 1520, CONV_CHARREF_TOOLONG,
364 gen(1, 1521, CONV_HTML_ILLCODE,
367 gen(1, 1522, CONV_HTML_ILLNAME,
370 gen(1, 1523, CONV_CHARREF_MISSDELIMIT,
373 gen(1, 1524, CONV_CHARREF_UNKNOWN,
376 gen(1, 1525, CONV_CHARREF_NOTUNIQUE,
379 gen(2, 1550, ENC_TOOLONG, "Encoding name '$1' too long (max. $2)")
381 gen(2, 1551, ENC_BADLINE, "Syntax error in encoding file '$1' (line '$2')")
383 gen(1, 1552, ENC_NOTFOUND, "Couldn't find encoding '$1'")
385 gen(2, 1554, ENC_NOTDEF_UNICODE, "Unicode U+$1 not defined in encoding '$2'")
387 gen(2, 1556, ENC_NOTDEF_CODE, "Code $1 has no Unicode value in encoding '$2'")
389 gen(1, 1558, ENC_UNSUPP_LANG,
392 gen(2, 1570, GLL_BADLINE, "Syntax error in glyph list file '$1' (line '$2')")
394 gen(2, 1572, CDL_BADLINE, "Syntax error in code list file '$1' (line '$2')")
396 gen(1, 1574, STR_ILL_ESCSEQ, "Illegal escape sequence '$1'")
398 gen(1, 1576, STR_ILL_UNIESCSEQ,
414 gen(0, 1902, INT_XSTACK, "Exception stack underflow")
416 gen(1, 1904, INT_UNUSEDOBJ, "Object $1 allocated but not used")
418 gen(1, 1906, INT_FLOATTOOLARGE, "Floating point number $1 too large for PDF")
420 gen(0, 1907, INT_ILLFLOAT, "Bad floating point number for PDF")
422 gen(2, 1908, INT_BADFORMAT, "Unknown vsprintf() format '$1' ($2)")
424 gen(0, 1909, INT_FORMOVERFLOW, "Buffer overflow in formatting function")
426 gen(1, 1910, INT_ALLOC0,
433 gen(1, 1914, INT_INVMATRIX, "Matrix [$1] not invertible")
435 gen(1, 1916, INT_REALLOC_TMP, "Illegal call to realloc_tmp() in function $1")
437 gen(0, 1918, INT_FREE_TMP, "Illegal call to free_tmp()")
439 gen(2, 1920, INT_ILLSWITCH, "Unexpected switch value $1 in function $2")
441 gen(2, 1922, INT_ARRIDX, "Illegal array index $1 in function $2")
443 gen(1, 1924, INT_ILLARG, "Invalid argument(s) in function $1")
445 gen(2, 1926, INT_ASSERT,
448 gen(1, 1928, INT_STACK_UNDER, "Stack underflow in function $1")
450 gen(0, 1930, INT_TOOMUCH_SARE, "Too many save/restore operations")
452 gen(1, 1932, INT_TOOMUCH_INDOBJS, "Too many indirect objects (> $1)")
454 gen(1, 1934, INT_TOOLONG_TEXTSTR, "Text string too long (> $1)")
456 gen(1, 1940, INT_BADERRNO,
460 gen(1, 1950, INT_LONGNAME_MISSING, "Long name is missing at index $1")
462 gen(1, 1970, INT_ILLDOCTYPE, "Illegal document type '$1'")
467 #undef gen