Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/regex/
H A Dglob.c969 size_t allocn, newn, len; in globextend() local
976 allocn = pglob->gl_pathn; in globextend()
979 if (newn <= allocn) { in globextend()
984 if (allocn == 0) in globextend()
985 allocn = pglob->gl_offs + INITIAL; in globextend()
986 allocn *= 2; in globextend()
989 allocn >= INT_MAX || in globextend()
990 SIZE_MAX / sizeof (*pathv) <= allocn || in globextend()
991 SIZE_MAX / sizeof (*statv) <= allocn) { in globextend()
1009 limitp->glim_malloc += allocn * sizeof (*pathv); in globextend()
[all …]