Home
last modified time | relevance | path

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

123456

/titanic_51/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 in col_find()
52 col_idcol global() argument
53 col_namecol global() argument
54 col_nproccol global() argument
55 col_vmsizecol global() argument
56 col_rsssizecol global() argument
57 col_rsslimitcol global() argument
58 col_paged_effcol global() argument
59 col_paged_eff_oldcol global() argument
60 col_paged_eff_avgcol global() argument
61 col_paged_attcol global() argument
62 col_paged_att_oldcol global() argument
63 col_paged_att_avgcol global() argument
64 col_countcol global() argument
65 col_freshcol global() argument
68 col_src_statcol global() argument
69 col_old_statcol global() argument
107 col_remove(col_t * col) col_remove() argument
150 col_t *col, *col_next; read_stats() local
261 col_t *col; print_unformatted_stats() local
301 col_t *col; print_stats() local
[all...]
/titanic_51/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; global() local
374 add_entry(int col,FILE * fd,char * format,...) add_entry() argument
[all...]
/titanic_51/usr/src/cmd/mandoc/
H A Dout.c112 struct roffcol *col; in tblcalc() local
143 icol = dp->layout->col; in tblcalc()
146 col = tbl->cols + icol; in tblcalc()
147 col->flags |= dp->layout->flags; in tblcalc()
150 tblcalc_data(tbl, col, opts, dp); in tblcalc()
163 col = tbl->cols + icol; in tblcalc()
164 if (col->flags & TBL_CELL_EQUAL) { in tblcalc()
166 if (ewidth < col->width) in tblcalc()
167 ewidth = col->width; in tblcalc()
169 if (col in tblcalc()
234 tblcalc_data(struct rofftbl * tbl,struct roffcol * col,const struct tbl_opts * opts,const struct tbl_dat * dp) tblcalc_data() argument
270 tblcalc_literal(struct rofftbl * tbl,struct roffcol * col,const struct tbl_dat * dp) tblcalc_literal() argument
284 tblcalc_number(struct rofftbl * tbl,struct roffcol * col,const struct tbl_opts * opts,const struct tbl_dat * dp) tblcalc_number() argument
[all...]
H A Dtbl_term.c233 tbl_char(tp, line, tp->tbl.cols[c1->col].width + 1); in tbl_hrule()
256 const struct roffcol *col) in tbl_data() argument
260 tbl_char(tp, ASCII_NBRSP, col->width); in tbl_data()
266 tbl_char(tp, ASCII_NBRSP, col->width); in tbl_data()
271 tbl_char(tp, '-', col->width); in tbl_data()
276 tbl_char(tp, '=', col->width); in tbl_data()
284 tbl_char(tp, '-', col->width); in tbl_data()
287 tbl_char(tp, '=', col->width); in tbl_data()
296 tbl_literal(tp, dp, col); in tbl_data()
299 tbl_number(tp, opts, dp, col); in tbl_data()
327 tbl_literal(struct termp * tp,const struct tbl_dat * dp,const struct roffcol * col) tbl_literal() argument
370 tbl_number(struct termp * tp,const struct tbl_opts * opts,const struct tbl_dat * dp,const struct roffcol * col) tbl_number() argument
[all...]
H A Dterm.c136 while (i < p->col) { in term_flushln()
142 while (i < p->col && '\t' == p->buf[i]) { in term_flushln()
157 for (j = i, jhy = 0; j < p->col; j++) { in term_flushln()
216 for ( ; i < p->col; i++) { in term_flushln()
223 while (i < p->col && ' ' == p->buf[i]) in term_flushln()
266 p->col = 0; in term_flushln()
310 if (p->col || p->viscol) in term_newln()
540 if (p->col + 1 >= p->maxcols) in bufferc()
541 adjbuf(p, p->col + 1); in bufferc()
543 p->buf[p->col in bufferc()
[all...]
/titanic_51/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()
[all...]
/titanic_51/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 in putch()
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libcmd/
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 in fold()
[all...]
/titanic_51/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_51/usr/src/cmd/ul/
H A Dul.c61 int col, maxcol; variable
138 (void) strcpy(termcap, "dumb:os:col#80:cr=^M:sf=^J:am:"); in main()
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] in ul_filter()
[all...]
/titanic_51/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 in tem_safe_chkparam()
1247 tem_safe_clear_chars(struct tem_vt_state * tem,int count,screen_pos_t row,screen_pos_t col,cred_t * credp,enum called_from called_from) tem_safe_clear_chars() argument
1276 tem_safe_text_display(struct tem_vt_state * tem,uchar_t * string,int count,screen_pos_t row,screen_pos_t col,text_color_t fg_color,text_color_t bg_color,cred_t * credp,enum called_from called_from) tem_safe_text_display() argument
1309 tem_safe_image_display(struct tem_vt_state * tem,uchar_t * image,int height,int width,screen_pos_t row,screen_pos_t col,cred_t * credp,enum called_from called_from) tem_safe_image_display() argument
1355 tem_safe_text_cls(struct tem_vt_state * tem,int count,screen_pos_t row,screen_pos_t col,cred_t * credp,enum called_from called_from) tem_safe_text_cls() argument
1378 tem_safe_pix_display(struct tem_vt_state * tem,uchar_t * string,int count,screen_pos_t row,screen_pos_t col,text_color_t fg_color,text_color_t bg_color,cred_t * credp,enum called_from called_from) tem_safe_pix_display() argument
1494 tem_safe_pix_cls(struct tem_vt_state * tem,int count,screen_pos_t row,screen_pos_t col,cred_t * credp,enum called_from called_from) tem_safe_pix_cls() argument
1712 tem_safe_mv_cursor(struct tem_vt_state * tem,int row,int col,cred_t * credp,enum called_from called_from) tem_safe_mv_cursor() argument
2189 tem_safe_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,cred_t * credp,enum called_from called_from) tem_safe_pix_cls_range() argument
2228 tem_safe_virtual_display(struct tem_vt_state * tem,unsigned char * string,int count,screen_pos_t row,screen_pos_t col,text_color_t fg_color,text_color_t bg_color) tem_safe_virtual_display() argument
2343 tem_safe_virtual_cls(struct tem_vt_state * tem,int count,screen_pos_t row,screen_pos_t col) tem_safe_virtual_cls() argument
2387 int row, col, count, col_start; tem_safe_unblank_screen() local
[all...]
/titanic_51/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddoupdate.c58 * being four bytes long, ie. "<escape><cursor addressing code><row><col>".
220 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; _findRegions() local
[all...]
/titanic_51/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_51/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 in vprint()
[all...]
/titanic_51/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 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_51/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
/titanic_51/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_51/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_51/usr/src/contrib/ast/src/lib/libast/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
[all...]
/titanic_51/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_51/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,
[all...]
/titanic_51/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()
186 zfs_sort_column_t *col; zfs_free_sort_columns() local
[all...]
/titanic_51/usr/src/lib/libxcurses/src/libc/xcurses/
H A Ddoupdate.c60 * being four bytes long, ie. "<escape><cursor addressing code><row><col>".
236 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);
[all...]

123456