Home
last modified time | relevance | path

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

123456

/illumos-gate/usr/src/boot/common/
H A Dgfx_fb.c1137 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 Dtem.c119 int count, screen_pos_t row, screen_pos_t col);
138 int count, screen_pos_t row, screen_pos_t col);
753 snprintf(buf, sizeof (buf), "%d", active->tvs_c_cursor.col); in tem_save_state()
838 uint32_t col = 0; in tem_pix_align() local
848 plat_tem_get_prom_pos(&row, &col); in tem_pix_align()
863 tem->tvs_s_cursor.col = tem->tvs_c_cursor.col = 0; in tem_pix_align()
1115 tem->tvs_c_cursor.col - 1); in tem_control()
1508 int col; in tem_chkparam() local
1511 col = tem->tvs_c_cursor.col; in tem_chkparam()
1527 tem_mv_cursor(tem, row - tem->tvs_params[0], col); in tem_chkparam()
[all …]
/illumos-gate/usr/src/boot/common/linenoise/
H A Dlinenoise.c382 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 Defi_console.c180 plat_tem_display_prom_cursor(screen_pos_t row, screen_pos_t col) in plat_tem_display_prom_cursor() argument
184 conout->SetCursorPosition(conout, col, row); in plat_tem_display_prom_cursor()
190 plat_tem_get_prom_pos(uint32_t *row, uint32_t *col) in plat_tem_get_prom_pos() argument
193 *col = (uint32_t)conout->Mode->CursorColumn; in plat_tem_get_prom_pos()
196 *col = 0; in plat_tem_get_prom_pos()
339 UINTN col, row; in efi_text_cons_copy() local
344 col = 0; in efi_text_cons_copy()
346 conout->SetCursorPosition(conout, col, row); in efi_text_cons_copy()
356 UINTN row, col; in efi_text_cons_display() local
364 (void) conout->QueryMode(conout, conout->Mode->Mode, &col, &row); in efi_text_cons_display()
[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/boot/i386/libi386/
H A Dvidconsole.c149 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()
485 vidc_text_set_cursor(screen_pos_t row, screen_pos_t col, bool visible) in vidc_text_set_cursor() argument
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()
[all …]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfssubr.c1203 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 Dtem_impl.h156 screen_pos_t col; member
/illumos-gate/usr/src/cmd/
H A DMakefile101 col \
559 col \
/illumos-gate/usr/src/cmd/audio/audioctl/
H A Daudioctl.c435 col_prt_t col; in print_header() local
438 col.col_nm = _("#CONTROL"); in print_header()
439 col.col_val = _("VALUE"); in print_header()
441 col.col_dv = _("DEVICE"); in print_header()
442 col.col_nm = _("CONTROL"); in print_header()
443 col.col_val = _("VALUE"); in print_header()
444 col.col_sel = _("POSSIBLE"); in print_header()
446 print_control_line(sfp, &col, vopt); in print_header()
462 col_prt_t col; in print_control() local
558 col.col_dv = devnm; in print_control()
[all …]
/illumos-gate/usr/src/cmd/beadm/
H A Dbeadm.c208 struct col_info *col = hdr->cols; in init_hdr_cols() local
211 col[1].col_name = _("Active"); in init_hdr_cols()
212 col[2].col_name = _("Mountpoint"); 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()
219 col[0].col_name = _("BE/Dataset/Snapshot"); in init_hdr_cols()
222 col[0].col_name = _("BE/Dataset"); in init_hdr_cols()
225 col[0].col_name = _("BE/Snapshot"); in init_hdr_cols()
226 col[1].col_name = NULL; in init_hdr_cols()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dpppdump.c100 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 Ddisplay.c240 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 Dcommands.c549 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 DMakefile28 PROG= col
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c1159 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 Ddevpolicy.c107 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 Ddiff.c930 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 Ddumpcs.c136 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 Ded.c234 static int col; variable
2350 col = 0; in puts()
2402 if (col + 4 >= 72) { in putwchr()
2403 col = 0; in putwchr()
2409 col += 4; in putwchr()
2415 if (col + len >= 72) { in putwchr()
2416 col = 0; in putwchr()
2420 col += len; in putwchr()
2456 col += 2; in putchr()
2461 col += 2; in putchr()
[all …]
/illumos-gate/usr/src/cmd/eqn/
H A De.y74 | col '{' list '}' { column('-', $1); }
80 col : COL { $$ = ct++; } ;
/illumos-gate/usr/src/cmd/fmt/
H A Dfmt.c169 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 Dfold.c63 static int col = 0; variable
194 if (col != 0) newline_init(); in main()
211 ncol = col + chr_width(c); in putch()
213 ncol = (col + 8) &~ 7; in putch()
217 ncol = col + chr_width(c); in putch()
219 ncol = col ? col - 1 : 0; in putch()
223 ncol = col + chr_width(c); in putch()
230 ncol = col + chr_width(c); in putch()
232 ncol = col + wcwidth(c); in putch()
269 col -= spcol; in putch()
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dadd_definition.c63 static int add_entry(int col, FILE *fd, char *format, ...);
187 int col; in add_disktype() local
194 col = add_entry(0, fd, " : ctlr = %s", in add_disktype()
197 col = add_entry(col, fd, " : ncyl = %d", disk_type->dtype_ncyl); in add_disktype()
199 col = add_entry(col, fd, " : acyl = %d", disk_type->dtype_acyl); in add_disktype()
201 col = add_entry(col, fd, " : pcyl = %d", disk_type->dtype_pcyl); in add_disktype()
203 col = add_entry(col, fd, " : nhead = %d", disk_type->dtype_nhead); in add_disktype()
206 col = add_entry(col, fd, " : phead = %d", in add_disktype()
210 col = add_entry(col, fd, " : nsect = %d", disk_type->dtype_nsect); in add_disktype()
213 col = add_entry(col, fd, " : psect = %d", in add_disktype()
[all …]
H A Dio.c1704 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()

123456