Home
last modified time | relevance | path

Searched refs:columns (Results 1 – 25 of 133) sorted by relevance

123456

/illumos-gate/usr/src/cmd/vi/port/
H A Dex_v.c140 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 Dex_put.c332 destline += destcol / columns; in flush1()
350 destline += destcol / columns + 1; in flush1()
366 if((destcol % columns) + length - 1 >= columns) { in flush1()
374 fillercnt = columns - in flush1()
375 (destcol % columns); in flush1()
447 if (destcol > columns - 1) { in fgoto()
448 destline += destcol / columns; in fgoto()
449 destcol %= columns; in fgoto()
451 if (outcol > columns - 1) { in fgoto()
452 l = (outcol + 1) / columns; in fgoto()
[all …]
H A Dex_tty.c120 … 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 Dzpool_script.shlib17 # 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 Dmvcur.c252 (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 Dnewterm.c298 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 Dnewwin.c85 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 Dmvcur.c254 && (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 Dnewterm.c309 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 Dnewwin.c82 ncols = columns;
112 if (columns < begx + ncols)
190 } else if (begx + ncols == columns) {
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/
H A Dast.c34 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/svc/configd/
H A Dfile_object.c198 assert(columns == 2); in push_delete_callback()
539 columns--; in fill_child_callback()
542 columns--; in fill_child_callback()
572 columns--; in fill_snapshot_callback()
575 columns--; in fill_snapshot_callback()
577 columns--; in fill_snapshot_callback()
611 columns--; in fill_pg_callback()
614 columns--; in fill_pg_callback()
620 columns--; in fill_pg_callback()
624 columns--; in fill_pg_callback()
[all …]
H A Dobject.c78 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/cmd/dumpcs/
H A Ddumpcs.c133 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 Dmain.c697 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 Dprtpicl.c137 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 Dprojects.c139 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 Dls.c509 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 Dsh.file.c285 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 Dunique.test14 # 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 Dinsert.test40 } {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/cmd/backup/restore/
H A Dinteractive.c713 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/common/ficl/
H A Dtools.c728 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/lib/libcurses/screen/
H A Drestart.c91 COLS = columns; in restartterm()
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dsvcs.c1764 static const struct column columns[] = { variable
1794 static const int ncolumns = sizeof (columns) / sizeof (columns[0]);
1943 if (strcasecmp(str, columns[i].name) == 0) { in getcolumnopt()
3066 assert(columns[j].get_sortkey != NULL); in list_instance()
3068 cp += columns[j].sortkey_width; in list_instance()
3408 if (strcasecmp(col, columns[i].name) == 0) in add_sort_column()
3417 sortkey_sz += columns[i].sortkey_width; in add_sort_column()
3860 if (strcmp(columns[i].name, "N") == 0 || in main()
3861 strcmp(columns[i].name, "SN") == 0 || in main()
3862 strcmp(columns[i].name, "NSTA") == 0 || in main()
[all …]

123456