Home
last modified time | relevance | path

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

123456

/illumos-gate/usr/src/cmd/rcap/rcapstat/
H A Drcapstat.c79 for (col = col_head; col != NULL; col = col->col_next) in col_find()
110 col->col_prev->col_next = col->col_next; in col_remove()
112 col->col_next->col_prev = col->col_prev; in col_remove()
183 for (col = col_head; col != NULL; col = col->col_next) { in read_stats()
196 col->col_paged_eff_old = col->col_paged_eff = in read_stats()
198 col->col_paged_att_old = col->col_paged_att = in read_stats()
270 col = col->col_next; in print_unformatted_stats()
286 col->col_old_stat = col->col_src_stat; in print_unformatted_stats()
288 col = col->col_next; in print_unformatted_stats()
325 for (col = col_head; col != NULL; col = col->col_next) { in print_stats()
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dadd_definition.c206 col = add_entry(col, fd, " : phead = %d", in add_disktype()
213 col = add_entry(col, fd, " : psect = %d", in add_disktype()
224 col = add_entry(col, fd, " : fmt_time = %d", in add_disktype()
229 col = add_entry(col, fd, " : cyl_skew = %d", in add_disktype()
244 col = add_entry(col, fd, " : atrks = %d", in add_disktype()
249 col = add_entry(col, fd, " : asect = %d", in add_disktype()
254 col = add_entry(col, fd, " : cache = %d", in add_disktype()
274 col = add_entry(col, fd, " : bps = %d", in add_disktype()
336 col = add_entry(col, fd, " : %c = ", in add_partition()
342 col = add_entry(col, fd, " %s,", s); in add_partition()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dout.c223 col->width = 1; in tblcalc()
332 if (col->width > col->nwidth) in tblcalc()
333 col->decimal += (col->width - col->nwidth) / 2; in tblcalc()
400 col->width--; in tblcalc()
418 if (col != NULL && col->width < sz) in tblcalc_data()
467 if (col != NULL && col->width < msz) in tblcalc_literal()
484 if (col == NULL) in tblcalc_number()
509 if (col != NULL && col->width < totsz) in tblcalc_number()
532 col->nwidth += intsz - col->decimal; in tblcalc_number()
541 if (col->nwidth > col->width) in tblcalc_number()
[all …]
H A Dterm.c114 p->tcol->col = 0; in term_flushln()
195 p->tcol->col++; in term_flushln()
224 p->col = p->tcol->col = p->tcol->lastcol = 0; in term_flushln()
408 p->tcol->col = nbr; in term_field()
632 uc = -p->col; in term_word()
642 p->col += uc; in term_word()
644 uc += p->col; in term_word()
645 p->col = 0; in term_word()
773 p->tcol->buf[p->col] = c; in bufferc()
802 p->col--; in encode1()
[all …]
H A Dtbl_term.c292 tp->col = 0; in term_tbl()
613 col = tp->tbl.cols; in tbl_hrule()
616 col++; in tbl_hrule()
618 col = tp->tbl.cols + cp->col; in tbl_hrule()
628 col->width + col->spacing / 2); in tbl_hrule()
679 if (col->spacing) in tbl_hrule()
689 if (col->spacing > 2) in tbl_hrule()
695 if (col->spacing > 4) in tbl_hrule()
820 width = col->width; in tbl_literal()
821 ic = dp->layout->col; in tbl_literal()
[all …]
/illumos-gate/usr/src/cmd/fold/
H A Dfold.c63 static int col = 0; variable
219 ncol = col ? col - 1 : 0; in putch()
269 col -= spcol; in putch()
279 if (col > 0) { in putch()
298 col = col + chr_width(c); in putch()
300 col = (col + 8) &~ 7; in putch()
309 col = ncol; in putch()
311 if (col) in putch()
312 col--; in putch()
316 col = 0; in putch()
[all …]
/illumos-gate/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()
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()
140 col--; in fold()
144 col +=n; in fold()
[all …]
/illumos-gate/usr/src/cmd/ul/
H A Dul.c63 int col, maxcol; variable
176 if (col > 0) in ul_filter()
177 col--; in ul_filter()
181 col = (col+8) & ~07; in ul_filter()
183 maxcol = col; in ul_filter()
187 col = 0; in ul_filter()
245 col++; in ul_filter()
275 col++; in ul_filter()
488 col = 0; in initbuf()
498 oldcol = col; in fwd()
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddoupdate.c411 int col; in _findRegions() local
416 col = 0; in _findRegions()
429 for (col = 0; col < COLS; col++) { in _findRegions()
430 if (!__m_cc_compare(&optr[col], &nptr[col], 1)) in _findRegions()
437 for (col = deletePoint; col < COLS - deleteCount; in _findRegions()
438 col++) { in _findRegions()
457 col = 0; in _findRegions()
463 for (old_cmp = -1; col + bestDeleteCount < COLS; col++) { in _findRegions()
465 &nptr[col], 1); in _findRegions()
469 regions[nRegions].col = col; in _findRegions()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dtem.c1508 int col; in tem_chkparam() local
1511 col = tem->tvs_c_cursor.col; in tem_chkparam()
1959 tem->tvs_s_cursor.col = tem->tvs_c_cursor.col; in tem_align_cursor()
2110 tem->tvs_r_cursor.col = tem->tvs_c_cursor.col; in tem_parse()
2315 da.col = col; in tem_text_display()
2398 da.col = (col * da.width) + tems.ts_p_offset.x; in tem_pix_display()
2667 tem->tvs_c_cursor.col = (screen_pos_t)col; in tem_mv_cursor()
2775 ca.col = tem->tvs_c_cursor.col; in tem_text_cursor()
2782 tem->tvs_c_cursor.col = ca.col; in tem_text_cursor()
2980 da.col = col * da.width + offset_x; in tem_pix_cls_range()
[all …]
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_vga.c247 int col; in vga_drawc() local
249 vga_getpos(&row, &col); in vga_drawc()
253 vga_setpos(row + 1, col); in vga_drawc()
265 if (col < VGA_TEXT_COLS - 1) in vga_drawc()
266 vga_setpos(row, col + 1); in vga_drawc()
287 vga_setpos(int row, int col) in vga_setpos() argument
295 if (col < 0) in vga_setpos()
296 col = 0; in vga_setpos()
305 fb_info.cursor.pos.x = col; in vga_setpos()
309 vga_getpos(int *row, int *col) in vga_getpos() argument
[all …]
/illumos-gate/usr/src/boot/i386/common/
H A Dcons.c55 getcursor(int *row, int *col) in getcursor() argument
65 if (col != NULL) in getcursor()
66 *col = v86.edx & 0xff; in getcursor()
72 int i, col; in putchar() local
79 col = 0; in putchar()
80 getcursor(NULL, &col); in putchar()
81 col = 8 - (col % 8); in putchar()
82 for (i = 0; i < col; i++) in putchar()
/illumos-gate/usr/src/cmd/tip/
H A Dvalue.c17 static int col = 0; variable
136 if (col > 0) { in vlex()
138 col = 0; in vlex()
189 if (col > 0 && col < MIDDLE) in vprint()
197 col++; in vprint()
205 col++; in vprint()
208 col += strlen(cp); in vprint()
214 col += 6; in vprint()
220 col++; in vprint()
223 col += strlen(cp); in vprint()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dtem_safe.c911 int col; in tem_safe_chkparam() local
917 col = tem->tvs_c_cursor.col; in tem_safe_chkparam()
1423 tem->tvs_s_cursor.col = tem->tvs_c_cursor.col; in tem_safe_align_cursor()
1579 tem->tvs_r_cursor.col = tem->tvs_c_cursor.col; in tem_safe_parse()
1801 da.col = col; in tem_safe_text_display()
1839 da.col = col;
1914 da.col = (col * da.width) + tems.ts_p_offset.x; in tem_safe_pix_display()
2289 tem->tvs_c_cursor.col = (screen_pos_t)col; in tem_safe_mv_cursor()
2423 ca.col = tem->tvs_c_cursor.col; in tem_safe_text_cursor()
2430 tem->tvs_c_cursor.col = ca.col; in tem_safe_text_cursor()
[all …]
/illumos-gate/usr/src/cmd/tbl/
H A Dt5.c72 table[nlin][icol].col = cstore; in gettbl()
77 table[nlin][icol].col = in gettbl()
90 (char *)maknew(table[nlin][icol].col); in gettbl()
93 table[nlin][icol].rcol = table[nlin][icol].col; in gettbl()
94 table[nlin][icol].col = ""; in gettbl()
99 table[nlin][++icol].col = ""; in gettbl()
104 table[nlin][icol].col = ""; in gettbl()
162 start = table[is][jcol].col; in permute()
166 table[--irow][jcol].col = start; in permute()
171 table[is][jcol].col= SPAN; in permute()
[all …]
H A Dt8.c48 s = table[nl][c].col; in putline()
83 if (vspen(table[nl][c].col)) vspf=1; in putline()
85 if (vspen(table[lf][c].col)) vspf=1; in putline()
96 s = table[nl][c].col; in putline()
140 s= table[nl][c].col; in putline()
154 if (vspen(table[ip][c].col)) in putline()
183 if (real(table[nl][c].col)) in putline()
206 if (vspen(table[ip][c].col)) in putline()
229 if (vspen(table[ip][c].col)) in putline()
259 if (vspen(table[nl][c].col) && (nl==0 || (lf=prev(nl))<0 || !vspen(table[lf][c].col))) in putline()
[all …]
H A Dt9.c59 table[0][icol].col = dataln; in domore()
67 table[0][icol].rcol = maknew(table[0][icol].col); in domore()
70 table[0][icol].rcol = table[0][icol].col; in domore()
71 table[0][icol].col= ""; in domore()
75 table[0][++icol].col = ""; in domore()
79 table[0][icol].col = ""; in domore()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Deuclen.c78 int col = 0; in eucscol() local
82 col += 1; in eucscol()
88 col += scrw2; in eucscol()
92 col += scrw3; in eucscol()
96 col += scrw1; in eucscol()
102 return (col); in eucscol()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfdcmore.c72 more->col = 1;
165 if (!more->col)
192 more->col = ((more->col + 8) & ~7) - 1;
199 more->col = 1;
205 more->col--;
208 more->col = 1;
230 more->col = 1;
239 more->col = 1;
243 more->col = 1;
290 more->col = 1;
[all …]
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dmkopts.tcl21 set col 0
23 global col
27 incr col
30 set col 0
34 global col
36 set col 0
/illumos-gate/usr/src/lib/libcurses/screen/
H A DV3.upd_old_y.c50 int row, col, num_cols; in _update_old_y_area() local
53 for (num_cols = ncols, col = start_col; num_cols > 0; in _update_old_y_area()
54 num_cols--, col++) in _update_old_y_area()
56 win->_y16[row][col] = _TO_OCHTYPE(win->_y[row][col]); in _update_old_y_area()
/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, $sep);
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_iter.c159 zfs_sort_column_t *col; in zfs_add_sort_column() local
168 col->sc_prop = prop; in zfs_add_sort_column()
169 col->sc_reverse = reverse; in zfs_add_sort_column()
172 (void) strcpy(col->sc_user_prop, name); in zfs_add_sort_column()
176 col->sc_last = col; in zfs_add_sort_column()
177 *sc = col; in zfs_add_sort_column()
179 (*sc)->sc_last->sc_next = col; in zfs_add_sort_column()
180 (*sc)->sc_last = col; in zfs_add_sort_column()
189 zfs_sort_column_t *col; in zfs_free_sort_columns() local
192 col = sc->sc_next; in zfs_free_sort_columns()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Ddoupdate.c250 col = newscr->_first[row];
251 if (col < 0)
252 col = 0;
286 if (last <= ++col)
316 col -= count;
320 while (col < last
331 curscr->_curx = col;
336 ++col;
349 curscr->_curx = col;
382 curscr->_curx = col;
[all …]
/illumos-gate/usr/src/boot/efi/libefi/
H A Defi_console.c181 conout->SetCursorPosition(conout, col, row); in plat_tem_display_prom_cursor()
193 *col = 0; in plat_tem_get_prom_pos()
336 UINTN col, row; in efi_text_cons_copy() local
341 col = 0; in efi_text_cons_copy()
353 UINTN row, col; in efi_text_cons_display() local
364 if (row - 1 == da->row && da->col == 0 && da->width == col) in efi_text_cons_display()
376 col = da->col; in efi_text_cons_display()
398 uint32_t row, col; in efi_cons_cursor() local
400 row = col = 0; in efi_cons_cursor()
401 plat_tem_get_prom_pos(&row, &col); in efi_cons_cursor()
[all …]

123456