Searched refs:bufalloc (Results 1 – 2 of 2) sorted by relevance
233 static size_t bufalloc; /* Allocated buffer size, counting slop. */ variable277 bufalloc = ALIGN_TO (INITIAL_BUFSIZE, pagesize) + pagesize + 1; in reset()278 buffer = xmalloc (bufalloc); in reset()362 if (pagesize <= buffer + bufalloc - buflim) in fillbuf()375 for (newsize = bufalloc - pagesize - 1; newsize < minsize; newsize *= 2) in fillbuf()399 newbuf = bufalloc < newalloc ? xmalloc (bufalloc = newalloc) : buffer; in fillbuf()411 readsize = buffer + bufalloc - readbuf; in fillbuf()
1277 be bufalloc / PREFERRED_SAVE_FACTOR. This avoids problems when1278 bufsalloc == bufalloc (possible after reading a large binary file).