Searched refs:col (Results 1 - 25 of 136) 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/uts/common/io/lvm/raid/
H A Draid_hotspare.c90 mr_column_t *col; local
92 col = &un->un_column[hs_index];
95 if (col->un_devflags & MD_RAID_DEV_ISOPEN) {
96 md_layered_close(col->un_dev, MD_OFLG_NULL);
97 col->un_devflags &= ~MD_RAID_DEV_ISOPEN;
102 &col->un_hs_key, NULL, NULL);
104 col->un_hs_pwstart = 0;
105 col->un_hs_devstart = 0;
106 col->un_hs_id = (mddb_recid_t)0;
107 col
137 mr_column_t *col; local
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dout.c112 struct roffcol *col; local
143 icol = dp->layout->col;
146 col = tbl->cols + icol;
147 col->flags |= dp->layout->flags;
150 tblcalc_data(tbl, col, opts, dp);
163 col = tbl->cols + icol;
164 if (col->flags & TBL_CELL_EQUAL) {
166 if (ewidth < col->width)
167 ewidth = col->width;
169 if (col
234 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp) argument
265 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col, const struct tbl_dat *dp) argument
279 tblcalc_number(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp) argument
[all...]
H A Dtbl_term.c233 tbl_char(tp, line, tp->tbl.cols[c1->col].width + 1);
256 const struct roffcol *col)
260 tbl_char(tp, ASCII_NBRSP, col->width);
266 tbl_char(tp, ASCII_NBRSP, col->width);
270 tbl_char(tp, '-', col->width);
274 tbl_char(tp, '=', col->width);
282 tbl_char(tp, '-', col->width);
285 tbl_char(tp, '=', col->width);
291 tbl_literal(tp, dp, col);
294 tbl_number(tp, opts, dp, col);
254 tbl_data(struct termp *tp, const struct tbl_opts *opts, const struct tbl_dat *dp, const struct roffcol *col) argument
320 tbl_literal(struct termp *tp, const struct tbl_dat *dp, const struct roffcol *col) argument
362 tbl_number(struct termp *tp, const struct tbl_opts *opts, const struct tbl_dat *dp, const struct roffcol *col) argument
[all...]
H A Dterm.c138 while (i < p->col) {
144 while (i < p->col && '\t' == p->buf[i]) {
159 for (j = i, jhy = 0; j < p->col; j++) {
218 for ( ; i < p->col; i++) {
225 while (i < p->col && ' ' == p->buf[i])
268 p->col = 0;
317 if (p->col || p->viscol)
507 if (p->col > 2 && p->buf[p->col - 1] == ' ')
508 p->col
[all...]
/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/uts/i86pc/boot/
H A Dboot_vga.c123 int col; local
125 vga_getpos(&row, &col);
126 VGA_SCREEN[row*VGA_TEXT_COLS + col] = (color << 8) | c;
146 vga_setpos(int row, int col) argument
150 off = row * VGA_TEXT_COLS + col;
156 vga_getpos(int *row, int *col) argument
162 *col = off % VGA_TEXT_COLS;
H A Dboot_console.c111 int row, col; local
113 vga_getpos(&row, &col);
116 col += 8 - (col % 8);
117 if (col == VGA_TEXT_COLS)
118 col = 79;
119 vga_setpos(row, col);
127 if (col > 0)
128 vga_setpos(row, col - 1);
133 vga_setpos(row + 1, col);
[all...]
/illumos-gate/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:");
174 if (col > 0)
175 col--;
179 col = (col+8) & ~07;
180 if (col > maxcol)
181 maxcol = col;
185 col = 0;
236 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/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:__anon2611
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/lib/lvm/libmeta/common/
H A Dmeta_raid.c97 uint_t col; local
157 for (col = 0; (col < ncol); ++col) {
158 mr_column_t *rcp = &mr->un_column[col];
159 md_raidcol_t *mdrcp = &raidp->cols.cols_val[col];
179 if (HOTSPARED(mr, col)) {
267 uint_t col; local
278 for (col = 0; (col < raid
389 uint_t col; local
461 int col; local
529 int col; local
794 uint_t col; local
1088 int col; local
1280 uint_t col; local
1860 check_twice( md_raid_t *raidp, uint_t col, md_error_t *ep ) argument
1930 uint_t col; local
2017 uint_t col; local
2051 int col; local
2069 int col; local
2152 uint_t col; local
2422 uint_t ncol, col; local
2634 int col; local
[all...]

Completed in 113 milliseconds

123456