/osnet-11/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...] |
/osnet-11/usr/src/lib/libc/port/print/ |
H A D | vwprintf.c | 161 wchar_t *wp; local 175 wp = (wchar_t *)(uintptr_t)siop._ptr; 176 *wp = L'\0';
|
H A D | wprintf.c | 150 wchar_t *wp; local 162 wp = (wchar_t *)(uintptr_t)siop._ptr; 163 *wp = L'\0';
|
/osnet-11/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...] |
H A D | wclib.c | 64 Wc_t* wp; local 66 if (!(wp = (Wc_t*)stakalloc(sizeof(Wc_t)))) 69 wp->mb = 0; 72 wp->mb = 1; 75 wp->mb = -1; 78 wp->type[n] = (w && isspace(n)) ? WC_SP : 0; 79 wp->type['\n'] = WC_SP|WC_NL; 80 if ((mode & (WC_MBYTE|WC_WORDS)) && wp->mb > 0) 84 wp->type[0x80+n] |= WC_MB; 86 wp 165 wc_count(Wc_t *wp, Sfio_t *fd, const char* file) argument [all...] |
H A D | cut.c | 370 register unsigned char *wp; local 416 wp = --cp; 491 wp = cp - 1; 499 wp = cp - 1; 522 if ((c = wp - copy) > 0 && sfwrite(fdout, (char*)copy, c) < 0) 528 copy = empty ? cp : wp;
|
/osnet-11/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...] |
/osnet-11/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");
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/pcibus/common/ |
H A D | pci_sun4v.c | 195 topo_walk_t *wp; local 214 wp = topo_mod_walk_init(mod, top, platform_pci_fru_cb, &walkdata, &err); 215 if (wp == NULL) { 223 (void) topo_walk_step(wp, TOPO_WALK_SIBLING); 224 topo_walk_fini(wp);
|
/osnet-11/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);
|
/osnet-11/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';
|
/osnet-11/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)
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/ |
H A D | pi_impl.h | 94 void *wp; /* Walker private data */ member in struct:pi_enum_s
|
H A D | pi_walker.c | 759 pi_walkernode_t *wp; local 768 wp = (pi_walkernode_t *)wvp; 770 uu_list_node_fini(wp, &(wp->walker_node), walker_pool);
|
/osnet-11/usr/src/lib/libc/port/regex/ |
H A D | wordexp.c | 85 wordexp(const char *word, wordexp_t *wp, int flags) argument 113 wordfree(wp); 118 * XPG requires that the struct pointed to by wp not be modified 120 * So we work with wptmp, and only copy wptmp to wp if one of the 123 wptmp = *wp; 371 *wp = wptmp; 408 wordfree(wordexp_t *wp) argument 412 if (wp->we_wordv == NULL) 414 for (i = wp->we_offs; i < wp 425 append(wordexp_t *wp, char *str) argument [all...] |
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | slk.c | 336 wchar_t wcs[_M_CCHAR_MAX * 8 + 1], *wp; local 352 for (wp = wcs, width = 0; *label != '\0'; label += i, wp += cc._n) { 362 (void) wcsncpy(wp, cc._wc, cc._n); 364 *wp = '\0';
|
/osnet-11/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 416 smwp_state_t *wp = ip; local 458 (void) memcpy((char *)wp, (char *)&retget_protection_status->prot_state, 466 smwp_state_t *wp = ip; local 485 reqset_protection_status.prot_state = *wp;
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_node.c | 978 topo_walk_t *wp; local 982 if ((wp = topo_hdl_zalloc(thp, sizeof (topo_walk_t))) == NULL) { 999 topo_hdl_free(thp, wp, sizeof (topo_walk_t)); 1004 wp->tw_node = child; 1008 wp->tw_node = node; 1011 wp->tw_root = node; 1012 wp->tw_cb = cb_f; 1013 wp->tw_pdata = pdata; 1014 wp->tw_thp = thp; 1015 wp [all...] |
H A D | topo_snap.c | 658 topo_walk_t *wp; local 673 if ((wp = topo_node_walk_init(thp, NULL, tp->tt_root, 677 return (wp); 686 step_child(tnode_t *cnp, topo_walk_t *wp, int flag, int bottomup) argument 694 topo_dprintf(wp->tw_thp, TOPO_DBG_WALK, 700 topo_dprintf(wp->tw_thp, TOPO_DBG_WALK, 705 wp->tw_node = nnp; 707 status = topo_walk_bottomup(wp, flag); 709 status = topo_walk_step(wp, flag); 715 step_sibling(tnode_t *cnp, topo_walk_t *wp, in argument 744 topo_walk_byid(topo_walk_t *wp, const char *name, topo_instance_t inst) argument 767 topo_walk_bysibling(topo_walk_t *wp, const char *name, topo_instance_t inst) argument 786 topo_walk_step(topo_walk_t *wp, int flag) argument 843 topo_walk_fini(topo_walk_t *wp) argument 854 topo_walk_bottomup(topo_walk_t *wp, int flag) argument [all...] |
/osnet-11/usr/src/lib/libuutil/common/ |
H A D | uu_avl.c | 308 _avl_walk_init(uu_avl_walk_t *wp, uu_avl_t *ap, uint32_t flags) argument 315 (void) memset(wp, 0, sizeof (*wp)); 316 wp->uaw_avl = ap; 317 wp->uaw_robust = robust; 318 wp->uaw_dir = direction; 321 wp->uaw_next_result = avl_first(&ap->ua_tree); 323 wp->uaw_next_result = avl_last(&ap->ua_tree); 326 wp->uaw_next = next = &ap->ua_null_walk; 327 wp 334 _avl_walk_advance(uu_avl_walk_t *wp, uu_avl_t *ap) argument 350 _avl_walk_fini(uu_avl_walk_t *wp) argument 365 uu_avl_walk_t *wp; local 383 uu_avl_walk_next(uu_avl_walk_t *wp) argument 389 uu_avl_walk_end(uu_avl_walk_t *wp) argument 423 uu_avl_walk_t *wp; local [all...] |
H A D | uu_list.c | 397 list_walk_init(uu_list_walk_t *wp, uu_list_t *lp, uint32_t flags) argument 404 (void) memset(wp, 0, sizeof (*wp)); 405 wp->ulw_list = lp; 406 wp->ulw_robust = robust; 407 wp->ulw_dir = direction; 409 wp->ulw_next_result = lp->ul_null_node.uln_next; 411 wp->ulw_next_result = lp->ul_null_node.uln_prev; 419 wp->ulw_next = next = &lp->ul_null_walk; 420 wp 427 list_walk_advance(uu_list_walk_t *wp, uu_list_t *lp) argument 442 list_walk_fini(uu_list_walk_t *wp) argument 458 uu_list_walk_t *wp; local 476 uu_list_walk_next(uu_list_walk_t *wp) argument 488 uu_list_walk_end(uu_list_walk_t *wp) argument 543 uu_list_walk_t *wp; local [all...] |