Searched defs:wcp (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dkillwch.c52 erasewchar(wchar_t *wcp) argument
56 code = __m_tty_wc(VERASE, wcp);
64 killwchar(wchar_t *wcp) argument
68 code = __m_tty_wc(VKILL, wcp);
H A Dget_wch.c52 get_wch(wint_t *wcp) argument
56 code = wget_wch(stdscr, wcp);
64 mvget_wch(int y, int x, wint_t *wcp) argument
69 code = wget_wch(stdscr, wcp);
77 mvwget_wch(WINDOW *w, int y, int x, wint_t *wcp) argument
82 code = wget_wch(w, wcp);
H A Dwget_wch.c78 wget_wch(WINDOW *w, wint_t *wcp) argument
115 *wcp = ch;
132 *wcp = m_wio_get(wio);
147 if ((__m_screen->_flags & S_ECHO) && *wcp != WEOF) {
148 if (*wcp == L'\b') {
156 (void) __m_wc_cc(*wcp, &cc);
H A Dm_cc.c263 __m_tty_wc(int index, wchar_t *wcp) argument
276 code = mbtowc(wcp, &mb, 1) < 0 ? ERR : OK;
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmbmove.c47 chtype *wcp, *wp, *ep; local
53 wcp = win->_y[y];
54 wp = wcp + x;
55 ep = wcp + win->_maxx;
59 for (; wp >= wcp; --wp)
62 if (wp < wcp) {
63 wp = wcp+x+1;
76 x = (int)(wp - wcp);
H A Dputwin.c58 chtype **wcp, **ecp; local
70 ecp = (wcp = win->_y) + win->_maxy;
71 while (wcp < ecp)
72 if (fwrite((char *) *wcp++, sizeof (chtype),
H A Dwinsch.c55 chtype *wcp, a; local
104 wcp = win->_y[cury] + curx;
110 *wcp++ = '^' | win->_attrs | a;
111 *wcp = _UNCTRL(c) | win->_attrs | a;
116 *wcp++ = c;
H A Dgetwin.c56 chtype **ecp, **wcp; local
84 wcp = win->_y;
85 ecp = wcp + maxy;
87 while (wcp < ecp)
88 if (fread((char *) *wcp++, sizeof (chtype), maxx, filep) !=
H A Dmbinsshift.c46 chtype *wcp, *wp, *ep; local
51 wcp = win->_y[y];
53 /* ASSERT(!ISCBIT(wcp[x])); */
57 wp = wcp + maxx - 1;
61 for (; wp >= wcp; --wp)
64 if (wp < wcp)
67 if ((wp + _curs_scrwidth[TYPE(rb)]) > (wcp + maxx))
69 maxx = (int)(wp - wcp);
78 if (ISCBIT(wcp[x + mv]))
82 ep = wcp
[all...]
H A Dwbkgd.c54 chtype *wcp, obkgda, obkgdc, nbkgda, local
105 for (x = maxx, wcp = win->_y[y]; x-- >= 0; ++wcp) {
106 if ((c = _CHAR(*wcp)) == obkgdc)
108 if ((acolor = (*wcp & A_COLOR)) != 0) {
110 *wcp = c | _ATTR((*wcp & ~obkgda) |
113 *wcp = c | _ATTR((*wcp & (~obkgda |
116 *wcp
[all...]
H A Dwinsnstr.c58 chtype *wcp; local
120 wcp = win->_y[cury] + win->_curx;
135 wcp = win->_y[cury] + win->_curx;
138 if (_scrmax > 1 && ISMBIT(*wcp))
144 *wcp++ = _CHAR('^') | win->_attrs;
145 *wcp = _CHAR(_UNCTRL(*sp)) | win->_attrs;
147 *wcp = _CHAR(*sp) | win->_attrs;
149 ++wcp;
H A Dmbaddch.c45 chtype *wcp, *ep, *wp, wc; local
49 wcp = win->_y[y];
50 wp = wcp + x;
54 for (; wp >= wcp; --wp)
57 if (wp < wcp)
62 if (ep > wcp + win->_maxx)
67 if ((x = (int)(wp - wcp)) < win->_firstch[y])
71 if ((x = (int)(ep - wcp) - 1) > win->_lastch[y])
93 chtype *wp, *wcp, *ecp, wc; local
100 wcp
150 chtype *wcp, wc; local
[all...]
H A Dwnoutref.c54 chtype **wcp, **scp, *wc, *sc; local
111 wcp = win->_y;
126 ++sech, ++wcp, ++scp) {
133 wc = *wcp;
189 wc = *wcp + lo;
H A Dwrefresh.c293 chtype *wcp, *cp, prev; local
313 wcp = _virtscr->_y[wy];
318 for (x = 0; x < scrco; ++x, ++wcp, ++cp) {
319 if (_ATTR(*wcp) != prev) {
321 if (_CHAR(*wcp) == ' ')
322 *cp = ' ' | _ATTR(*(wcp + 1));
326 *(cp - 1) = ' ' | _ATTR(*wcp);
327 *cp = *wcp;
331 *cp = ' ' | _ATTR(*wcp);
332 --wcp;
372 chtype *wcp, *scp, *wp, *sp, wc, sc; local
801 _useidch(chtype *wcp, chtype *scp, int length, int maxi, int *id) argument
1043 chtype *wcp = _virtscr->_y[cy]; local
1143 chtype *wcp, *ecp; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_handlers.c38 static void ibmf_i_process_completion(ibmf_ci_t *cip, ibt_wc_t *wcp);
388 ibmf_i_process_completion(ibmf_ci_t *cip, ibt_wc_t *wcp) argument
392 "ibmf_i_process_completion() enter, cip = %p, wcp = %p\n",
393 tnf_opaque, cip, cip, tnf_opaque, wcp, wcp);
395 if (IBMF_IS_RECV_WR_ID(wcp->wc_id) == B_TRUE) {
397 ibmf_i_handle_recv_completion(cip, wcp);
400 ibmf_i_handle_send_completion(cip, wcp);
413 ibmf_i_dump_wcp(ibmf_ci_t *cip, ibt_wc_t *wcp, ibmf_recv_wqe_t *recv_wqep) argument
422 printf("wcp
[all...]
H A Dibmf_send.c256 ibmf_i_handle_send_completion(ibmf_ci_t *cip, ibt_wc_t *wcp) argument
266 "ibmf_i_handle_send_completion() enter, cip = %p, wcp = %p\n",
267 tnf_opaque, cip, cip, tnf_opaque, wcp, wcp);
271 ASSERT(wcp->wc_id != NULL);
273 ASSERT(IBMF_IS_SEND_WR_ID(wcp->wc_id));
276 IBMF_SEND_WR_ID_TO_ADDR(wcp->wc_id, send_wqep);
333 send_wqep->send_status = ibmf_i_ibt_wc_to_ibmf_status(wcp->wc_status);
H A Dibmf_recv.c96 ibmf_i_handle_recv_completion(ibmf_ci_t *cip, ibt_wc_t *wcp) argument
110 "ibmf_i_handle_recv_completion() enter, cip = %p, wcp = %p\n",
111 tnf_opaque, cip, cip, tnf_opaque, wcp, wcp);
126 ASSERT(IBMF_IS_RECV_WR_ID(wcp->wc_id));
127 IBMF_RECV_WR_ID_TO_ADDR(wcp->wc_id, recv_wqep);
146 if (wcp->wc_status == IBT_WC_WR_FLUSHED_ERR) {
246 if (wcp->wc_status != IBT_WC_SUCCESS) {
252 tnf_uint, wc_status, wcp->wc_status);
277 wcp
430 ibt_wc_t *wcp; local
1464 ibt_wc_t *wcp = &recv_wqep->recv_wc; local
[all...]
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_utf8.c214 const smb_wchar_t *wcp = wcstring; local
223 wide_char = *wcp++;
235 wide_char = *wcp++;
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_whatis.c392 whatis_callback_t *wcp; local
423 wcp = mdb_zalloc(sizeof (*wcp), UM_SLEEP);
425 wcp->wcb_index = whatis_cb_index++;
426 wcp->wcb_prio = prio;
427 wcp->wcb_module = mdb.m_lmod;
428 wcp->wcb_modname = mdb.m_lmod->mod_name;
429 wcp->wcb_name = strdup(name);
430 wcp->wcb_func = func;
431 wcp
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_ch.c608 ibt_wc_t *wcp; local
650 for (wcp = wc, i = 0; i < entries; i++, wcp++) {
659 if (wcp->wc_id == 0) {
662 swqe = ch->ch_swqe + wcp->wc_id;
667 swqe->sw_addr, wcp->wc_status);
672 swqe->sw_addr, wcp->wc_status);
681 srpt_ch_free_swqe_wrid(ch, wcp->wc_id);
697 ibt_wc_t *wcp; local
759 for (wcp
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Ditree.c863 struct node *lnp, struct node *anp, struct wildcardinfo *wcp)
877 if (wcp->got_wc_hz == 1)
886 pcp = config_parent(wcp->nptop->u.event.epname->u.name.cp);
891 wcp->nptop->u.event.ewname = wcp->ewname;
892 wcp->nptop->u.event.oldepname = wcp->oldepname;
894 wcp->got_wc_hz = 0;
897 if (wcp->ewname == NULL) {
908 if (wcp
862 vmatch_event(struct info *infop, struct config *cp, struct node *np, struct node *lnp, struct node *anp, struct wildcardinfo *wcp) argument
1192 struct wildcardinfo *wcp; local
[all...]

Completed in 79 milliseconds