Home
last modified time | relevance | path

Searched refs:col (Results 1 – 25 of 139) sorted by relevance

123456

/titanic_44/usr/src/cmd/rcap/rcapstat/
H A Drcapstat.c51 typedef struct col { struct
66 struct col *col_next; argument
67 struct col *col_prev; argument
78 col_t *col; in col_find() local
79 for (col = col_head; col != NULL; col = col->col_next) in col_find()
80 if (col->col_id.rcid_type == id.rcid_type && in col_find()
81 col->col_id.rcid_val == id.rcid_val) in col_find()
82 return (col); in col_find()
107 col_remove(col_t *col) in col_remove() argument
109 if (col->col_prev != NULL) in col_remove()
[all …]
/titanic_44/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 = add_entry(col, fd, " : nhead = %d", disk_type->dtype_nhead);
210 col = add_entry(col, fd, " : phead = %d",
214 col = add_entry(col, fd, " : nsect = %d", disk_type->dtype_nsect);
217 col = add_entry(col, fd, " : psect = %d",
[all …]
/titanic_44/usr/src/cmd/vi/misc/
H A Dfold.c90 int col; variable
102 ncol = (col + 8) &~ 7; in putch()
105 ncol = col ? col - 1 : 0; in putch()
111 ncol = col + 1; in putch()
114 putchar('\n'), col = 0; in putch()
118 col = 0; in putch()
121 col += 8; in putch()
122 col &= ~7; in putch()
125 if (col) in putch()
126 col--; in putch()
[all …]
/titanic_44/usr/src/cmd/fold/
H A Dfold.c65 static int col = 0; variable
196 if (col != 0) newline_init(); in main()
213 ncol = col + chr_width(c); in putch()
215 ncol = (col + 8) &~ 7; in putch()
219 ncol = col + chr_width(c); in putch()
221 ncol = col ? col - 1 : 0; in putch()
225 ncol = col + chr_width(c); in putch()
232 ncol = col + chr_width(c); in putch()
234 ncol = col + wcwidth(c); in putch()
271 col -= spcol; in putch()
[all …]
/titanic_44/usr/src/cmd/mandoc/
H A Dout.c145 struct roffcol *col; in tblcalc() local
174 col = &tbl->cols[dp->layout->head->ident]; in tblcalc()
175 tblcalc_data(tbl, col, sp->opts, dp); in tblcalc()
181 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, in tblcalc_data() argument
193 if (col->width < sz) in tblcalc_data()
194 col->width = sz; in tblcalc_data()
203 tblcalc_literal(tbl, col, dp); in tblcalc_data()
206 tblcalc_number(tbl, col, opts, dp); in tblcalc_data()
217 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col, in tblcalc_literal() argument
226 if (col->width < sz) in tblcalc_literal()
[all …]
H A Dtbl_term.c67 struct roffcol *col; in term_tbl() local
144 col = &tp->tbl.cols[hp->ident]; in term_tbl()
145 tbl_data(tp, sp->opts, dp, col); in term_tbl()
259 const struct roffcol *col) in tbl_data() argument
263 tbl_char(tp, ASCII_NBRSP, col->width); in tbl_data()
270 tbl_char(tp, ASCII_NBRSP, col->width); in tbl_data()
275 tbl_char(tp, '-', col->width); in tbl_data()
280 tbl_char(tp, '=', col->width); in tbl_data()
288 tbl_char(tp, '-', col->width); in tbl_data()
291 tbl_char(tp, '=', col->width); in tbl_data()
[all …]
H A Dterm.c147 while (i < p->col) { in term_flushln()
153 while (i < p->col && '\t' == p->buf[i]) { in term_flushln()
168 for (j = i, jhy = 0; j < p->col; j++) { in term_flushln()
218 for ( ; i < p->col; i++) { in term_flushln()
270 p->col = 0; in term_flushln()
315 if (p->col || p->viscol) in term_newln()
544 if (p->col + 1 >= p->maxcols) in bufferc()
545 adjbuf(p, p->col + 1); in bufferc()
547 p->buf[p->col++] = c; in bufferc()
565 if (p->col + 6 >= p->maxcols) in encode1()
[all …]
/titanic_44/usr/src/lib/libcmd/common/
H A Dfold.c92 register int n, col=0, x=0; in fold() local
111 col = 0; in fold()
116 while((cp-first) > (width-col)) in fold()
119 col = last_space - first; in fold()
121 col = width-col; in fold()
122 sfwrite(out,first,col); in fold()
123 first += col; in fold()
124 col = 0; in fold()
136 col = 0; in fold()
139 if((cp+(--col)-first)>0) in fold()
[all …]
/titanic_44/usr/src/cmd/ul/
H A Dul.c61 int col, maxcol; variable
174 if (col > 0) in ul_filter()
175 col--; in ul_filter()
179 col = (col+8) & ~07; in ul_filter()
180 if (col > maxcol) in ul_filter()
181 maxcol = col; in ul_filter()
185 col = 0; in ul_filter()
236 if (obuf[col].c_char) in ul_filter()
237 obuf[col].c_mode |= UNDERL | mode; in ul_filter()
239 obuf[col].c_char = '_'; in ul_filter()
[all …]
/titanic_44/usr/src/uts/common/io/
H A Dtem_safe.c122 int count, screen_pos_t row, screen_pos_t col,
380 tem->tvs_c_cursor.col - 1, in tem_safe_control()
545 int col; in tem_safe_chkparam() local
551 col = tem->tvs_c_cursor.col; in tem_safe_chkparam()
568 tem_safe_mv_cursor(tem, row - tem->tvs_params[0], col, in tem_safe_chkparam()
574 tem_safe_mv_cursor(tem, tem->tvs_params[0] - 1, col, in tem_safe_chkparam()
581 tem_safe_mv_cursor(tem, row + tem->tvs_params[0], col, in tem_safe_chkparam()
588 tem_safe_mv_cursor(tem, row, col + tem->tvs_params[0], in tem_safe_chkparam()
600 tem_safe_mv_cursor(tem, row, col - tem->tvs_params[0], in tem_safe_chkparam()
649 tem->tvs_c_cursor.col, in tem_safe_chkparam()
[all …]
/titanic_44/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddoupdate.c220 int col; /* Starting column of region */ member
266 cchar_t *optr = &curscr->_line[row][region.col]; in _writeRegion()
267 cchar_t *nptr = &newscr->_line[row][region.col]; in _writeRegion()
290 curscr->_curx = region.col + i + 1; in _writeRegion()
301 cchar_t *optr = &curscr->_line[row][region.col]; in _deleteRegion()
310 for (i = region.col; i < COLS - region.size; i++) { in _deleteRegion()
366 regions[iRegion].size = regions[iRegion + 1].col - in _normalizeRegions2()
367 regions[iRegion].col; in _normalizeRegions2()
369 regions[nRegions - 1].size = COLS - regions[nRegions - 1].col; in _normalizeRegions2()
413 int col; in _findRegions() local
[all …]
/titanic_44/usr/src/lib/libc/port/gen/
H A Deuclen.c80 int col = 0; in eucscol() local
84 col += 1; in eucscol()
90 col += scrw2; in eucscol()
94 col += scrw3; in eucscol()
98 col += scrw1; in eucscol()
104 return (col); in eucscol()
/titanic_44/usr/src/cmd/tip/
H A Dvalue.c19 static int col = 0; variable
138 if (col > 0) { in vlex()
140 col = 0; in vlex()
191 if (col > 0 && col < MIDDLE) in vprint()
192 while (col++ < MIDDLE) in vprint()
194 col += strlen(p->v_name); in vprint()
199 col++; in vprint()
207 col++; in vprint()
210 col += strlen(cp); in vprint()
216 col += 6; in vprint()
[all …]
/titanic_44/usr/src/cmd/tbl/
H A Dt5.c74 table[nlin][icol].col = cstore; in gettbl()
79 table[nlin][icol].col = in gettbl()
92 (char *)maknew(table[nlin][icol].col); in gettbl()
95 table[nlin][icol].rcol = table[nlin][icol].col; in gettbl()
96 table[nlin][icol].col = ""; in gettbl()
101 table[nlin][++icol].col = ""; in gettbl()
106 table[nlin][icol].col = ""; in gettbl()
164 start = table[is][jcol].col; in permute()
168 table[--irow][jcol].col = start; in permute()
173 table[is][jcol].col= SPAN; in permute()
[all …]
H A Dt8.c50 s = table[nl][c].col; in putline()
55 if (!vspen(s=table[ip][c].col)) break; in putline()
85 if (vspen(table[nl][c].col)) vspf=1; in putline()
87 if (vspen(table[lf][c].col)) vspf=1; in putline()
98 s = table[nl][c].col; in putline()
103 if (lf>=0 && vspen(table[lf][c].col)) in putline()
132 for(lf=prev(nl); lf>=0 && vspen(table[lf][c].col); lf=prev(lf)) in putline()
142 s= table[nl][c].col; in putline()
156 if (vspen(table[ip][c].col)) in putline()
184 if (real(table[nl][c].col)) in putline()
[all …]
H A Dt9.c61 table[0][icol].col = dataln; in domore()
69 table[0][icol].rcol = maknew(table[0][icol].col); in domore()
72 table[0][icol].rcol = table[0][icol].col; in domore()
73 table[0][icol].col= ""; in domore()
77 table[0][++icol].col = ""; in domore()
81 table[0][icol].col = ""; in domore()
/titanic_44/usr/src/lib/libsqlite/tool/
H A Dmkopts.tcl24 set col 0
26 global col
30 incr col
33 set col 0
37 global col
39 set col 0
/titanic_44/usr/src/lib/libast/common/disc/
H A Dsfdcmore.c47 int col; /* current col */ member
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--;
208 more->col = 1;
230 more->col = 1;
[all …]
/titanic_44/usr/src/uts/i86pc/boot/
H A Dboot_vga.c123 int col; in vga_drawc() local
125 vga_getpos(&row, &col); in vga_drawc()
126 VGA_SCREEN[row*VGA_TEXT_COLS + col] = (color << 8) | c; in vga_drawc()
146 vga_setpos(int row, int col) in vga_setpos() argument
150 off = row * VGA_TEXT_COLS + col; in vga_setpos()
156 vga_getpos(int *row, int *col) in vga_getpos() argument
162 *col = off % VGA_TEXT_COLS; in vga_getpos()
/titanic_44/usr/src/lib/libcurses/screen/
H A DV3.upd_old_y.c52 int row, col, num_cols; in _update_old_y_area() local
55 for (num_cols = ncols, col = start_col; num_cols > 0; in _update_old_y_area()
56 num_cols--, col++) in _update_old_y_area()
58 win->_y16[row][col] = _TO_OCHTYPE(win->_y[row][col]); in _update_old_y_area()
/titanic_44/usr/src/cmd/stat/arcstat/
H A Darcstat.pl258 foreach my $col (@hdr) {
260 printf("%s%s", prettynum($cols{$col}[0], $cols{$col}[1],
261 $v{$col}), $sep);
263 printf("%d%s", $v{$col} || 0, $sep);
271 foreach my $col (@hdr) {
272 printf("%*s%s", $cols{$col}[0], $col, $sep);
276 foreach my $col (@hdr) {
277 printf("%s%s", $col, $sep);
/titanic_44/usr/src/cmd/zfs/
H A Dzfs_iter.c156 zfs_sort_column_t *col; in zfs_add_sort_column() local
163 col = safe_malloc(sizeof (zfs_sort_column_t)); in zfs_add_sort_column()
165 col->sc_prop = prop; in zfs_add_sort_column()
166 col->sc_reverse = reverse; in zfs_add_sort_column()
168 col->sc_user_prop = safe_malloc(strlen(name) + 1); in zfs_add_sort_column()
169 (void) strcpy(col->sc_user_prop, name); in zfs_add_sort_column()
173 col->sc_last = col; in zfs_add_sort_column()
174 *sc = col; in zfs_add_sort_column()
176 (*sc)->sc_last->sc_next = col; in zfs_add_sort_column()
177 (*sc)->sc_last = col; in zfs_add_sort_column()
[all …]
/titanic_44/usr/src/lib/libxcurses/src/libc/xcurses/
H A Ddoupdate.c236 int col, last, tail, jump, count; local
250 col = newscr->_first[row];
251 if (col < 0)
252 col = 0;
276 optr = &curscr->_line[row][col];
277 nptr = &newscr->_line[row][col];
279 for (jump = -1; col < last; ) {
286 if (last <= ++col)
303 GOTO(row, col);
316 col -= count;
[all …]
H A Dtgoto.c47 (tgoto)(const char *cap, int col, int row)
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);
/titanic_44/usr/src/cmd/dumpcs/
H A Ddumpcs.c138 int col, i, position; local
143 col = SCRWID - bytes * 2 - 1;
145 for (i = columns + 1; i <= col; i *= 2) cplmax *= 2;
181 prcode(len, pos, min, max, col) in prcode() argument
182 int len, pos, min, max, col; in prcode()
195 (void) prcode(len, nextpos, min, max, col);
238 for (i = 1; i <= col; i++)

123456