Searched refs:oldsz (Results 1 - 3 of 3) sorted by relevance
/freebsd-current/contrib/libedit/ |
H A D | hist.c | 226 hist_enlargebuf(EditLine *el, size_t oldsz, size_t newsz) argument 234 (void) memset(&newbuf[oldsz], '\0', (newsz - oldsz) * sizeof(*newbuf));
|
/freebsd-current/contrib/mandoc/ |
H A D | roff.c | 3581 size_t oldsz, newsz, valsz; local 3592 oldsz = roff_getname(r, &end, ln, oldn - buf->buf); 3593 if (oldsz == 0) 3597 (int)oldsz, oldn); 3823 size_t oldsz, newsz; local 3830 oldsz = roff_getname(r, &newn, ln, pos); 3831 if (oldn[oldsz] == '\\' || oldn[oldsz] == '\t' || *newn == '\0') 3840 value = roff_getstrn(r, oldn, oldsz, &deftype); 3844 roff_setstrn(&r->strtab, oldn, oldsz, NUL [all...] |
/freebsd-current/sys/kern/ |
H A D | subr_stats.c | 329 static inline void * stats_realloc(void *ptr, size_t oldsz, size_t newsz, 388 stats_realloc(void *ptr, size_t oldsz, size_t newsz, int flags) argument 399 if (oldsz == 0) 401 else if (newsz > oldsz) 402 memset(BLOB_OFFSET(ptr, oldsz), '\0', newsz - oldsz); 3904 rates = stats_realloc(rates, 0, /* oldsz is unused in kernel. */
|
Completed in 128 milliseconds