Searched refs:wbsize (Results 1 - 4 of 4) sorted by relevance

/openbsd-current/bin/ksh/
H A Dshf.h48 int wbsize; /* size of buffer (0 if SHF_UNBUF) */ member in struct:shf
H A Dshf.c122 shf->wbsize = sflags & SHF_UNBUF ? 0 : bsize;
170 shf->wbsize = sflags & SHF_UNBUF ? 0 : bsize;
210 shf->wbsize = bsize;
338 nbuf = areallocarray(shf->buf, 2, shf->wbsize, shf->areap);
341 shf->rbsize += shf->wbsize;
342 shf->wnleft += shf->wbsize;
343 shf->wbsize *= 2;
380 shf->wnleft = shf->wbsize;
637 if (nbytes > shf->wbsize) {
639 if (shf->wbsize)
[all...]
/openbsd-current/lib/libagentx/
H A Dax.c338 size_t wbsize; local
341 wbsize = (((ax->ax_wbtlen + need) / 512) + 1) * 512;
342 wbuf = recallocarray(ax->ax_wbuf, ax->ax_wbsize, wbsize, 1);
347 ax->ax_wbsize = wbsize;
/openbsd-current/usr.sbin/snmpd/
H A Dax.c440 size_t wbsize; local
443 wbsize = (((ax->ax_wbtlen + need) / 512) + 1) * 512;
444 wbuf = recallocarray(ax->ax_wbuf, ax->ax_wbsize, wbsize, 1);
449 ax->ax_wbsize = wbsize;

Completed in 102 milliseconds