/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | mbmove.c | 47 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 D | mbinch.c | 47 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 D | mbinsshift.c | 46 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 D | mbaddch.c | 45 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 D | delwin.c | 35 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 D | acpisleep.c | 85 wakecode_t *wp = (wakecode_t *)wakevirt; local
|
/illumos-gate/usr/src/lib/libc/port/print/ |
H A D | vwprintf.c | 159 wchar_t *wp; local 173 wp = (wchar_t *)(uintptr_t)siop._ptr; 174 *wp = L'\0';
|
H A D | wprintf.c | 149 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 D | rev.c | 64 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 D | wc.c | 74 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 D | hashcheck.c | 43 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 D | hashlook.c | 45 #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 D | spellin.c | 46 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 D | puttext.c | 50 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 D | usmp.c | 59 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 D | pci_sun4v.c | 193 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 D | l_generic.c | 89 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 D | f_generic.c | 204 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 D | slk.c | 298 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 D | rwall.c | 155 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 D | stty.c | 77 static eucwidth_t wp; variable 146 getwidth(&wp); 205 /* */, &wp, &kwp, &cswp, &kcswp
|
H A D | sttyparse.c | 72 /* */, 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 D | sfdcmore.c | 82 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 D | mach_trap.c | 203 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 D | mach_trap.c | 217 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...] |