| /openbsd-src/gnu/usr.bin/perl/cpan/Pod-Perldoc/t/man/ |
| H A D | _get_columns.t | 17 our @columns = qw( EXPECTED IS_LINUX MANWIDTH MANWIDTH_EXPECTED STTY STTY_EXPECTED ); 18 foreach my $i ( 0 .. $#columns ) { 20 *{"$columns[$i]"} = sub () { $i }; 26 [ 62, 1, undef, 0, "; 62 columns;", 62 ], 27 [ 63, 1, undef, 0, "columns 63", 63 ], 28 [ 57, 1, 57, 57, "columns 63", 63 ], 32 [ 62, 0, undef, 0, "; 62 columns;", 62 ], 33 [ 63, 0, undef, 0, "columns 63", 63 ], 34 [ 57, 0, 57, 57, "columns 63", 63 ], 38 [ 62, 1, -1, 0, "; 62 columns;", 62 ], [all …]
|
| /openbsd-src/games/bcd/ |
| H A D | bcd.c | 116 int columns = 48; variable 135 columns = 80; in main() 177 size_t amt = len > columns ? columns : len; in printcard() 199 for (i = 1; i <= columns; ++i) in printonecard() 214 while (i++ <= columns) in printonecard() 233 while (i++ < columns) in printonecard() 241 for (i = 1; i <= columns; i++) in printonecard() 271 if (strlen(lines[i]) < columns + 2) in decode() 273 if (lines[i][0] != '|' || lines[i][columns + 1] != '|') in decode() 275 memmove(&lines[i][0], &lines[i][1], columns); in decode() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Text-Tabs/lib/Text/ |
| H A D | Wrap.pm | 10 our @EXPORT_OK = qw( $columns $break $huge ); 19 our $columns = 76; # <= screen width 40 my $nll = $columns - _xlen(expand($xp)) - 1; 43 warnings::warnif "Increasing \$Text::Wrap::columns from $columns to $nc to accommodate length of subsequent tab"; 44 $columns = $nc; 47 my $ll = $columns - _xlen(expand($ip)) - 1; 73 } elsif ($columns < 2) { 74 warnings::warnif "Increasing \$Text::Wrap::columns from $columns t [all...] |
| /openbsd-src/regress/usr.bin/mandoc/tbl/data/ |
| H A D | block_width.out_ascii | 15 two columns: 23 three columns: 31 four columns: 39 five columns: 47 six columns: 55 seven columns: 63 eight columns:
|
| /openbsd-src/gnu/usr.bin/perl/cpan/JSON-PP/t/ |
| H A D | 115_tie_ixhash.t | 17 my %columns; 18 tie %columns, 'Tie::IxHash'; 20 %columns = ( 31 my $js = $json->encode(\%columns); 34 $js = $json->pretty->encode(\%columns);
|
| /openbsd-src/usr.sbin/lpr/lpc/ |
| H A D | lpc.c | 226 int columns, width = 0, lines; in help() local 236 columns = 80 / width; in help() 237 if (columns == 0) in help() 238 columns = 1; in help() 239 lines = (NCMDS + columns - 1) / columns; in help() 241 for (j = 0; j < columns; j++) { in help()
|
| /openbsd-src/usr.sbin/crunchgen/ |
| H A D | crunched_main.c | 87 int columns = 0, len; in crunched_usage() local 95 if (columns + len < 80) in crunched_usage() 96 columns += len; in crunched_usage() 99 columns = len; in crunched_usage()
|
| /openbsd-src/gnu/llvm/clang/docs/ |
| H A D | MatrixTypes.rst | 24 number of *rows*, and a constant number of *columns*. Matrix types with the same 25 element type, rows, and columns are the same type. A value of a matrix type 26 includes storage for ``rows * columns`` values of the *element type*. The 29 The maximum of the product of the number of rows and columns is 50 number of rows, and the second specifies the number of columns. The underlying 56 same element type, number of rows, and number of columns. 67 rows and columns are the same and the value's elements can be converted to the 75 If the number of rows or columns differ between the original and resulting 96 of ``M``, and let ``R`` and ``C`` be the number of rows and columns in ``M`` 111 ``postfix-expression [expression]`` to access columns of a matrix. We think [all …]
|
| /openbsd-src/usr.bin/tmux/ |
| H A D | layout-set.c | 590 u_int i, j, columns, rows; 599 /* How many rows and columns are wanted? */ 600 rows = columns = 1; 601 while (rows * columns < n) { 603 if (rows * columns < n) 604 columns++; 608 width = (w->sx - (columns - 1)) / columns; 618 sx = ((width + 1) * columns) - 1; 640 if (n - (j * columns) 386 u_int i, j, columns, rows; layout_set_tiled() local [all...] |
| /openbsd-src/gnu/llvm/clang/docs/tools/ |
| H A D | dump_format_help.py | 20 def indent(text, columns, indent_first_line=True): argument 21 indent_str = ' ' * columns 49 def validate(text, columns): argument 51 if len(line) > columns:
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Text-Tabs/t/ |
| H A D | belg4mit.t | 10 $Text::Wrap::columns = 1; 17 ok( defined $w && $w =~ /^Increasing \$Text::Wrap::columns from 1 to 2 at ${\quotemeta __FILE__} li… 18 'warning about increase of $columns' );
|
| H A D | dandv.t | 10 $Text::Wrap::columns = 4; 15 ok( defined $w && $w =~ /^Increasing \$Text::Wrap::columns from 4 to 8 to accommodate length of sub… 16 'warning about increase of $columns' );
|
| /openbsd-src/regress/usr.bin/mandoc/mdoc/Bl/ |
| H A D | column.out_lint | 2 mandoc: column.in:73:2: WARNING: wrong number of cells: 2 columns, 1 cells 4 mandoc: column.in:77:2: WARNING: wrong number of cells: 2 columns, 4 cells 5 mandoc: column.in:78:2: WARNING: wrong number of cells: 2 columns, 5 cells
|
| /openbsd-src/usr.bin/vi/cl/ |
| H A D | cl_read.c | 49 size_t lines, columns; in cl_event() local 77 if (cl_ssize(sp, 1, &lines, &columns, &changed)) in cl_event() 80 (void)cl_resize(sp, lines, columns); in cl_event() 277 cl_resize(SCR *sp, size_t lines, size_t columns) in cl_resize() argument 292 (void)snprintf(b1, sizeof(b1), "columns=%lu", (u_long)columns); in cl_resize()
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/binutils/ |
| H A D | bucomm.c | 311 int columns; in display_target_tables() local 315 columns = 0; in display_target_tables() 318 columns = atoi (colum); in display_target_tables() 319 if (columns == 0) in display_target_tables() 320 columns = 80; in display_target_tables() 329 while (wid < columns && bfd_target_vector[t] != NULL) in display_target_tables() 334 if (newwid >= columns) in display_target_tables()
|
| /openbsd-src/gnu/usr.bin/binutils/binutils/ |
| H A D | bucomm.c | 310 int columns; in display_target_tables() local 314 columns = 0; in display_target_tables() 317 columns = atoi (colum); in display_target_tables() 318 if (columns == 0) in display_target_tables() 319 columns = 80; in display_target_tables() 328 while (wid < columns && bfd_target_vector[t] != NULL) in display_target_tables() 333 if (newwid >= columns) in display_target_tables()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPT.cpp | 501 SmallVector<StringRef, 2> columns; in GetCPUInfoForLiveProcess() local 502 line.split(columns, StringRef(":"), -1, false); in GetCPUInfoForLiveProcess() 504 if (columns.size() < 2) in GetCPUInfoForLiveProcess() 507 columns[1] = columns[1].trim(" "); in GetCPUInfoForLiveProcess() 508 if (columns[0].contains("cpu family") && in GetCPUInfoForLiveProcess() 509 columns[1].getAsInteger(10, cpu_family)) in GetCPUInfoForLiveProcess() 512 else if (columns[0].contains("model") && columns[1].getAsInteger(10, model)) in GetCPUInfoForLiveProcess() 515 else if (columns[0].contains("stepping") && in GetCPUInfoForLiveProcess() 516 columns[1].getAsInteger(10, stepping)) in GetCPUInfoForLiveProcess() 519 else if (columns[0].contains("vendor_id")) { in GetCPUInfoForLiveProcess() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 209 int columns = 0; in byteToColumn() local 212 out[i] = columns; in byteToColumn() 215 columns += llvm::sys::locale::columnWidth(res.first); in byteToColumn() 217 out.back() = columns; in byteToColumn() 241 int columns = 0; in columnToByte() local 244 out.resize(columns+1, -1); in columnToByte() 248 columns += llvm::sys::locale::columnWidth(res.first); in columnToByte() 250 out.resize(columns+1, -1); in columnToByte() 269 int columns() const { return m_byteToColumn.back(); } in columns() function 329 unsigned MaxColumns = std::max(static_cast<unsigned>(map.columns()), in selectInterestingSourceRegion() [all …]
|
| /openbsd-src/regress/usr.bin/mandoc/man/DT/ |
| H A D | basic.out_ascii | 7 Default tabs are every five columns: 11 Custom tabs: column 6, then every 8 columns:
|
| /openbsd-src/bin/csh/ |
| H A D | file.c | 476 int i, rows, r, c, maxwidth = 0, columns; in print_by_column() local 483 columns = win.ws_col / maxwidth; in print_by_column() 484 if (columns == 0) in print_by_column() 485 columns = 1; in print_by_column() 486 rows = (count + (columns - 1)) / columns; in print_by_column() 488 for (c = 0; c < columns; c++) { in print_by_column() 495 if (c < columns - 1) { /* last column? */ in print_by_column()
|
| /openbsd-src/sbin/restore/ |
| H A D | interactive.c | 645 int i, j, w, precision = 0, columns, lines; in formatf() local 672 columns = 81 / width; in formatf() 673 if (columns == 0) in formatf() 674 columns = 1; in formatf() 675 lines = (nentry + columns - 1) / columns; in formatf() 677 for (j = 0; j < columns; j++) { in formatf()
|
| /openbsd-src/usr.bin/tic/ |
| H A D | reset_cmd.c | 521 need_flush |= sent_string(TIPARM_2(set_lr_margin, 0, columns - 1)); in send_init_strings() 529 columns - 1)); in send_init_strings() 538 columns - 1)); in send_init_strings() 540 for (i = 0; i < columns - 1; i++) { in send_init_strings() 549 need_flush |= reset_tabstops(columns); in send_init_strings()
|
| /openbsd-src/share/locale/ctype/ |
| H A D | gen_ctype_utf8.pl | 245 my $columns = codepoint_columns( $code, $charinfo ); 246 push @{ $info->{"SWIDTH$columns"} }, $code if defined $columns;
|
| /openbsd-src/lib/libcurses/tinfo/ |
| H A D | lib_setup.c | 318 T(("screen size: terminfo lines = %d columns = %d", lines, columns)); in _nc_get_screensize() 321 *colp = (int) columns; in _nc_get_screensize() 401 *colp = (int) columns; in _nc_get_screensize() 417 columns = (NCURSES_INT2) (*colp); in _nc_get_screensize() 422 OldNumber(termp, columns) = (short) (*colp); in _nc_get_screensize() 461 int old_cols = columns; in _nc_update_screensize()
|
| /openbsd-src/usr.bin/ssh/ |
| H A D | sftp.c | 832 u_int c = 1, colspace = 0, columns = 1; in do_ls_dir() local 857 columns = width / (m + 2); in do_ls_dir() 858 columns = MAXIMUM(columns, 1); in do_ls_dir() 859 colspace = width / columns; in do_ls_dir() 899 if (c >= columns) { in do_ls_dir() 951 u_int colspace = 0, columns = 1, m = 0, width = 80; in do_globbed_ls() local 991 columns = width / (m + 2); in do_globbed_ls() 992 columns = MAXIMUM(columns, 1); in do_globbed_ls() 993 colspace = width / columns; in do_globbed_ls() 1032 if (c >= columns) { in do_globbed_ls() [all …]
|