/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | tgoto.c | 52 tgoto(char *cap, int col, int row) argument 56 cp = tparm_p2(cap, row, col);
|
H A D | V3.upd_old_y.c | 52 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/lib/libc/port/gen/ |
H A D | euclen.c | 80 int col = 0; local 84 col += 1; 90 col += scrw2; 94 col += scrw3; 98 col += scrw1; 104 return (col);
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | tgoto.c | 47 (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 D | tgoto.c | 52 tgoto(char *cap, int col, int row) argument 56 str = tparm((char *)cap, (long) row, (long) col,
|
/illumos-gate/usr/src/cmd/vi/misc/ |
H A D | fold.c | 90 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/libnisdb/ |
H A D | ldap_scheme.c | 80 char **col; local 93 col = t->column; 97 col = (char **)&dirCol; 127 a[na].zattr_ndx = col[index];
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tbl_html.c | 55 struct roffcol *col; local 70 col = h->tbl.cols + ic; 71 SCALE_HS_INIT(&su, col->width); 121 if (dp == NULL || dp->layout->col > ic)
|
/illumos-gate/usr/src/uts/i86pc/boot/ |
H A D | boot_vga.c | 123 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;
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | fold.c | 92 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/vi/port/ |
H A D | ex_get.c | 258 smunch(int col, unsigned char *ocp) argument 267 col++; 271 col += value(vi_TABSTOP) - (col % value(vi_TABSTOP)); 277 return (col);
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devpolicy.c | 109 char *line, *col; local 127 col = strchr(line, ':'); 129 if (col != NULL) { 131 *col = '\0'; 133 if (modctl(MODGETMAJBIND, line, col - line + 1, &maj) 137 line = col + 1;
|
/illumos-gate/usr/src/cmd/format/ |
H A D | add_definition.c | 65 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/tbl/ |
H A D | t..c | 58 struct colstr {char *col, *rcol;}; member in struct:colstr
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | value.c | 19 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/psm/promif/ieee1275/common/ |
H A D | prom_fb.c | 76 prom_get_tem_pos(uint32_t *row, uint32_t *col) argument 82 (uintptr_t)row, (uintptr_t)col, 0, 0, 0);
|
/illumos-gate/usr/src/uts/common/io/lvm/raid/ |
H A D | raid_hotspare.c | 90 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/lib/libeti/form/common/ |
H A D | chg_field.c | 140 int col = f->fcol; local 145 while (f->frow == row && f->fcol != col); 150 while (f->frow == row && f->fcol > col) 164 int col = f->fcol; local 169 while (f->frow == row && f->fcol != col); 174 while (f->frow == row && f->fcol < col)
|
/illumos-gate/usr/src/cmd/dumpcs/ |
H A D | dumpcs.c | 138 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) 182 int len, pos, min, max, col; 195 (void) prcode(len, nextpos, min, max, col); 238 for (i = 1; i <= col; i++)
|
/illumos-gate/usr/src/cmd/eqn/ |
H A D | e.y | 74 | col '{' list '}' { column('-', $1); } 80 col : COL { $$ = ct++; } ; label
|
/illumos-gate/usr/src/cmd/fold/ |
H A D | fold.c | 65 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/ucblib/libcurses/ |
H A D | cr_put.c | 401 * Return the column number that results from being in column col and 403 * the case where col > COLS, even if ts does not divide COLS. 407 tabcol(int col, int ts) argument 411 if (col >= COLS) { 412 offset = COLS * (col / COLS); 413 col -= offset; 417 return (col + ts - (col % ts) + offset);
|
/illumos-gate/usr/src/lib/libast/common/disc/ |
H A D | sfdcmore.c | 47 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/uts/sparc/io/ |
H A D | consplat.c | 242 plat_tem_get_prom_pos(uint32_t *row, uint32_t *col) argument 244 prom_get_tem_pos(row, col);
|
/illumos-gate/usr/src/cmd/lp/lib/oam/ |
H A D | fmtmsg.c | 113 int len, n, col; 153 col = wcswidth(p, len); 154 if (col > maxlen) { 111 int len, n, col; local
|