Searched defs:wp (Results 1 - 25 of 123) sorted by relevance

12345

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmbmove.c47 chtype *wcp, *wp, *ep; local
54 wp = wcp + x;
57 /* make wp points to the start of a character */
58 if (ISCBIT(*wp)) {
59 for (; wp >= wcp; --wp)
60 if (!ISCBIT(*wp))
62 if (wp < wcp) {
63 wp = wcp+x+1;
64 for (; wp < e
[all...]
H A Dmbinch.c47 chtype *wp, *ep, wc; local
56 wp = win->_y[win->_cury] + win->_curx;
57 wc = RBYTE(*wp);
58 ep = wp + _curs_scrwidth[TYPE(wc & 0377)];
60 for (; wp < ep; ++wp) {
61 if ((wc = RBYTE(*wp)) == MBIT)
65 if ((wc = LBYTE(*wp)|MBIT) == MBIT)
H A Dmbinsshift.c46 chtype *wcp, *wp, *ep; local
57 wp = wcp + maxx - 1;
58 if (ISMBIT(*wp)) {
61 for (; wp >= wcp; --wp)
62 if (!ISCBIT(*wp))
64 if (wp < wcp)
66 rb = RBYTE(*wp);
67 if ((wp + _curs_scrwidth[TYPE(rb)]) > (wcp + maxx))
69 maxx = (int)(wp
[all...]
H A Dmbaddch.c45 chtype *wcp, *ep, *wp, wc; local
50 wp = wcp + x;
53 if (ISCBIT(*wp)) {
54 for (; wp >= wcp; --wp)
55 if (!ISCBIT(*wp))
57 if (wp < wcp)
60 wc = RBYTE(*wp);
61 ep = wp + _curs_scrwidth[TYPE(wc)];
67 if ((x = (int)(wp
93 chtype *wp, *wcp, *ecp, wc; local
[all...]
/illumos-gate/usr/src/ucblib/libcurses/
H A Ddelwin.c35 WINDOW *wp, *np; local
46 wp = win->_nextp;
47 while (wp != win) {
48 np = wp->_nextp;
49 (void) delwin(wp);
50 wp = np;
59 for (wp = win->_nextp; wp->_nextp != win; wp = wp
[all...]
/illumos-gate/usr/src/uts/i86pc/io/ppm/
H A Dacpisleep.c85 wakecode_t *wp = (wakecode_t *)wakevirt; local
/illumos-gate/usr/src/lib/libc/port/print/
H A Dvwprintf.c159 wchar_t *wp; local
173 wp = (wchar_t *)(uintptr_t)siop._ptr;
174 *wp = L'\0';
H A Dwprintf.c149 wchar_t *wp; local
161 wp = (wchar_t *)(uintptr_t)siop._ptr;
162 *wp = L'\0';
/illumos-gate/usr/src/lib/libcmd/common/
H A Drev.c64 register wchar_t *wp, *xp; local
69 wp = 0;
77 if (!(wp = newof(wp, wchar_t, w, 0)))
83 xp = wp;
87 while (xp > wp)
93 if (wp)
94 free(wp);
H A Dwc.c74 static void printout(register Wc_t *wp, register char *name,register int mode) argument
77 sfprintf(sfstdout," %7I*d",sizeof(wp->lines),wp->lines);
79 sfprintf(sfstdout," %7I*d",sizeof(wp->words),wp->words);
81 sfprintf(sfstdout," %7I*d",sizeof(wp->chars),wp->chars);
83 sfprintf(sfstdout," %7I*d",sizeof(wp->chars),wp->longest);
94 register Wc_t *wp; local
[all...]
/illumos-gate/usr/src/cmd/spell/
H A Dhashcheck.c43 unsigned wp; variable
55 int tp = wp;
68 wp++;
96 for (wp = hindex[i]; wp < hindex[i+1]; ) {
97 if (wp == hindex[i] && bp == U)
104 if (wp > hindex[i+1] ||
105 wp == hindex[i+1] && bp < U)
H A Dhashlook.c45 #define fetch(wp, bp)\
46 (((((long)wp[0]<<B)|wp[1])<<(B-bp))|(wp[2]>>bp))
48 #define fetch(wp, bp) ((wp[0] << (B - bp)) | (wp[1] >> bp))
57 unsigned *wp; local
63 wp = &table[hindex[t]];
71 * bp -= decode((fetch(wp, b
[all...]
H A Dspellin.c46 unsigned wp; /* word pointer */ variable
54 while (wp < ND - 1) {
55 table[wp] |= w1>>(B-bp);
63 wp++;
117 wp++;
120 hindex[++u] = wp;
147 wp++;
149 hindex[u] = wp;
152 (void) fwrite((char *)table, sizeof (*table), wp, stdout);
155 argv[0], count, ignore, extra, wp);
[all...]
/illumos-gate/usr/src/lib/libadm/common/
H A Dputtext.c50 wchar_t *wstr, *wp; local
76 wp = wstr;
78 if (*wp == L'!') {
79 wp++;
84 while (iswspace(*wp))
85 ++wp; /* eat leading white space */
92 lastword = wp;
96 if (*wp == L'\n') {
100 wp++;
103 wlen = wcwidth(*wp);
[all...]
/illumos-gate/usr/src/lib/scsi/plugins/smp/usmp/common/
H A Dusmp.c59 struct di_walk_arg *wp = arg; local
65 if (di_minor_devt(minor) == wp->dev) {
72 if (scsi_wwnstr_to_wwn(wwn, &wp->addr) != DDI_SUCCESS)
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/pcibus/
H A Dpci_sun4v.c193 topo_walk_t *wp; local
210 wp = topo_mod_walk_init(mod, top, platform_pci_fru_cb, &walkdata, &err);
211 if (wp == NULL) {
219 (void) topo_walk_step(wp, TOPO_WALK_SIBLING);
220 topo_walk_fini(wp);
/illumos-gate/usr/src/lib/libsmedia/library/common/
H A Dl_generic.c89 smedia_set_protection_status(smedia_handle_t handle, struct smwp_state *wp) argument
93 if (wp->sm_version != SMWP_STATE_V_1) {
98 wp, "_m_set_media_status");
103 smedia_get_protection_status(smedia_handle_t handle, struct smwp_state *wp) argument
108 wp, "_m_get_media_status");
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_generic.c204 smwp_state_t *wp = ip; local
211 wp->sm_new_state = SM_WRITE_PROTECT_NOPASSWD;
213 wp->sm_new_state = SM_WRITE_PROTECT_DISABLE;
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dslk.c298 wchar_t wcs[M_CCHAR_MAX * 8 + 1], *wp; local
321 for (wp = wcs, width = 0; label != '\0'; label += i, wp += cc._n) {
329 (void) wcsncpy(wp, cc._wc, cc._n);
331 *wp = '\0';
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drwall.c155 char *wp; local
158 wp = getlogin();
160 if (wp != NULL)
161 (void) strncpy(who, wp, sizeof (who));
/illumos-gate/usr/src/cmd/ttymon/
H A Dstty.c77 static eucwidth_t wp; variable
146 getwidth(&wp);
205 /* */, &wp, &kwp, &cswp, &kcswp
H A Dsttyparse.c72 /* */, eucwidth_t *wp, struct eucioc *kwp, ldterm_cs_data_user_t *cswp,
163 (unsigned char)(wp->_eucw1 & 0177);
165 (unsigned char)(wp->_eucw2 & 0177);
167 (unsigned char)(wp->_eucw3 & 0177);
171 (unsigned char)(wp->_scrw1 & 0177);
173 (unsigned char)(wp->_scrw2 & 0177);
175 (unsigned char)(wp->_scrw3 & 0177);
228 if (wp->_multibyte &&
255 if (wp->_multibyte &&
69 sttyparse(int argc, char *argv[], int term, struct termio *ocb, struct termios *cb, struct termiox *termiox, struct winsize *winsize , eucwidth_t *wp, struct eucioc *kwp, ldterm_cs_data_user_t *cswp, ldterm_cs_data_user_t *kcswp ) argument
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfdcmore.c82 static int ttyquery(Sfio_t* rp, Sfio_t* wp, const char* label, Sfdisc_t* dp) argument
84 static int ttyquery(rp, wp, label, dp)
86 Sfio_t* wp;
136 sfwr(wp, label, n, dp);
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_trap.c203 struct rwindow *wp; local
210 wp = &rp->ptl1_rwindow[i];
212 if ((sym = kobj_getsymname(wp->rw_in[7], &off)) != NULL) {
217 i, wp->rw_in[7]);
235 wp->rw_local[0], wp->rw_local[1], wp->rw_local[2],
236 wp->rw_local[3], wp->rw_local[4], wp
[all...]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_trap.c217 struct rwindow *wp; local
224 wp = &rp->ptl1_rwindow[i];
226 if ((sym = kobj_getsymname(wp->rw_in[7], &off)) != NULL) {
231 i, wp->rw_in[7]);
249 wp->rw_local[0], wp->rw_local[1], wp->rw_local[2],
250 wp->rw_local[3], wp->rw_local[4], wp
[all...]

Completed in 133 milliseconds

12345