Lines Matching defs:pline
328 pline = " "
330 pline += " 0x%02x," % Functs[f][0][n]
331 if len(pline) > 72:
332 output.write(pline + "\n")
333 pline = " "
334 output.write(pline + " 0x%02x };\n\n" % Functs[f][0][255])
355 pline = "#define %s_ch(c)" % f
357 ntab = 4 - (len(pline)) / 8
363 pline = pline + just + "("
366 pline += " || \\\n\t\t\t\t "
370 pline += "((c) == 0x%x)" % rg[0]
374 pline += "((0x%x <= (c)) &&" % rg[0]
375 pline += " ((c) <= 0x%x))" % rg[1]
377 pline += " (0x%x <= (c))" % rg[0]
378 pline += ")\n"
379 header.write(pline)
389 pline = "#define %sQ(c)" % f
390 ntab = 4 - (len(pline)) / 8
396 header.write(pline + just + "(((c) < 0x100) ? \\\n\t\t\t\t ")
413 pline += " || \\\n\t\t\t\t "
416 pline = "\\\n\t\t\t\t("
418 pline += "((c) == 0x%x)" % rg[0]
420 pline += "((0x%x <= (c)) &&" % rg[0]
421 pline += " ((c) <= 0x%x))" % rg[1]
422 pline += "))\n\n"
423 header.write(pline)
443 pline = "static const xmlChSRange %s_srng[] = { " % f
445 pline += ", "
447 if len(pline) > 60:
448 output.write(pline + "\n")
449 pline = " "
450 pline += "{0x%x, 0x%x}" % (rg[0], rg[1])
454 output.write(pline + "};\n")
455 pline = "static const xmlChLRange %s_lrng[] = { " % f
457 pline += ", "
459 if len(pline) > 60:
460 output.write(pline + "\n")
461 pline = " "
462 pline += "{0x%x, 0x%x}" % (rg[0], rg[1])
463 output.write(pline + "};\n") # finish off last group
465 pline = "const xmlChRangeGroup %sGroup =\n\t{%d, %d, " % (f, numShort, numLong)
467 pline += "%s_srng" % f
469 pline += "(xmlChSRangePtr)0"
471 pline += ", %s_lrng" % f
473 pline += ", (xmlChLRangePtr)0"
475 output.write(pline + "};\n\n")