Home
last modified time | relevance | path

Searched refs:colwidth (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Tools/scripts/
Dbyext.py85 colwidth = {}
86 colwidth["ext"] = max(map(len, exts))
101 colwidth[col] = cw
110 print("%*s" % (colwidth[col], col), end=' ')
117 print("%*s" % (colwidth[col], value), end=' ')
/third_party/python/Lib/
Dcalendar.py375 colwidth = (w + 1) * 7 - 1
378 a(repr(theyear).center(colwidth*m+c*(m-1)).rstrip())
385 names = (self.formatmonthname(theyear, k, colwidth, False)
387 a(formatstring(names, colwidth, c).rstrip())
390 a(formatstring(headers, colwidth, c).rstrip())
401 a(formatstring(weeks, colwidth, c).rstrip())
627 def format(cols, colwidth=_colwidth, spacing=_spacing): argument
629 print(formatstring(cols, colwidth, spacing))
632 def formatstring(cols, colwidth=_colwidth, spacing=_spacing): argument
635 return spacing.join(c.center(colwidth) for c in cols)
Dcmd.py371 colwidth = 0
377 colwidth = max(colwidth, len(x))
378 colwidths.append(colwidth)
379 totwidth += colwidth + 2
/third_party/mesa3d/src/gallium/tools/trace/
Dpytracediff.py360 colwidth = int((options.output_width - 3) / 2) variable
361 colfmt = "{}{:"+ str(colwidth) +"s}{} {}{}{} {}{:"+ str(colwidth) +"s}{}"
459 ansi1, pkk_format_line(line1, indent, colwidth), ansiend,
461 ansi2, pkk_format_line(line2, indent, colwidth), ansiend).
/third_party/python/Tools/demo/
Dspreadsheet.py155 colwidth = [1] * width
160 colwidth[x] = max(colwidth[x], len(text))
164 colwidth[0] = max(colwidth[0], len(text))
182 colwidth[x] = max(colwidth[x], len(text))
188 sep += "-"*colwidth[x]
194 text = align2action[alignment](text, colwidth[x])
/third_party/python/Doc/tools/extensions/
Dpyspecific.py562 nodes.colspec(colwidth=30),
563 nodes.colspec(colwidth=55),
564 nodes.colspec(colwidth=15),
/third_party/elfutils/doc/
Delfutils.sgml215 <colspec colwidth="90pt">
216 <colspec colwidth="110pt">
/third_party/python/Lib/test/
Dtest_calendar.py489 calendar.format(["1", "2", "3"], colwidth=3, spacing=1)
/third_party/skia/third_party/externals/brotli/research/
Dbrotlidump.py426 colwidth = leftColWidth+rightColWidth
427 columns = 81//(colwidth+2)
/third_party/pcre2/pcre2/src/
Dpcre2test.c8582 int colwidth = 40; in display_properties()
8659 while (x++ < colwidth) printf(" "); in display_properties()