Searched refs:col (Results 1 - 25 of 137) sorted by relevance

123456

/illumos-gate/usr/src/cmd/vi/misc/
H A Dfold.c90 int col; variable
102 ncol = (col + 8) &~ 7;
105 ncol = col ? col - 1 : 0;
111 ncol = col + 1;
114 putchar('\n'), col = 0;
118 col = 0;
121 col += 8;
122 col &= ~7;
125 if (col)
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtgoto.c52 tgoto(char *cap, int col, int row) argument
56 cp = tparm_p2(cap, row, col);
H A DV3.upd_old_y.c52 int row, col, num_cols; local
55 for (num_cols = ncols, col = start_col; num_cols > 0;
56 num_cols--, col++)
58 win->_y16[row][col] = _TO_OCHTYPE(win->_y[row][col]);
/illumos-gate/usr/src/cmd/format/
H A Dadd_definition.c65 static int add_entry(int col, FILE *fd, char *format, ...);
191 int col; local
198 col = add_entry(0, fd, " : ctlr = %s",
201 col = add_entry(col, fd, " : ncyl = %d", disk_type->dtype_ncyl);
203 col = add_entry(col, fd, " : acyl = %d", disk_type->dtype_acyl);
205 col = add_entry(col, fd, " : pcyl = %d", disk_type->dtype_pcyl);
207 col
309 int col; local
374 add_entry(int col, FILE *fd, char *format, ...) argument
[all...]
/illumos-gate/usr/src/cmd/rcap/rcapstat/
H A Drcapstat.c51 typedef struct col { struct
66 struct col *col_next;
67 struct col *col_prev;
78 col_t *col; local
79 for (col = col_head; col != NULL; col = col->col_next)
80 if (col->col_id.rcid_type == id.rcid_type &&
81 col
107 col_remove(col_t *col) argument
150 col_t *col, *col_next; local
261 col_t *col; local
301 col_t *col; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Deuclen.c80 int col = 0; local
84 col += 1;
90 col += scrw2;
94 col += scrw3;
98 col += scrw1;
104 return (col);
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dmkopts.tcl24 set col 0
26 global col
27 if {$col==0} {puts -nonewline " "}
28 if {$col<2} {
30 incr col
33 set col 0
37 global col
38 if {$col>0} {puts {}}
39 set col 0
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dtgoto.c47 (tgoto)(const char *cap, int col, int row) argument
52 __m_trace("tgoto(%p = \"%s\", %d, %d)", cap, col, row);
55 str = tparm((char *)cap, (long) row, (long) col, 0L, 0L, 0L, 0L, 0L, 0L, 0L);
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtgoto.c52 tgoto(char *cap, int col, int row) argument
56 str = tparm((char *)cap, (long) row, (long) col,
/illumos-gate/usr/src/lib/libcmd/common/
H A Dfold.c92 register int n, col=0, x=0; local
111 col = 0;
116 while((cp-first) > (width-col))
119 col = last_space - first;
121 col = width-col;
122 sfwrite(out,first,col);
123 first += col;
124 col = 0;
136 col
[all...]
/illumos-gate/usr/src/cmd/col/
H A DMakefile28 PROG= col
/illumos-gate/usr/src/cmd/tbl/
H A Dt9.c61 table[0][icol].col = dataln;
69 table[0][icol].rcol = maknew(table[0][icol].col);
72 table[0][icol].rcol = table[0][icol].col;
73 table[0][icol].col= "";
77 table[0][++icol].col = "";
81 table[0][icol].col = "";
H A Dt5.c74 table[nlin][icol].col = cstore;
79 table[nlin][icol].col =
92 (char *)maknew(table[nlin][icol].col);
95 table[nlin][icol].rcol = table[nlin][icol].col;
96 table[nlin][icol].col = "";
101 table[nlin][++icol].col = "";
106 table[nlin][icol].col = "";
164 start = table[is][jcol].col;
168 table[--irow][jcol].col = start;
173 table[is][jcol].col
[all...]
/illumos-gate/usr/src/cmd/fold/
H A Dfold.c65 static int col = 0; variable
196 if (col != 0) newline_init();
213 ncol = col + chr_width(c);
215 ncol = (col + 8) &~ 7;
219 ncol = col + chr_width(c);
221 ncol = col ? col - 1 : 0;
225 ncol = col + chr_width(c);
232 ncol = col + chr_width(c);
234 ncol = col
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dout.c121 struct roffcol *col; local
151 icol = dp->layout->col;
154 col = tbl->cols + icol;
155 col->flags |= dp->layout->flags;
167 if (col->width < dp->layout->width)
168 col->width = dp->layout->width;
170 (col->spacing == SIZE_MAX ||
171 col->spacing < dp->layout->spacing))
172 col->spacing = dp->layout->spacing;
180 dp->hspans == 0 ? col
418 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp, size_t mw) argument
447 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col, const struct tbl_dat *dp, size_t mw) argument
484 tblcalc_number(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp) argument
[all...]
H A Dterm.c115 p->tcol->col = 0;
168 for (ic = p->tcol->col; ic < p->tcol->lastcol; ic++) {
194 while (p->tcol->col < p->tcol->lastcol &&
195 p->tcol->buf[p->tcol->col] == ' ')
196 p->tcol->col++;
225 p->col = p->tcol->col = p->tcol->lastcol = 0;
264 for (ic = p->tcol->col; ic < p->tcol->lastcol; ic++) {
361 for (ic = p->tcol->col; ic < nbr; ic++) {
411 p->tcol->col
[all...]
H A Dtbl_term.c302 tp->col = 0;
440 if (tp->tcol->col < tp->tcol->lastcol)
442 if (tp->tcol->col < tp->tcol->lastcol)
509 sp->layout->last->col + 1 == sp->opts->cols)
513 sp->next->layout->last->col + 1 == sp->opts->cols)
517 sp->prev->layout->last->col + 1 == sp->opts->cols &&
524 sp->last->layout->col + 1 == sp->opts->cols) ||
526 sp->layout->last->col + 1 == sp->opts->cols) ? 2 :
530 sp->last->layout->col + 1 == sp->opts->cols) ||
532 sp->layout->last->col
587 const struct roffcol *col; /* Contains width and spacing. */ local
714 tbl_data(struct termp *tp, const struct tbl_opts *opts, const struct tbl_cell *cp, const struct tbl_dat *dp, const struct roffcol *col) argument
811 tbl_literal(struct termp *tp, const struct tbl_dat *dp, const struct roffcol *col) argument
853 tbl_number(struct termp *tp, const struct tbl_opts *opts, const struct tbl_dat *dp, const struct roffcol *col) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/common/
H A Dcons.c55 getcursor(int *row, int *col) argument
65 if (col != NULL)
66 *col = v86.edx & 0xff;
72 int i, col; local
79 col = 0;
80 getcursor(NULL, &col);
81 col = 8 - (col % 8);
82 for (i = 0; i < col; i++)
/illumos-gate/usr/src/cmd/ul/
H A Dul.c63 int col, maxcol; variable
140 (void) strcpy(termcap, "dumb:os:col#80:cr=^M:sf=^J:am:");
176 if (col > 0)
177 col--;
181 col = (col+8) & ~07;
182 if (col > maxcol)
183 maxcol = col;
187 col = 0;
238 if (obuf[col]
[all...]
/illumos-gate/usr/src/cmd/tip/
H A Dvalue.c19 static int col = 0; variable
138 if (col > 0) {
140 col = 0;
191 if (col > 0 && col < MIDDLE)
192 while (col++ < MIDDLE)
194 col += strlen(p->v_name);
199 col++;
207 col++;
210 col
[all...]
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_vga.c247 int col; local
249 vga_getpos(&row, &col);
253 vga_setpos(row + 1, col);
263 VGA_SCREEN[row * VGA_TEXT_COLS + col] = (cons_color << 8) | c;
265 if (col < VGA_TEXT_COLS - 1)
266 vga_setpos(row, col + 1);
287 vga_setpos(int row, int col) argument
295 if (col < 0)
296 col = 0;
297 if (col >
309 vga_getpos(int *row, int *col) argument
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_scheme.c80 char **col; local
93 col = t->column;
97 col = (char **)&dirCol;
127 a[na].zattr_ndx = col[index];
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfdcmore.c47 int col; /* current col */ member in struct:__anon2726
72 more->col = 1;
165 if (!more->col)
192 more->col = ((more->col + 8) & ~7) - 1;
195 if (++more->col <= more->cols || s < e && *s == '\n')
199 more->col = 1;
204 if (more->col > 1)
205 more->col
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dtem.c105 int count, screen_pos_t row, screen_pos_t col);
124 int count, screen_pos_t row, screen_pos_t col);
756 snprintf(buf, sizeof (buf), "%d", active->tvs_c_cursor.col);
757 setenv("tem.cursor.col", buf, 1);
841 uint32_t col = 0; local
851 plat_tem_get_prom_pos(&row, &col);
866 tem->tvs_s_cursor.col = tem->tvs_c_cursor.col = 0;
1116 tem->tvs_c_cursor.col - 1);
1421 int col; local
2116 tem_clear_chars(struct tem_vt_state *tem, int count, screen_pos_t row, screen_pos_t col) argument
2141 tem_text_display(struct tem_vt_state *tem __unused, term_char_t *string, int count, screen_pos_t row, screen_pos_t col) argument
2203 tem_text_cls(struct tem_vt_state *tem, int count, screen_pos_t row, screen_pos_t col) argument
2224 tem_pix_display(struct tem_vt_state *tem, term_char_t *string, int count, screen_pos_t row, screen_pos_t col) argument
2344 tem_pix_cls(struct tem_vt_state *tem, int count, screen_pos_t row, screen_pos_t col) argument
2513 tem_mv_cursor(struct tem_vt_state *tem, int row, int col) argument
2864 tem_pix_cls_range(struct tem_vt_state *tem, screen_pos_t row, int nrows, int offset_y, screen_pos_t col, int ncols, int offset_x, boolean_t sroll_up) argument
2903 tem_virtual_display(struct tem_vt_state *tem, term_char_t *string, size_t count, screen_pos_t row, screen_pos_t col) argument
2925 tem_virtual_cls(struct tem_vt_state *tem, size_t count, screen_pos_t row, screen_pos_t col) argument
[all...]
/illumos-gate/usr/src/cmd/stat/arcstat/
H A Darcstat.pl261 foreach my $col (@hdr) {
263 printf("%s%s", prettynum($cols{$col}[0], $cols{$col}[1],
264 $v{$col}), $sep);
266 printf("%d%s", $v{$col} || 0, $sep);
274 foreach my $col (@hdr) {
275 printf("%*s%s", $cols{$col}[0], $col, $sep);
279 foreach my $col (@hdr) {
280 printf("%s%s", $col,
[all...]

Completed in 168 milliseconds

123456