Home
last modified time | relevance | path

Searched refs:wbuf (Results 1 – 25 of 39) sorted by relevance

12

/titanic_41/usr/src/cmd/csh/
H A Dsh.dol.c141 static tchar *wbuf = NULL; in Dword() local
150 wbuf = xrealloc(wbuf, (wbufsiz+1) * sizeof (tchar)); \ in Dword()
157 if (wbuf == NULL) in Dword()
158 wbuf = xalloc((wbufsiz+1) * sizeof (tchar)); in Dword()
172 wbuf[wp] = 0; in Dword()
181 wbuf[wp++] = c; in Dword()
208 wbuf[wp++] = c == '`' ? '`' : c | QUOTE; in Dword()
213 wbuf[wp++] = c | QUOTE; in Dword()
218 wbuf[wp++] = c; in Dword()
224 wbuf[wp++] = '`'; in Dword()
[all …]
H A Dsh.lex.c195 tchar wbuf[BUFSIZ]; in word() local
202 wp = wbuf; in word()
302 wp = &wbuf[1]; in word()
309 tprintf("word() returning:%t\n", wbuf); in word()
311 return (savestr(wbuf)); in word()
754 tchar wbuf[BUFSIZ]; in subword() local
776 wp = wbuf; in subword()
814 return (savestr(wbuf)); in subword()
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Drealpath.c66 char *p, *q, wbuf[MAXPATHLEN], start[MAXPATHLEN]; in realpath() local
132 (void)strlcpy(wbuf, p, sizeof wbuf); in realpath()
145 if (*wbuf) { in realpath()
146 if (strlen(resolved) + strlen(wbuf) + rootd + 1 > MAXPATHLEN) { in realpath()
152 (void)strcat(resolved, wbuf); in realpath()
/titanic_41/usr/src/lib/libast/common/sfio/
H A Dsfwr.c38 { reg char *sp, *wbuf, *endbuf; local
42 wbuf = buf;
88 if(buf > wbuf)
93 if((wr = syswritef(f->file,wbuf,buf-wbuf)) > 0)
97 if(wr != (buf-wbuf))
99 wbuf = buf;
109 wbuf = (buf += s);
/titanic_41/usr/src/uts/sun4v/ml/
H A Dwbuf.s60 ! spill the window into wbuf slot 0
61 ! (we know wbuf is empty since we came from user mode)
156 ! We handle it by spilling the window to the wbuf and retrying
171 ! use previous wbcnt to spill new spbuf & wbuf
196 ! spill the window into wbuf slot 0
197 ! (we know wbuf is empty since we came from user mode)
349 ! We handle it by spilling the window to the wbuf and retrying
364 ! use previous wbcnt to spill new spbuf & wbuf
/titanic_41/usr/src/uts/sun4u/ml/
H A Dwbuf.s59 ! spill the window into wbuf slot 0
60 ! (we know wbuf is empty since we came from user mode)
154 ! We handle it by spilling the window to the wbuf and retrying
168 ! use previous wbcnt to spill new spbuf & wbuf
193 ! spill the window into wbuf slot 0
194 ! (we know wbuf is empty since we came from user mode)
288 ! We handle it by spilling the window to the wbuf and retrying
302 ! use previous wbcnt to spill new spbuf & wbuf
/titanic_41/usr/src/uts/sun4/os/
H A Dmachdep.c187 caddr_t wbuf; in lwp_forkregs() local
196 wbuf = mpcb->mpcb_wbuf; in lwp_forkregs()
215 kmem_cache_free(wbuf32_cache, wbuf); in lwp_forkregs()
216 wbuf = kmem_cache_alloc(wbuf64_cache, KM_SLEEP); in lwp_forkregs()
219 kmem_cache_free(wbuf64_cache, wbuf); in lwp_forkregs()
220 wbuf = kmem_cache_alloc(wbuf32_cache, KM_SLEEP); in lwp_forkregs()
226 mpcb->mpcb_wbuf = wbuf; in lwp_forkregs()
227 mpcb->mpcb_wbuf_pa = va_to_pa(wbuf); in lwp_forkregs()
/titanic_41/usr/src/cmd/csh/sparc/
H A Dsignal.c94 sc.sc_wbuf[i][j] = ucp->uc_mcontext.gwins->wbuf[i].rw_local[j]; in sigvechandler()
96 sc.sc_wbuf[i][j+8] = ucp->uc_mcontext.gwins->wbuf[i].rw_in[j]; in sigvechandler()
136 ucp->uc_mcontext.gwins->wbuf[i].rw_local[j] = sc.sc_wbuf[i][j]; in sigvechandler()
138 ucp->uc_mcontext.gwins->wbuf[i].rw_in[j] = sc.sc_wbuf[i][j+8]; in sigvechandler()
/titanic_41/usr/src/uts/sparc/sys/
H A Dregset.h176 struct rwindow wbuf[SPARC_MAXREGWINDOW]; member
184 struct rwindow32 wbuf[SPARC_MAXREGWINDOW]; member
190 struct rwindow64 wbuf[SPARC_MAXREGWINDOW]; member
/titanic_41/usr/src/cmd/mail/
H A Dcopylet.c76 char wbuf[LSIZE]; in xxxcopylet() local
202 sprintf(wbuf, "%d", affcnt); in xxxcopylet()
205 + strlen(wbuf) + 2); in xxxcopylet()
/titanic_41/usr/src/ucblib/libucb/sparc/sys/
H A Dsignal.c175 ucp->uc_mcontext.gwins->wbuf[i].rw_local[j]; in ucbsigvechandler()
178 ucp->uc_mcontext.gwins->wbuf[i].rw_in[j]; in ucbsigvechandler()
304 ucp->uc_mcontext.gwins->wbuf[i].rw_local[j] = in ucbsigvechandler()
307 ucp->uc_mcontext.gwins->wbuf[i].rw_in[j] = in ucbsigvechandler()
/titanic_41/usr/src/cmd/troff/
H A Dn3.c64 tchar *wbuf; variable
67 tchar wbuf[BLK]; variable
505 wbuf = &corebuf[woff]; /* INCORE only */
509 wbuf[wbfi++] = i;
540 write(ibf, (char *)wbuf, wbfi * sizeof(tchar)); in wbfl()
/titanic_41/usr/src/cmd/arcwatch/
H A Darcwatch.c542 char wbuf[16384]; in get_arc() local
622 if (wptr + sizeof(*ai) > sizeof(wbuf)) { in get_arc()
623 ret = write(ofd, wbuf, wptr); in get_arc()
632 memcpy(wbuf + wptr, ai, sizeof(*ai)); in get_arc()
640 ret = write(ofd, wbuf, wptr); in get_arc()
/titanic_41/usr/src/lib/libbc/libc/sys/common/
H A Ducontext.h52 struct rwindow wbuf[SPARC_MAXREGWINDOW]; member
/titanic_41/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c751 struct buf *wbuf; in hsfs_ra_task() local
756 wbuf = &(info->bufs[count]); in hsfs_ra_task()
758 DTRACE_PROBE1(hsfs_io_wait_ra, struct buf *, wbuf); in hsfs_ra_task()
766 DTRACE_PROBE1(hsfs_io_done_ra, struct buf *, wbuf); in hsfs_ra_task()
1444 struct buf *wbuf; in hsfs_getapage() local
1452 wbuf = &bufs[count]; in hsfs_getapage()
1453 DTRACE_PROBE1(hsfs_io_wait, struct buf *, wbuf); in hsfs_getapage()
1468 DTRACE_PROBE1(hsfs_io_done, struct buf *, wbuf); in hsfs_getapage()
1471 err = geterror(wbuf); in hsfs_getapage()
/titanic_41/usr/src/lib/libproc/sparc/
H A DPisadep.c170 &gwin.wbuf[i], in find_gwin()
208 (void) memcpy(rwp, &gwin->wbuf[i], in read_gwin()
/titanic_41/usr/src/uts/sun4v/
H A DMakefile.files111 SPECIAL_OBJS += wbuf.o
221 ASSYM_DEPS += trap_table.o wbuf.o
/titanic_41/usr/src/uts/sun4u/
H A DMakefile.files80 SPECIAL_OBJS += wbuf.o
235 ASSYM_DEPS += trap_table.o wbuf.o
/titanic_41/usr/src/uts/sparc/v9/os/
H A Dv9dep.c501 bcopy(&gwins->wbuf[i], rwp, sizeof (struct rwindow)); in setgwins()
503 rwindow_nto32(&gwins->wbuf[i], rwp); in setgwins()
536 rwindow_32ton(&gwins->wbuf[i], rwp); in setgwins32()
538 bcopy(&gwins->wbuf[i], rwp, sizeof (struct rwindow32)); in setgwins32()
574 bcopy(rwp, &gwp->wbuf[i], sizeof (struct rwindow)); in getgwins()
576 rwindow_32ton(rwp, &gwp->wbuf[i]); in getgwins()
607 rwindow_nto32(rwp, &gwp->wbuf[i]); in getgwins32()
609 bcopy(rwp, &gwp->wbuf[i], sizeof (struct rwindow32)); in getgwins32()
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_session.c188 smb_wchar_t *wbuf = NULL; in smb_session_request() local
251 wbuf = kmem_alloc((SMB_PI_MAX_HOST * sizeof (smb_wchar_t)), KM_SLEEP); in smb_session_request()
252 (void) oemtoucs(wbuf, client_name, SMB_PI_MAX_HOST, OEM_CPG_850); in smb_session_request()
253 (void) smb_wcstombs(session->workstation, wbuf, SMB_PI_MAX_HOST); in smb_session_request()
254 kmem_free(wbuf, (SMB_PI_MAX_HOST * sizeof (smb_wchar_t))); in smb_session_request()
/titanic_41/usr/src/cmd/sendmail/libsm/
H A DMakefile47 vfprintf.o vfscanf.o vprintf.o vsnprintf.o wbuf.o wsetup.o xtrap.o
/titanic_41/usr/src/lib/libproc/sparcv9/
H A DPisadep.c218 &gwin.wbuf[i], in find_gwin()
256 (void) memcpy(rwp, &gwin->wbuf[i], in read_gwin()
/titanic_41/usr/src/uts/sun4u/montecarlo/io/
H A Dpcf8591_nct.c403 uchar_t *wbuf; in call_copyin() local
420 wbuf = i2ctp->i2c_wbuf; in call_copyin()
425 i2ctp->i2c_wbuf = wbuf; in call_copyin()
/titanic_41/usr/src/cmd/ttymon/
H A Dtmpmtab.c76 char wbuf[BUFSIZ]; in read_pmtab() local
108 wptr = wbuf; in read_pmtab()
/titanic_41/usr/src/cmd/sendmail/src/
H A Ddeliver.c884 char wbuf[MAXNAME + 20]; local
886 (void) sm_snprintf(wbuf, sizeof(wbuf), "sendall(%.*s)",
888 checkfd012(wbuf);
1887 char wbuf[MAXLINE]; local
1890 (void) sm_snprintf(wbuf, sizeof(wbuf), "%s... openmailer(%s)",
1893 checkfd012(wbuf);
3632 char wbuf[MAXLINE]; local
3635 (void) sm_snprintf(wbuf, sizeof(wbuf),
3641 checkfd012(wbuf);

12