/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_v.c | 140 if (columns != jwin.ws_col || lines != jwin.ws_row) 157 columns = jwin.ws_col; in setsize() 168 columns = envcolumns; in setsize() 173 jwin.ws_col = columns; in setsize() 187 if (columns <= 4) in setsize() 188 columns = 1000; in setsize() 245 columns = WCOLS; in oop() 290 columns = OCOLUMNS; in ovend() 435 WCOLS = columns; in setwind() 504 OCOLUMNS = columns; in vok()
|
H A D | ex_put.c | 332 destline += destcol / columns; in flush1() 350 destline += destcol / columns + 1; in flush1() 351 if (destcol != 0 && destcol % columns == 0) in flush1() 364 if (auto_right_margin == 0 && outcol >= columns) in flush1() 366 if((destcol % columns) + length - 1 >= columns) { in flush1() 374 fillercnt = columns - in flush1() 375 (destcol % columns); in flush1() 399 if (eat_newline_glitch && outcol % columns == 0) in flush1() 447 if (destcol > columns - 1) { in fgoto() 448 destline += destcol / columns; in fgoto() [all …]
|
H A D | ex_tty.c | 120 … lines %d, columns %d, clear_screen '%s', cursor_address '%s'\n", lines, columns, clear_screen, cu… in setterm() 230 if (columns <= 4) in setterm() 231 columns = 1000; in setterm()
|
/illumos-gate/usr/src/test/zfs-tests/include/ |
H A D | zpool_script.shlib | 17 # Default number of columns that get printed without -c 33 log_fail "'$wholecmd' created no new columns" 36 # Count the number of columns for each vdev. Each script should produce 39 # zpool iostat -v output is 7 columns, so if the script ran correctly 47 log_note "'$wholecmd' passed ($newcols new columns)"
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | mvcur.c | 252 (nc < columns-init_tabs || auto_left_margin || in simp_col() 265 if (eat_newline_glitch && columns <= nc + tabstop) in simp_col() 266 tabstop = columns - nc - 1; in simp_col() 373 newcol %= columns; in __m_mvcur() 380 if (newrow == lines-1 && newcol == columns-1) { in __m_mvcur() 387 oldcol %= columns; in __m_mvcur() 476 cost(column_address, __MOVE_COLUMN, columns-1, 0); in __m_mvcur_cost() 477 cost(parm_left_cursor, __MOVE_N_LEFT, columns-1, 0); in __m_mvcur_cost() 478 cost(parm_right_cursor, __MOVE_N_RIGHT, columns-1, 0); in __m_mvcur_cost() 479 cost(cursor_address, __MOVE_ROW_COLUMN, lines-1, columns-1); in __m_mvcur_cost()
|
H A D | newterm.c | 298 if ((sp->_curscr = newwin(lines, columns, 0, 0)) == NULL) in newterm() 301 if ((sp->_newscr = newwin(lines, columns, 0, 0)) == NULL) in newterm() 387 (void) (*rip.line[i].init)(w, columns); in newterm() 445 COLS = columns; in set_term()
|
H A D | newwin.c | 85 ncols = columns; in __m_newwin() 119 if (columns < begx + ncols) { in __m_newwin() 206 } else if (begx + ncols == columns) { in __m_newwin()
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | mvcur.c | 254 && (nc < columns-init_tabs || auto_left_margin || eat_newline_glitch)) { 265 if (eat_newline_glitch && columns <= nc + tabstop) 266 tabstop = columns - nc - 1; 390 newcol %= columns; 399 oldcol %= columns; 493 cost(column_address, __MOVE_COLUMN, columns-1, 0); in __m_mvcur_cost() 494 cost(parm_left_cursor, __MOVE_N_LEFT, columns-1, 0); in __m_mvcur_cost() 495 cost(parm_right_cursor, __MOVE_N_RIGHT, columns-1, 0); in __m_mvcur_cost() 496 cost(cursor_address, __MOVE_ROW_COLUMN, lines-1, columns-1); in __m_mvcur_cost()
|
H A D | newterm.c | 309 if ((sp->_curscr = newwin(lines, columns, 0, 0)) == (WINDOW *) 0) 312 if ((sp->_newscr = newwin(lines, columns, 0, 0)) == (WINDOW *) 0) 371 (void) (*rip.line[i].init)(w, columns); 439 COLS = columns;
|
H A D | newwin.c | 82 ncols = columns; 112 if (columns < begx + ncols) 190 } else if (begx + ncols == columns) {
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | file_object.c | 188 push_delete_callback(void *data, int columns, char **vals, char **names) in push_delete_callback() argument 198 assert(columns == 2); in push_delete_callback() 527 fill_child_callback(void *data, int columns, char **vals, char **names) in fill_child_callback() argument 536 assert(columns == 2); in fill_child_callback() 539 columns--; in fill_child_callback() 542 columns--; in fill_child_callback() 558 fill_snapshot_callback(void *data, int columns, char **vals, char **names) in fill_snapshot_callback() argument 569 assert(columns == 3); in fill_snapshot_callback() 572 columns--; in fill_snapshot_callback() 575 columns--; in fill_snapshot_callback() [all …]
|
H A D | object.c | 78 tx_check_genid(void *data_arg, int columns, char **vals, char **names) in tx_check_genid() argument 81 assert(columns == 1); in tx_check_genid() 103 tx_process_property(void *data_arg, int columns, char **vals, char **names) in tx_process_property() argument 114 assert(columns == 3); in tx_process_property()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/ |
H A D | ast.c | 34 astwinsize(int fd, int* lines, int* columns) in astwinsize() argument 38 if (columns) in astwinsize() 39 *columns = 80; in astwinsize()
|
/illumos-gate/usr/src/cmd/dumpcs/ |
H A D | dumpcs.c | 133 csprint(cs, bytes, columns) in csprint() argument 134 int cs, bytes, columns; in csprint() 143 for (i = columns + 1; i <= col; i *= 2) cplmax *= 2; 164 (void) prcode(bytelen, position, minvalue, maxvalue, columns);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | main.c | 697 int columns, width = 0, lines; in help() local 709 columns = 80 / width; in help() 710 if (columns == 0) in help() 711 columns = 1; in help() 712 lines = (NCMDS + columns - 1) / columns; in help() 714 for (j = 0; j < columns; j++) { in help()
|
/illumos-gate/usr/src/cmd/picl/prtpicl/ |
H A D | prtpicl.c | 137 int columns; in print_bytearray() local 151 columns = NCOLS; in print_bytearray() 153 columns = cnum; in print_bytearray() 157 columns = winsize.ws_col; in print_bytearray() 161 if ((nbytes * COLUMNS_PER_BYTE + cnum) > columns) { in print_bytearray() 166 if (cnum > columns - COLUMNS_PER_BYTE) { in print_bytearray()
|
/illumos-gate/usr/src/cmd/projects/ |
H A D | projects.c | 139 int columns; in print_projects() local 162 columns = ws.ws_col; in print_projects() 164 columns = 80; in print_projects() 176 length + strlen(pl->pl_name) >= columns) { in print_projects()
|
/illumos-gate/usr/src/ucbcmd/ls/ |
H A D | ls.c | 509 int i, j, columns, lines; in formatf() local 515 columns = 1; in formatf() 527 columns = twidth / width; in formatf() 528 if (columns == 0) in formatf() 529 columns = 1; in formatf() 531 lines = (nentry + columns - 1) / columns; in formatf() 533 for (j = 0; j < columns; j++) { in formatf()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.file.c | 285 int i, rows, r, c, maxwidth = 0, columns; in print_by_column() local 295 columns = max(78 / maxwidth, 1); in print_by_column() 296 rows = (count + (columns - 1)) / columns; in print_by_column() 299 for (c = 0; c < columns; c++) { in print_by_column() 315 if (c < columns - 1) /* last column? */ in print_by_column()
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | unique.test | 14 # and primary keys, and the UNIQUE constraint on table columns 128 } {1 {indexed columns are not unique}} 166 } {1 {columns a, c, d are not unique}} 231 } {1 {columns first_column_with_long_name, second_column_with_long_name, third_column_with_long_nam…
|
H A D | insert.test | 40 } {1 {table test1 has 3 columns but 2 values were supplied}} 44 } {1 {table test1 has 3 columns but 4 values were supplied}} 48 } {1 {4 values for 2 columns}} 52 } {1 {1 values for 2 columns}}
|
/illumos-gate/usr/src/common/ficl/ |
H A D | tools.c | 728 int columns; in ficlPrimitiveWordsBackend() local 736 columns = 80; in ficlPrimitiveWordsBackend() 738 columns = strtol(cp, NULL, 0); in ficlPrimitiveWordsBackend() 744 pPad = malloc(columns + 1); in ficlPrimitiveWordsBackend() 765 if (nChars + wp->length >= columns) { in ficlPrimitiveWordsBackend() 776 if (nChars > columns - 10) { in ficlPrimitiveWordsBackend() 788 if (nChars > columns - 10) { in ficlPrimitiveWordsBackend()
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | interactive.c | 713 uint_t len, w, width = 0, columns, lines; in formatf() local 771 columns = 80 / width; in formatf() 772 if (columns == 0) in formatf() 773 columns = 1; in formatf() 774 lines = (nentry + columns - 1) / columns; in formatf() 776 for (j = 0; j < columns && !ferror(output); j++) { in formatf()
|
/illumos-gate/usr/src/cmd/svc/svcs/ |
H A D | svcs.c | 1764 static const struct column columns[] = { variable 1794 static const int ncolumns = sizeof (columns) / sizeof (columns[0]); 1919 columns[i].name, description_of_column(i)); in print_help() 1943 if (strcasecmp(str, columns[i].name) == 0) { in getcolumnopt() 1965 const struct column * const colp = &columns[opt_columns[i]]; in print_header() 3049 columns[opt_columns[i]].sprint(&lp->str, wip); in list_instance() 3066 assert(columns[j].get_sortkey != NULL); in list_instance() 3067 columns[j].get_sortkey(cp, opt_sort[i] & ~0xff, wip); in list_instance() 3068 cp += columns[j].sortkey_width; in list_instance() 3408 if (strcasecmp(col, columns[i].name) == 0) in add_sort_column() [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | restart.c | 91 COLS = columns; in restartterm()
|