/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | bkgrndst.c | 45 (bkgrndset)(bg) 46 const cchar_t *bg; 49 __m_trace("bkgrndset(%p)", bg); 52 stdscr->_bg = *bg; 58 (wbkgrndset)(w, bg) 60 const cchar_t *bg; variable 63 __m_trace("wbkgrndset(%p, %p)", w, bg); 66 w->_bg = *bg; 72 (getbkgrnd)(bg) 73 cchar_t *bg; [all …]
|
H A D | bkgdset.c | 45 (bkgdset)(chtype bg) 50 __m_trace("bkgdset(%lx)", bg); 53 code = __m_chtype_cc(bg, &stdscr->_bg); 59 (wbkgdset)(WINDOW *w, chtype bg) 64 __m_trace("wbkgdset(%p, %lx)", w, bg); 67 code = __m_chtype_cc(bg, &w->_bg); 75 chtype bg; in chtype() local 81 bg = __m_cc_chtype(&w->_bg); in chtype() 83 return __m_return_chtype("getbkgd", bg); in chtype()
|
H A D | bkgd.c | 45 (bkgd)(chtype bg) 51 __m_trace("bkgd(%lx)", bg); 54 if ((code = __m_chtype_cc(bg, &cc)) == OK) 61 (wbkgd)(WINDOW *w, chtype bg) 67 __m_trace("wbkgd(%p, %lx)", w, bg); 70 if ((code = __m_chtype_cc(bg, &cc)) == OK)
|
H A D | wbkgrnd.c | 53 wbkgrnd(w, bg) in wbkgrnd() argument 55 const cchar_t *bg; 61 __m_trace("wbkgrnd(%p, %p)", w, bg); 65 w->_bg = *bg; 72 *cp = *bg; 82 cp->_at |= bg->_at | w->_fg._at;
|
H A D | bkgrnd.c | 52 (bkgrnd)(bg) 53 const cchar_t *bg; 58 __m_trace("bkgrnd(%p)", bg); 61 code = wbkgrnd(stdscr, bg);
|
H A D | vid_puts.c | 141 short fg, bg; in vid_puts() local 151 } else if (pair_content(pair, &fg, &bg) == OK) { in vid_puts() 171 tparm(set_background, (long) bg, in vid_puts() 179 set_a_background, (long) bg, in vid_puts()
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | bkgrndst.c | 52 bkgrndset(const cchar_t *bg) in bkgrndset() argument 54 wbkgrndset(stdscr, bg); in bkgrndset() 60 wbkgrndset(WINDOW *w, const cchar_t *bg) in wbkgrndset() argument 65 w->_fg._at = (attrs & ~w->_bg._at) | bg->_at; in wbkgrndset() 67 w->_fg._co = bg->_co; in wbkgrndset() 69 w->_bg = *bg; in wbkgrndset() 75 getbkgrnd(cchar_t *bg) in getbkgrnd() argument 77 *bg = stdscr->_bg; in getbkgrnd() 85 wgetbkgrnd(WINDOW *w, cchar_t *bg) in wgetbkgrnd() argument 87 *bg = w->_bg; in wgetbkgrnd()
|
H A D | wbkgrnd.c | 57 wbkgrnd(WINDOW *w, const cchar_t *bg) in wbkgrnd() argument 64 w->_bg = *bg; in wbkgrnd() 65 w->_fg._at = (w->_fg._at & ~old_bg._at) | bg->_at; in wbkgrnd() 69 w->_fg._co = bg->_co; in wbkgrnd() 72 w->_fg._co = bg->_co; in wbkgrnd() 82 *cp = *bg; in wbkgrnd() 86 cp->_co = bg->_co; in wbkgrnd() 91 cp->_co = bg->_co; in wbkgrnd() 93 cp->_at = (_at & ~old_bg._at) | bg->_at; in wbkgrnd()
|
H A D | bkgdset.c | 52 bkgdset(chtype bg) in bkgdset() argument 54 wbkgdset(stdscr, bg); in bkgdset() 60 wbkgdset(WINDOW *w, chtype bg) in wbkgdset() argument 64 (void) __m_chtype_cc(bg, &cc); in wbkgdset() 75 chtype bg; in getbkgd() local 77 bg = __m_cc_chtype(&w->_bg); in getbkgd() 79 return (bg); in getbkgd()
|
H A D | bkgd.c | 50 bkgd(chtype bg) in bkgd() argument 55 if ((code = __m_chtype_cc(bg, &cc)) == OK) in bkgd() 64 wbkgd(WINDOW *w, chtype bg) in wbkgd() argument 69 if ((code = __m_chtype_cc(bg, &cc)) == OK) in wbkgd()
|
H A D | bkgrnd.c | 57 bkgrnd(const cchar_t *bg) in bkgrnd() argument 61 code = wbkgrnd(stdscr, bg); in bkgrnd()
|
H A D | vid_puts.c | 145 short fg, bg; in vid_puts() local 151 } else if (pair_content(pair, &fg, &bg) == OK) { in vid_puts() 163 (void) TPUTS(tparm(set_a_background, (long) bg, in vid_puts() 167 (void) TPUTS(tparm(set_background, (long) bg, in vid_puts()
|
H A D | copywin.c | 95 cchar_t bg = s->_bg; in copywin() local 104 if (__m_cc_compare(st, &bg, 1)) in copywin()
|
/illumos-gate/usr/src/uts/i86pc/boot/ |
H A D | boot_fb.c | 353 boot_get_color(uint32_t *fg, uint32_t *bg) in boot_get_color() argument 363 *bg = brt_xlate[fb_info.fg_color]; in boot_get_color() 365 *bg = dim_xlate[fb_info.fg_color]; in boot_get_color() 367 *bg = fb_info.fg_color; in boot_get_color() 390 *bg = brt_xlate[fb_info.bg_color]; in boot_get_color() 392 *bg = dim_xlate[fb_info.bg_color]; in boot_get_color() 394 *bg = fb_info.bg_color; in boot_get_color() 471 uint32_t fg, bg, toffset; in boot_fb_init() local 474 boot_get_color(&fg, &bg); in boot_fb_init() 475 bg = boot_color_map(bg); in boot_fb_init() [all …]
|
H A D | boot_vga.c | 86 uint32_t fg, bg; in get_vga_color() local 88 boot_get_color(&fg, &bg); in get_vga_color() 89 color = solaris_color_to_pc_color[bg] << 4; in get_vga_color()
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_bitmap.c | 362 alpha_blend(uint8_t fg, uint8_t bg, uint8_t alpha) in alpha_blend() argument 368 return (bg); in alpha_blend() 371 blend = (alpha * fg + (0xFF - alpha) * bg); in alpha_blend() 520 uint32_t fg, bg, offset, size; in bitmap_display_cursor() local 539 bg = ca->bg_color.eight; in bitmap_display_cursor() 544 sfb8[j] = (sfb8[j] ^ (fg & 0xff)) ^ (bg & 0xff); in bitmap_display_cursor() 555 bg = ca->bg_color.sixteen[0] << 8; in bitmap_display_cursor() 556 bg |= ca->bg_color.sixteen[1]; in bitmap_display_cursor() 564 (bg & 0xffff); in bitmap_display_cursor() 575 bg = ca->bg_color.twentyfour[0] << 16; in bitmap_display_cursor() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tem_safe.c | 1285 text_color_t bg; in tem_safe_outch() local 1298 tem_safe_get_attr(tem, &fg, &bg, &attr, TEM_ATTR_REVERSE); in tem_safe_outch() 1301 tem->tvs_outbuf[tem->tvs_outindex].tc_bg_color = bg; in tem_safe_outch() 1793 text_color_t bg, fg; in tem_safe_text_display() local 1804 tem_safe_get_color(tem, &fg, &bg, &string[i]); in tem_safe_text_display() 1806 tem_safe_set_color(&bg, &da.bg_color); in tem_safe_text_display() 1995 text_color_t fg, bg; in tem_safe_pix_bit2pix() local 1999 tem_safe_get_color(tem, &fg, &bg, c); in tem_safe_pix_bit2pix() 2021 fp(tem, c->tc_char, fg, bg); in tem_safe_pix_bit2pix() 2439 text_color_t fg, bg; in tem_safe_pix_cursor() local [all …]
|
H A D | tem.c | 215 text_color_t bg; in tem_internal_init() local 252 tem_safe_get_attr(ptem, &fg, &bg, &attr, TEM_ATTR_SCREEN_REVERSE); in tem_internal_init() 258 ptem->tvs_screen_rows[i][j].tc_bg_color = bg; in tem_internal_init() 970 uint8_t fg, bg; in tems_get_initial_color() local 973 bg = DEFAULT_ANSI_BACKGROUND; in tems_get_initial_color() 980 plat_tem_get_colors(&fg, &bg); in tems_get_initial_color() 983 pcolor->bg_color.n = bg; in tems_get_initial_color()
|
/illumos-gate/usr/src/boot/common/ |
H A D | tem.c | 889 uint8_t fg, bg; in tems_get_initial_color() local 892 bg = DEFAULT_ANSI_BACKGROUND; in tems_get_initial_color() 893 plat_tem_get_colors(&fg, &bg); in tems_get_initial_color() 895 pcolor->bg_color.n = bg; in tems_get_initial_color() 1838 text_color_t bg; in tem_outch() local 1848 tem_get_attr(tem, &fg, &bg, &attr, TEM_ATTR_REVERSE); in tem_outch() 1851 tem->tvs_outbuf[tem->tvs_outindex].tc_bg_color = bg; in tem_outch() 2307 text_color_t bg, fg; in tem_text_display() local 2318 tem_get_color(tem, &fg, &bg, &string[i]); in tem_text_display() 2320 tem_set_color(&bg, &da.bg_color); in tem_text_display() [all …]
|
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_async.c | 417 uint_t bg; in av1394_async_update_targetinfo() local 421 bg = avp->av_attachinfo.localinfo.bus_generation; in av1394_async_update_targetinfo() 425 ret = t1394_get_targetinfo(avp->av_t1394_hdl, bg, 0, &ap->a_targetinfo); in av1394_async_update_targetinfo() 426 ap->a_bus_generation = bg; in av1394_async_update_targetinfo()
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | ts.c | 2089 proc_t *leader, *fg, *bg; in ia_set_process_group() local 2200 for (bg = (proc_t *)pgfind(bg_pgid); bg != NULL; bg = bg->p_pglink) { in ia_set_process_group() 2201 if (bg->p_stat == SIDL) { in ia_set_process_group() 2209 if (bg->p_pid == bg->p_sessp->s_sid) { in ia_set_process_group() 2214 "group off:proc %p", bg); in ia_set_process_group() 2217 if (mutex_tryenter(&bg->p_lock) == 0) in ia_set_process_group() 2220 mutex_enter(&bg->p_lock); in ia_set_process_group() 2223 if ((tx = proctot(bg)) == NULL) { in ia_set_process_group() 2224 mutex_exit(&bg->p_lock); in ia_set_process_group() 2244 } while ((tx = tx->t_forw) != bg->p_tlist); in ia_set_process_group() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/data/ |
H A D | builtins.c | 101 "bg", NV_BLTIN|BLT_ENV, bltin(bg), 102 "fg", NV_BLTIN|BLT_ENV|BLT_EXIT, bltin(bg), 103 "disown", NV_BLTIN|BLT_ENV, bltin(bg),
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | efi_console.c | 319 uint8_t bg; in efi_text_cons_clear() local 324 bg = solaris_color_to_efi_color[ca->bg_color.four & 0xF] & 0x7; in efi_text_cons_clear() 326 attr = EFI_TEXT_ATTR(attr, bg); in efi_text_cons_clear() 358 uint8_t fg, bg; in efi_text_cons_display() local 372 bg = solaris_color_to_efi_color[da->bg_color.four & 0xf] & 0x7; in efi_text_cons_display() 373 attr = EFI_TEXT_ATTR(fg, bg); in efi_text_cons_display()
|
/illumos-gate/usr/src/lib/libc/sparcv9/crt/ |
H A D | __align_cpy_4.S | 97 bg,pt %xcc, .loop16a ! Have at least 16 bytes left. 101 bg,a,pt %xcc, .chkwd ! Have some remaining bytes. 115 bg,a,pn %xcc, .wrword ! Still have four to do.
|
/illumos-gate/usr/src/uts/sparc/v9/ml/ |
H A D | crt.S | 65 bg 0b 90 bg 0b
|