/illumos-gate/usr/src/boot/common/ |
H A D | gfx_fb.c | 1137 if ((uint32_t)da->col >= gfx_fb.framebuffer_common.framebuffer_width || in gfx_fb_cons_display() 1139 (uint32_t)da->col + da->width > in gfx_fb_cons_display() 1153 dx = da->col; in gfx_fb_cons_display() 1187 da->col, da->row, 0, 0, da->width, da->height, 0) == 0) { in gfx_fb_cons_display() 1190 0, 0, da->col, da->row, da->width, da->height, 0); in gfx_fb_cons_display() 1248 ca->col, ca->row, 0, 0, ca->width, ca->height, 0) == 0) in gfx_fb_display_cursor() 1253 ca->col, ca->row, ca->width, ca->height, 0); in gfx_fb_display_cursor() 1260 dx = ca->col; in gfx_fb_display_cursor() 1686 da.col = ux1; in gfx_fb_putimage() 1697 da.col / tems.ts_font.vf_width, in gfx_fb_putimage() [all …]
|
H A D | tem.c | 1508 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/boot/common/linenoise/ |
H A D | linenoise.c | 382 int col; /* colum position, zero-based. */ in refreshMultiLine() local 435 col = (plen+(int)l->pos) % (int)l->cols; in refreshMultiLine() 436 if (col) in refreshMultiLine() 437 snprintf(seq,64,"\r\x1b[%dC", col); in refreshMultiLine()
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | efi_console.c | 181 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 …]
|
/illumos-gate/usr/src/boot/i386/common/ |
H A D | cons.c | 55 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/boot/i386/libi386/ |
H A D | vidconsole.c | 149 plat_tem_get_prom_pos(uint32_t *row, uint32_t *col) in plat_tem_get_prom_pos() argument 155 *col = 0; in plat_tem_get_prom_pos() 159 *col = (uint32_t)x; in plat_tem_get_prom_pos() 476 addr = (struct cgatext *)vgatext + (da->row * TEXT_COLS + da->col); in vidc_text_cons_display() 495 addr = row * TEXT_COLS + col; in vidc_text_set_cursor() 507 vidc_text_get_cursor(screen_pos_t *row, screen_pos_t *col) in vidc_text_get_cursor() argument 515 *col = addr % TEXT_COLS; in vidc_text_get_cursor() 526 vidc_text_set_cursor(cc->row, cc->col, false); in vidc_cons_cursor() 532 vidc_text_set_cursor(cc->row, cc->col, true); in vidc_cons_cursor() 537 cc->col = 0; in vidc_cons_cursor() [all …]
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | zfssubr.c | 1203 uint64_t q, r, c, bc, col, acols, scols, coff, devidx, asize, tot; in vdev_raidz_map_alloc() local 1238 col = f + c; in vdev_raidz_map_alloc() 1240 if (col >= dcols) { in vdev_raidz_map_alloc() 1241 col -= dcols; in vdev_raidz_map_alloc() 1244 rm->rm_col[c].rc_devidx = col; in vdev_raidz_map_alloc()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | tem_impl.h | 156 screen_pos_t col; member
|
/illumos-gate/usr/src/cmd/ |
H A D | Makefile | 101 col \ 559 col \
|
/illumos-gate/usr/src/cmd/audio/audioctl/ |
H A D | audioctl.c | 435 col_prt_t col; in print_header() local 439 col.col_val = _("VALUE"); in print_header() 462 col_prt_t col; in print_control() local 558 col.col_dv = devnm; in print_control() 562 col.col_nm = strchr(col.col_nm, '_') + 1; in print_control() 564 col.col_val = valbuf; in print_control() 565 col.col_sel = selbuf; in print_control() 592 col.col_dv = NULL; in print_control() 593 col.col_nm = NULL; in print_control() 594 col.col_val = NULL; in print_control() [all …]
|
/illumos-gate/usr/src/cmd/beadm/ |
H A D | beadm.c | 211 col[1].col_name = _("Active"); in init_hdr_cols() 213 col[3].col_name = _("Space"); in init_hdr_cols() 214 col[4].col_name = _("Policy"); in init_hdr_cols() 215 col[5].col_name = _("Created"); in init_hdr_cols() 226 col[1].col_name = NULL; in init_hdr_cols() 227 col[2].col_name = NULL; in init_hdr_cols() 231 col[0].col_name = _("BE"); in init_hdr_cols() 236 col[i].width = 0; in init_hdr_cols() 245 col[i].width = wcsw; in init_hdr_cols() 247 col[i].width = sz; in init_hdr_cols() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | pppdump.c | 100 int c, n, k, col; local 113 col = 6; 138 if ((col += k) >= 78) { 140 col = 6 + k;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | display.c | 240 readwin(win, line, col) in readwin() argument 242 int line, col; 248 wmove(win, line, col);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | commands.c | 549 int col, len; in send_tncmd() local 555 col = 8; in send_tncmd() 558 if (col + len > 65) { in send_tncmd() 560 col = 8; in send_tncmd() 563 col += len; in send_tncmd()
|
/illumos-gate/usr/src/cmd/col/ |
H A D | Makefile | 28 PROG= col
|
/illumos-gate/usr/src/cmd/compress/ |
H A D | compress.c | 1159 static int col = 0; in output() local 1168 (col += 6) >= 74 ? (col = 0, '\n') : ' '); in output() 1247 col = 0; in output() 1460 int col = 0, bits; in printcodes() local 1474 col = 0; in printcodes() 1477 code, (col += 6) >= 74 ? (col = 0, '\n') : ' '); in printcodes()
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devpolicy.c | 107 char *line, *col; in loadprivs() local 125 col = strchr(line, ':'); in loadprivs() 127 if (col != NULL) { in loadprivs() 129 *col = '\0'; in loadprivs() 131 if (modctl(MODGETMAJBIND, line, col - line + 1, &maj) in loadprivs() 135 line = col + 1; in loadprivs()
|
/illumos-gate/usr/src/cmd/diff/ |
H A D | diff.c | 930 int col; in fetch() local 986 col = 0; in fetch() 992 } while (++col & 7); in fetch() 995 col++; in fetch()
|
/illumos-gate/usr/src/cmd/dumpcs/ |
H A D | dumpcs.c | 136 int col, i, position; local 141 col = SCRWID - bytes * 2 - 1; 143 for (i = columns + 1; i <= col; i *= 2) cplmax *= 2; 179 prcode(len, pos, min, max, col) in prcode() argument 180 int len, pos, min, max, col; in prcode() 193 (void) prcode(len, nextpos, min, max, col); 236 for (i = 1; i <= col; i++)
|
/illumos-gate/usr/src/cmd/ed/ |
H A D | ed.c | 234 static int col; variable 2350 col = 0; in puts() 2403 col = 0; in putwchr() 2409 col += 4; in putwchr() 2416 col = 0; in putwchr() 2456 col += 2; in putchr() 2461 col += 2; in putchr() 2466 col += 2; in putchr() 2471 col += 2; in putchr() 2476 col += 2; in putchr() [all …]
|
/illumos-gate/usr/src/cmd/eqn/ |
H A D | e.y | 74 | col '{' list '}' { column('-', $1); } 80 col : COL { $$ = ct++; } ;
|
/illumos-gate/usr/src/cmd/fmt/ |
H A D | fmt.c | 169 int col; in fmt() local 207 col = 0; in fmt() 212 col += scrwidth(c); in fmt() 220 col++; in fmt() 221 } while ((col & 07) != 0); in fmt()
|
/illumos-gate/usr/src/cmd/fold/ |
H A D | fold.c | 63 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/cmd/format/ |
H A D | add_definition.c | 206 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 …]
|
H A D | io.c | 1704 int col; in print_input_choices() local 1735 col = 0; in print_input_choices() 1738 if (col == 0) in print_input_choices() 1741 (++col == ncols) ? 0 : width); in print_input_choices() 1742 if (col == ncols) { in print_input_choices() 1743 col = 0; in print_input_choices() 1747 if (col != 0) in print_input_choices()
|