Home
last modified time | relevance | path

Searched refs:SP (Results 1 – 25 of 78) sorted by relevance

1234

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dnewscreen.c82 SCREEN *old = SP; in newscreen()
140 SP->fl_echoit = 1; in newscreen()
181 SP->tcap = cur_term; in newscreen()
208 SP->fl_endwin = 2; in newscreen()
238 SP->_mks = marks; in newscreen()
251 SP->virt_hash = SP->cur_hash + LINES; in newscreen()
262 delscreen(SP); in newscreen()
267 SP = old; in newscreen()
281 SP, SP->std_scr, curscr); in newscreen()
291 SP->ichok = (SP->imode || insert_character || parm_ich); in newscreen()
[all …]
H A Dsetcurscreen.c50 SCREEN *rv = SP; in setcurscreen()
52 if (new != SP) { in setcurscreen()
59 SP = new; in setcurscreen()
61 (void) setcurterm(SP->tcap); in setcurscreen()
62 LINES = SP->lsize; in setcurscreen()
63 COLS = SP->csize; in setcurscreen()
64 TABSIZE = SP->tsize; in setcurscreen()
65 stdscr = SP->std_scr; in setcurscreen()
66 curscr = SP->cur_scr; in setcurscreen()
67 _virtscr = SP->virt_scr; in setcurscreen()
H A Dendwin.c62 if (SP && (SP->fl_endwin == TRUE)) in isendwin()
72 if (SP->fl_endwin) { in endwin()
74 if (SP->fl_endwin == TRUE) { in endwin()
76 if (SP->kp_state) in endwin()
78 if (SP->fl_meta) in endwin()
97 SP->fl_endwin = FALSE; in endwin()
105 if (SP->fl_endwin == TRUE) in endwin()
114 if (SP->fl_meta) in endwin()
118 if (SP->kp_state) in endwin()
130 if (SP->phys_irm) in endwin()
[all …]
H A Dmouse.c51 SP->_trap_mbe = mbe; in mouse_set()
53 (void) fflush(SP->term_file); in mouse_set()
63 SP->_trap_mbe |= mbe; in mouse_on()
64 (void) tputs(tparm_p1(get_mouse, (long) SP->_trap_mbe), in mouse_on()
66 (void) fflush(SP->term_file); in mouse_on()
76 SP->_trap_mbe &= ~mbe; in mouse_off()
79 (void) fflush(SP->term_file); in mouse_off()
93 (void) fflush(SP->term_file); in request_mouse_pos()
133 SP->_map_mbe_to_key = a; in map_button()
141 return (SP->_trap_mbe); in getmouse()
[all …]
H A Dresetty.c51 if ((_BRS(SP->save_tty_bufs)) != 0) { in resetty()
52 PROGTTYS = SP->save_tty_bufs; in resetty()
57 "%x, %x, %x\n", cur_term->Filedes, SP, in resetty()
62 } else if ((_BR(SP->save_tty_buf)) != 0) { in resetty()
65 PROGTTY = SP->save_tty_buf; in resetty()
70 "%x, %x, %x\n", cur_term->Filedes, SP, in resetty()
83 if ((_BR(SP->save_tty_buf)) != 0) { in resetty()
84 PROGTTY = SP->save_tty_buf; in resetty()
88 cur_term->Filedes, SP, PROGTTY.sg_flags); in resetty()
H A Dwgetch.c66 SP->fl_echoit ? 'T' : 'F'); in wgetch()
68 win->_use_keypad, SP->kp_state); in wgetch()
69 fprintf(outf, "file %x fd %d\n", SP->input_file, in wgetch()
70 fileno(SP->input_file)); in wgetch()
74 if (SP->fl_echoit && cur_term->_fl_rawmode == 0) { in wgetch()
90 (void) fflush(SP->term_file); in wgetch()
95 if (SP->fl_echoit && (inp < 0200) && (inp >= 0) && !(win->_flags & in wgetch()
104 if (inp == '\r' && !SP->fl_nonl) in wgetch()
H A Doutch.c71 unctrl(c&0177), SP, cur_term->Filedes, fileno(SP->term_file)); in _outwch()
79 (void) putc((int)c, SP->term_file); in _outwch()
82 (void) putc((int)o, SP->term_file); in _outwch()
85 (void) putc((int)o, SP->term_file); in _outwch()
H A Dsavetty.c64 SP->save_tty_buf = PROGTTY; in savetty()
66 SP->save_tty_bufs = PROGTTYS; in savetty()
68 SP->save_tty_buf = PROGTTY; in savetty()
74 cur_term->Filedes, SP, PROGTTYS.c_iflag, PROGTTYS.c_oflag, in savetty()
79 cur_term->Filedes, SP, PROGTTY.sg_flags); in savetty()
H A Dquick_echo.c66 (SPy > ((LINES + SP->Yabove) - 1)) || (SPx > (COLS - 1)) || in _quick_echo()
67 (SP->slk && (SP->slk->_changed == TRUE))) { in _quick_echo()
93 if (SP->phys_irm) in _quick_echo()
99 (void) fflush(SP->term_file); in _quick_echo()
H A Dwrefresh.c118 slk = SP->slk; in wrefresh()
123 if (SP->fl_endwin) { in wrefresh()
127 if (SP->kp_state) in wrefresh()
131 if (SP->fl_meta) in wrefresh()
489 if (redraw || (!SP->dchok && !SP->ichok) || !(_virtscr->_use_idc) || in _updateln()
822 if (SP->dmode) { in _useidch()
839 if (SP->dmode) { in _useidch()
874 if (SP->imode) { in _useidch()
896 if (SP->imode) { in _useidch()
1051 if (!SP->ichok) in _rmargin()
[all …]
H A Dinitscr.c75 if (i_called_before && SP) { in initscr()
76 delscreen(SP); in initscr()
77 SP = NULL; in initscr()
90 fprintf(outf, "initscr: term = %s\n", SP); in initscr()
H A Dcurshdr.h60 #define _ONINSERT() (_PUTS(enter_insert_mode, 1), SP->phys_irm = TRUE)
61 #define _OFFINSERT() (_PUTS(exit_insert_mode, 1), SP->phys_irm = FALSE)
99 #define _COST(field) (SP->term_costs.field)
159 extern SCREEN *SP;
230 #define _CURHASH SP->cur_hash
231 #define _VIRTHASH SP->virt_hash
238 #define _MARKS SP->_mks
239 #define _COLOR_MARKS SP->_color_mks
H A Dslk_noutref.c52 if (SP->slk == NULL) in slk_noutrefresh()
55 if (SP->slk->_win && _slk_update()) in slk_noutrefresh()
56 (void) wnoutrefresh(SP->slk->_win); in slk_noutrefresh()
H A Dkeypad.c58 if (bf && (!SP->kp_state)) { in keypad()
60 (void) fflush(SP->term_file); in keypad()
61 SP->kp_state = TRUE; in keypad()
H A Drestart.c61 int saveecho = SP->fl_echoit; in restartterm()
75 SP->fl_echoit = saveecho; in restartterm()
92 LINES = SP->lsize; in restartterm()
H A Dslk_refresh.c53 return (wrefresh(SP->slk->_win)); in slk_refresh()
67 if ((slk = SP->slk) == NULL || (slk->_changed != TRUE)) in _slk_update()
90 (void) fflush(SP->term_file); in _slk_update()
H A Dslk_restore.c52 if (SP->slk) { in slk_restore()
53 SP->slk->_changed = TRUE; in slk_restore()
H A Dgetsyx.c70 if (SP->virt_scr->_leave) in _getsyx()
73 *yp = _virtscr->_cury - SP->Yabove; in _getsyx()
H A Dslk_atroff.c56 if ((SP->slk == NULL) || ((win = SP->slk->_win) == NULL)) in slk_attroff()
H A Dslk_atron.c56 if ((SP->slk == NULL) || ((win = SP->slk->_win) == NULL)) in slk_attron()
H A Dslk_atrset.c56 if ((SP->slk == NULL) || ((win = SP->slk->_win) == NULL)) in slk_attrset()
H A Dsetsyx.c62 SP->virt_scr->_leave = TRUE; in setsyx()
64 _virtscr->_cury = y + SP->Yabove; in setsyx()
H A Dmeta.c72 if ((SP->fl_meta = bf) != 0) in _meta()
76 (void) fflush(SP->term_file); in _meta()
H A Dscr_reset.c138 SLK_MAP *slk = SP->slk; in scr_reset()
279 SP->virt_scr = _virtscr = win; in scr_reset()
284 SP->virt_scr = _virtscr = win1; in scr_reset()
296 SP->cur_scr = curscr = win; in scr_reset()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c252 #define GET_SERV_BY_NAME(NAME, PROTO, SP, ERR, TMP) \ argument
253 (TMP = getservbyname (NAME, PROTO), (SP) = TMP, (ERR) = (SP) ? 0 : -1)
254 #define GET_SERV_BY_PORT(PORT, PROTO, SP, ERR, TMP) \ argument
255 (TMP = getservbyport (PORT, PROTO), (SP) = TMP, (ERR) = (SP) ? 0 : -1)
262 #define GET_SERV_BY_NAME(NAME, PROTO, SP, ERR, TMP) \ argument
273 #define GET_SERV_BY_PORT(PORT, PROTO, SP, ERR, TMP) \ argument
290 #define GET_SERV_BY_NAME(NAME, PROTO, SP, ERR, TMP) \ argument
292 (SP) = getservbyname_r((NAME), (PROTO), &TMP.ent, \
294 (ERR) = (SP) == NULL; \
297 #define GET_SERV_BY_PORT(PORT, PROTO, SP, ERR, TMP) \ argument
[all …]

1234