Home
last modified time | relevance | path

Searched refs:oldsz (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/
H A Dstring.cpp48 static char *sfree_alloc(char *ptr, int oldsz, int len, int *sizep) in sfree_alloc() argument
50 if (oldsz >= len) { in sfree_alloc()
51 *sizep = oldsz; in sfree_alloc()
63 static char *srealloc(char *ptr, int oldsz, int oldlen, int newlen, int *sizep) in srealloc() argument
65 if (oldsz >= newlen) { in srealloc()
66 *sizep = oldsz; in srealloc()
/netbsd-src/lib/libedit/
H A Dhist.c226 hist_enlargebuf(EditLine *el, size_t oldsz, size_t newsz) in hist_enlargebuf() argument
234 (void) memset(&newbuf[oldsz], '\0', (newsz - oldsz) * sizeof(*newbuf)); in hist_enlargebuf()
/netbsd-src/external/bsd/mdocml/dist/
H A Droff.c3462 size_t oldsz, newsz, valsz; in roff_als() local
3473 oldsz = roff_getname(r, &end, ln, oldn - buf->buf); in roff_als()
3474 if (oldsz == 0) in roff_als()
3478 (int)oldsz, oldn); in roff_als()
3691 size_t oldsz, newsz; in roff_rn() local
3698 oldsz = roff_getname(r, &newn, ln, pos); in roff_rn()
3699 if (oldn[oldsz] == '\\' || oldn[oldsz] == '\t' || *newn == '\0') in roff_rn()
3708 value = roff_getstrn(r, oldn, oldsz, &deftype); in roff_rn()
3712 roff_setstrn(&r->strtab, oldn, oldsz, NULL, 0, 0); in roff_rn()
3721 roff_setstrn(&r->rentab, oldn, oldsz, NULL, 0, 0); in roff_rn()
[all …]
/netbsd-src/sys/uvm/
H A Duvm_pdpolicy_clockpro.c409 size_t oldsz; in clockpro_hashinit() local
430 oldsz = hashsize; in clockpro_hashinit()
435 clockpro_hashfree(oldbuckets, oldsz); in clockpro_hashinit()
/netbsd-src/sys/kern/
H A Dvfs_wapbl.c1382 wapbl_resize_buf(struct wapbl *wl, struct buf *bp, long oldsz, long oldcnt) in wapbl_resize_buf()
1394 wl->wl_bufbytes += bp->b_bufsize - oldsz;
1370 wapbl_resize_buf(struct wapbl * wl,struct buf * bp,long oldsz,long oldcnt) wapbl_resize_buf() argument