/dports/graphics/py-nwdiag/nwdiag-2.0.0/src/packetdiag/ |
H A D | builder.py | 44 item.number = last_item.number + last_item.colwidth 59 x = field.number % self.diagram.colwidth 60 if x + field.colwidth <= self.diagram.colwidth: 63 colwidth = self.diagram.colwidth - x 66 splitted.colwidth = colwidth 74 field.number += colwidth 75 field.colwidth -= colwidth 86 x = field.number % self.diagram.colwidth 87 y = field.number // self.diagram.colwidth 92 for rx in range(x, x + field.colwidth): [all …]
|
H A D | elements.py | 36 self.colwidth = 1 39 self.colwidth = 1 42 self.colwidth = int(end) - int(begin) + 1 44 if self.colwidth <= 0: 53 self.colwidth = int(value) 61 self.colwidth = 16
|
H A D | metrics.py | 29 self.colwidth = diagram.colwidth 38 self.spreadsheet.set_span_width(diagram.colwidth, span_width) 43 if n == self.colwidth: 51 if n * 2.0 % self.colwidth == 0: 53 elif n * 4.0 % self.colwidth == 0:
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/output_stream/src/c/ |
H A D | sciprint_full.c | 49 static int colwidth; in sciprint_full() local 59 colwidth = getConsoleWidth(); in sciprint_full() 61 split_s_buf = MALLOC(sizeof(char) * (colwidth + 1)); in sciprint_full() 85 if (lstr < colwidth) in sciprint_full() 91 strncpy(split_s_buf, s_buf + p_s, colwidth - 1); in sciprint_full() 92 split_s_buf[colwidth] = '\0'; in sciprint_full() 93 p_s = p_s + colwidth - 1; in sciprint_full() 96 while (p_s + colwidth - 1 < (int)lstr) in sciprint_full() 98 strncpy(split_s_buf, s_buf + p_s, colwidth - 1); in sciprint_full() 99 split_s_buf[colwidth] = '\0'; in sciprint_full() [all …]
|
/dports/math/py-mpmath/mpmath-1.2.1/demo/ |
H A D | pidigits.py | 16 def display_fraction(digits, skip=0, colwidth=10, columns=5): argument 17 perline = colwidth * columns 19 for linecount in range((len(digits)-skip) // (colwidth * columns)): 22 print(line[i*colwidth : (i+1)*colwidth], end=' ') 26 printed += colwidth*columns 27 rem = (len(digits)-skip) % (colwidth * columns) 32 s += buf[:colwidth].ljust(colwidth+1, " ") 33 buf = buf[colwidth:] 34 print(s + ":", printed + colwidth*columns) 63 display_fraction(d, skip, colwidth=10, columns=5)
|
/dports/databases/jdb/jdb-1.14/ |
H A D | dbcolneaten | 97 @colwidth = (0) x ($#colnames + 1); 106 $colwidth[$i] = $l if ($l > $colwidth[$i]); 119 $colwidth[$i] = $l if ($l > $colwidth[$i]); 134 $colwidth[$field_col] = $value; 136 $colwidth[$field_col] = $value if ($colwidth[$field_col] < $value); 138 $colwidth[$field_col] = $value if ($colwidth[$field_col] > $value); 151 $format .= "%-$colwidth[$i]s$outfs"; 152 $header_format .= "%-$colwidth[$i]s " . ($fs_code eq 'S' ? " " : "");
|
/dports/math/py-sympy/sympy-1.9/examples/advanced/ |
H A D | pidigits.py | 16 def display_fraction(digits, *, skip=0, colwidth=10, columns=5): argument 18 perline = colwidth * columns 20 for linecount in range((len(digits) - skip) // (colwidth * columns)): 23 print(line[i*colwidth: (i + 1)*colwidth],) 27 printed += colwidth*columns 28 rem = (len(digits) - skip) % (colwidth * columns) 33 s += buf[:colwidth].ljust(colwidth + 1, " ") 34 buf = buf[colwidth:] 35 print(s + ":", printed + colwidth*columns) 62 display_fraction(d, skip=skip, colwidth=10, columns=5)
|
/dports/print/pslib/pslib-examples-0.0.11/ |
H A D | fontsample.c | 30 float bottommargin, colwidth, rowheight, leftmargin; in main() local 35 colwidth = 25; in main() 86 PS_moveto(psdoc, leftmargin+i*colwidth, bottommargin); in main() 87 PS_lineto(psdoc, leftmargin+i*colwidth, bottommargin+16*rowheight); in main() 92 PS_lineto(psdoc, leftmargin+16*colwidth, bottommargin+j*rowheight); in main() 100 …PS_show_xy(psdoc, text, leftmargin+i*colwidth+colwidth/2-textwidth/2, bottommargin+16*rowheight+fo… in main() 113 PS_set_value(psdoc, "textx", leftmargin+i*colwidth+colwidth/2-textwidth/2); in main() 118 …PS_moveto(psdoc, leftmargin+i*colwidth+colwidth/2-textwidth/2, bottommargin+(15-j)*rowheight+rowhe… in main() 119 …PS_lineto(psdoc, leftmargin+i*colwidth+colwidth/2+textwidth/2, bottommargin+(15-j)*rowheight+rowhe… in main() 129 PS_set_value(psdoc, "textx", leftmargin+i*colwidth+2); in main() [all …]
|
H A D | glyphlist.c | 32 float bottommargin, colwidth, rowheight, leftmargin; in main() local 39 colwidth = 30; in main() 93 PS_moveto(psdoc, leftmargin+i*colwidth, bottommargin); in main() 94 PS_lineto(psdoc, leftmargin+i*colwidth, bottommargin+16*rowheight); in main() 99 PS_lineto(psdoc, leftmargin+16*colwidth, bottommargin+j*rowheight); in main() 107 …PS_show_xy(psdoc, text, leftmargin+i*colwidth+colwidth/2-textwidth/2, bottommargin+16*rowheight+fo… in main() 121 PS_set_value(psdoc, "textx", leftmargin+i*colwidth+colwidth/2-textwidth/2); in main() 124 …PS_moveto(psdoc, leftmargin+i*colwidth+colwidth/2-textwidth/2, bottommargin+(15-j)*rowheight+rowhe… in main() 125 …PS_lineto(psdoc, leftmargin+i*colwidth+colwidth/2+textwidth/2, bottommargin+(15-j)*rowheight+rowhe… in main() 136 PS_set_value(psdoc, "textx", leftmargin+i*colwidth+2); in main()
|
/dports/ftp/tnftpd/tnftpd-20200704/ls/ |
H A D | print.c | 158 colwidth = dp->maxlen; in printcol() 160 colwidth += dp->s_inode + 1; in printcol() 162 colwidth += dp->s_block + 1; in printcol() 164 colwidth += 1; in printcol() 166 colwidth += 1; in printcol() 204 while (chcnt++ < colwidth) in printcol() 215 int chcnt, col, colwidth; in printacol() local 218 colwidth = dp->maxlen; in printacol() 224 colwidth += 1; in printacol() 226 colwidth += 1; in printacol() [all …]
|
/dports/net/fspd/fsp-2.8.1b29/bsd_src/ |
H A D | print.c | 147 register int base, chcnt, cnt, col, colwidth; in printcol() local 150 colwidth = stats[0].lstat.st_maxlen; in printcol() 151 if (f_inode) colwidth += 6; in printcol() 152 if (f_size) colwidth += 5; in printcol() 153 if (f_type) colwidth += 1; in printcol() 155 colwidth = (colwidth + TAB) & ~(TAB - 1); in printcol() 156 if (termwidth < 2 * colwidth) { in printcol() 161 numcols = termwidth / colwidth; in printcol() 167 endcol = colwidth; in printcol() 175 endcol += colwidth; in printcol()
|
/dports/textproc/html2fo/html2fo/ |
H A D | table.c | 59 if (colwidth > -1.0f) in ProcessTagTableBefore() 78 if (colwidth > -1.0f) in ProcessTagTableBefore() 155 colwidth = 0.0f; in ProcessTagTableBefore() 316 colwidth = in ProcessTagTableBefore() 324 colwidth * in ProcessTagTableBefore() 401 colwidth = in ProcessTagTableBefore() 441 if (colwidth > 0.0f) in ProcessTagTableBefore() 442 colwidth = in ProcessTagTableBefore() 595 colwidth)) / (maxTableWidth - colwidth))); in ProcessTagTableBefore() 706 colwidth = 0.0f; in ProcessTagTableBefore() [all …]
|
/dports/net/fspclient/fspclient-0.93.1/bsd/ |
H A D | print.c | 94 int base, chcnt, cnt, col, colwidth; in printcol() local 97 colwidth = stats[0].lst_maxlen; in printcol() 99 colwidth += 6; in printcol() 101 colwidth += 5; in printcol() 103 colwidth += 1; in printcol() 105 colwidth = (colwidth + TAB) & ~(TAB - 1); in printcol() 106 if (termwidth < 2 * colwidth) { in printcol() 111 numcols = termwidth / colwidth; in printcol() 119 endcol = colwidth; in printcol() 128 endcol += colwidth; in printcol()
|
/dports/science/qwalk/mainline-1.0.1-300-g1b7e381/src/properties/ |
H A D | Average_density_matrix.cpp | 716 int colwidth=40; in write_summary() local 719 << setw(colwidth) << "up" << setw(colwidth) << "up err" in write_summary() 720 << setw(colwidth) << "down" << setw(colwidth) << "down err" in write_summary() 746 << setw(colwidth) << "upup" << setw(colwidth) << "upup err" in write_summary() 747 << setw(colwidth) << "updown" << setw(colwidth) << "updown err" in write_summary() 748 << setw(colwidth) << "downup" << setw(colwidth) << "downup err" in write_summary() 773 << setw(colwidth) << uu << setw(colwidth) << uu_err in write_summary() 774 << setw(colwidth) << ud << setw(colwidth) << ud_err in write_summary() 775 << setw(colwidth) << du << setw(colwidth) << du_err in write_summary() 776 << setw(colwidth) << dd << setw(colwidth) << dd_err in write_summary() [all …]
|
H A D | Average_ekt.cpp | 626 int colwidth=40; in write_summary() local 629 << setw(colwidth) << "up" << setw(colwidth) << "up err" in write_summary() 630 << setw(colwidth) << "down" << setw(colwidth) << "down err" in write_summary() 672 int colwidth=40; in write_summary() local 675 << setw(colwidth) << "up" << setw(colwidth) << "up err" in write_summary() 676 << setw(colwidth) << "down" << setw(colwidth) << "down err" in write_summary() 718 int colwidth=40; in write_summary() local 721 << setw(colwidth) << "up" << setw(colwidth) << "up err" in write_summary() 722 << setw(colwidth) << "down" << setw(colwidth) << "down err" in write_summary() 834 int colwidth=40; in jsonOutput() local [all …]
|
/dports/textproc/dsssl-docbook-modular/docbook-dsssl-1.79/html/ |
H A D | dbtable.dsl | 99 (define (cals-relative-colwidth? colwidth) 107 (define (cals-relative-colwidth colwidth) 140 (colwidth (colspec-colwidth colspec)) 141 (width (round (/ (colwidth-length colwidth) 1px)))) 145 (if (cals-relative-colwidth? colwidth) 146 (cell-relative-colwidth cell (cals-relative-colwidth colwidth)) 320 (colwidth (colspec-colwidth colspec))) 326 (if colwidth 328 (if (cals-relative-colwidth? colwidth) 329 (cell-relative-colwidth colspec (cals-relative-colwidth colwidth)) [all …]
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/core/tpl/ |
H A D | notes.tpl.php | 32 $colwidth = (isset($colwidth) ? $colwidth : (empty($cssclass) ? '25' : '')); variable 92 …order-col'.(empty($cssclass) ? '' : ' '.$cssclass).'"'.($colwidth ? ' style="width: '.$colwidth.'%… 103 …order-col'.(empty($cssclass) ? '' : ' '.$cssclass).'"'.($colwidth ? ' style="width: '.$colwidth.'%…
|
/dports/graphics/gimp-refocus-plugin/refocus-0.9.0/gtk-doc/sgml/ |
H A D | matrix.sgml | 67 <colspec colwidth="2*"> 68 <colspec colwidth="8*"> 91 <colspec colwidth="2*"> 92 <colspec colwidth="8*"> 115 <colspec colwidth="2*"> 116 <colspec colwidth="8*"> 142 <colspec colwidth="2*"> 143 <colspec colwidth="8*"> 175 <colspec colwidth="2*"> 176 <colspec colwidth="8*"> [all …]
|
/dports/textproc/mdocml/mandoc-1.14.5/ |
H A D | out.c | 123 size_t *colwidth; in tblcalc() local 245 colwidth = mandoc_reallocarray(NULL, maxcol + 1, sizeof(*colwidth)); in tblcalc() 254 colwidth[icol] = SIZE_MAX; in tblcalc() 266 if (min1 > colwidth[icol]) { in tblcalc() 268 min1 = colwidth[icol]; in tblcalc() 270 min2 > colwidth[icol]) in tblcalc() 271 min2 = colwidth[icol]; in tblcalc() 294 if (colwidth[icol] == min1 || in tblcalc() 297 colwidth[icol] = width; in tblcalc() 325 if (colwidth[icol] == wanted) in tblcalc() [all …]
|
/dports/textproc/hs-pandoc/pandoc-2.14.2/test/ |
H A D | tables.docbook4 | 228 <colspec colwidth="15*" align="center" /> 229 <colspec colwidth="13*" align="left" /> 230 <colspec colwidth="16*" align="right" /> 231 <colspec colwidth="35*" align="left" /> 285 <colspec colwidth="15*" align="center" /> 286 <colspec colwidth="13*" align="left" /> 287 <colspec colwidth="16*" align="right" /> 288 <colspec colwidth="35*" align="left" /> 398 <colspec colwidth="13*" align="left" /> 399 <colspec colwidth="16*" align="right" /> [all …]
|
H A D | tables.docbook5 | 228 <colspec colwidth="15*" align="center" /> 229 <colspec colwidth="13*" align="left" /> 230 <colspec colwidth="16*" align="right" /> 231 <colspec colwidth="35*" align="left" /> 285 <colspec colwidth="15*" align="center" /> 286 <colspec colwidth="13*" align="left" /> 287 <colspec colwidth="16*" align="right" /> 288 <colspec colwidth="35*" align="left" /> 398 <colspec colwidth="13*" align="left" /> 399 <colspec colwidth="16*" align="right" /> [all …]
|
/dports/textproc/hs-pandoc-crossref/pandoc-crossref-0.3.12.0/_cabal_deps/pandoc-2.11.4/test/ |
H A D | tables.docbook4 | 228 <colspec colwidth="15*" align="center" /> 229 <colspec colwidth="13*" align="left" /> 230 <colspec colwidth="16*" align="right" /> 231 <colspec colwidth="35*" align="left" /> 285 <colspec colwidth="15*" align="center" /> 286 <colspec colwidth="13*" align="left" /> 287 <colspec colwidth="16*" align="right" /> 288 <colspec colwidth="35*" align="left" /> 398 <colspec colwidth="13*" align="left" /> 399 <colspec colwidth="16*" align="right" /> [all …]
|
H A D | tables.docbook5 | 228 <colspec colwidth="15*" align="center" /> 229 <colspec colwidth="13*" align="left" /> 230 <colspec colwidth="16*" align="right" /> 231 <colspec colwidth="35*" align="left" /> 285 <colspec colwidth="15*" align="center" /> 286 <colspec colwidth="13*" align="left" /> 287 <colspec colwidth="16*" align="right" /> 288 <colspec colwidth="35*" align="left" /> 398 <colspec colwidth="13*" align="left" /> 399 <colspec colwidth="16*" align="right" /> [all …]
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/core/tpl/ |
H A D | notes.tpl.php | 32 $colwidth = (isset($colwidth) ? $colwidth : (empty($cssclass) ? '25' : '')); variable 107 …order-col'.(empty($cssclass) ? '' : ' '.$cssclass).'"'.($colwidth ? ' style="width: '.$colwidth.'%… 118 …order-col'.(empty($cssclass) ? '' : ' '.$cssclass).'"'.($colwidth ? ' style="width: '.$colwidth.'%…
|
/dports/math/gap/gap-4.11.0/pkg/crisp-1.4.5/tst/ |
H A D | timing_test.g | 148 colwidth := [-12,8,8]; 149 Print(String("group", colwidth[1])); 150 Print(String("logsize", colwidth[2])); 151 Print(String("complen", colwidth[3])); 157 colwidth[col] := 8; 159 colwidth[col] := w+1; 166 colwidth[col] := 8; 168 colwidth[col] := w+1; 175 Append(colwidth, [16, 16]); 191 Print(UTF8String(name,colwidth[1])); [all …]
|