Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/openbsd-compat/
H A Dglob.c804 size_t i, newn, len; local
809 newn = 2 + pglob->gl_pathc + pglob->gl_offs;
812 newn >= SSIZE_MAX ||
813 SIZE_MAX / sizeof(*pathv) <= newn ||
814 SIZE_MAX / sizeof(*statv) <= newn) {
816 for (i = pglob->gl_offs; i < newn - 2; i++) {
830 pathv = reallocarray(pglob->gl_pathv, newn, sizeof(*pathv));
842 statv = reallocarray(pglob->gl_statv, newn, sizeof(*statv));
884 (newn * sizeof(*pathv)) + limitp->glim_malloc >
/freebsd/contrib/mandoc/
H A Droff.c3580 char *oldn, *newn, *end, *value; in roff_als() local
3583 newn = oldn = buf->buf + pos; in roff_als()
3584 if (*newn == '\0') in roff_als()
3588 if (newn[newsz] == '\\' || newn[newsz] == '\t' || *oldn == '\0') in roff_als()
3598 roff_setstrn(&r->strtab, newn, newsz, value, valsz, 0); in roff_als()
3599 roff_setstrn(&r->rentab, newn, newsz, NULL, 0, 0); in roff_als()
3822 char *oldn, *newn, *end; in roff_rn() local
3826 oldn = newn = buf->buf + pos; in roff_rn()
3830 oldsz = roff_getname(r, &newn, ln, pos); in roff_rn()
3831 if (oldn[oldsz] == '\\' || oldn[oldsz] == '\t' || *newn == '\0') in roff_rn()
[all …]
/freebsd/sys/contrib/libfdt/
H A Dfdt_rw.c113 int oldn, int newn) in fdt_splice_mem_rsv_() argument
115 int delta = (newn - oldn) * sizeof(*p); in fdt_splice_mem_rsv_()
117 err = fdt_splice_(fdt, p, oldn * sizeof(*p), newn * sizeof(*p)); in fdt_splice_mem_rsv_()
/freebsd/lib/libc/gen/
H A Dglob-compat11.c817 size_t i, newn, len; in globextend() local
827 newn = 2 + pglob->gl_pathc + pglob->gl_offs; in globextend()
829 pathv = reallocarray(pglob->gl_pathv, newn, sizeof(*pathv)); in globextend()
H A Dglob.c849 size_t i, newn, len; in globextend() local
859 newn = 2 + pglob->gl_pathc + pglob->gl_offs; in globextend()
861 pathv = reallocarray(pglob->gl_pathv, newn, sizeof(*pathv)); in globextend()