Searched refs:newBufSize (Results 1 – 2 of 2) sorted by relevance
372 int newBufSize = bufSize; in insertLine() local412 newBufSize = maxBufSize; in insertLine()419 newBufSize += n; in insertLine()422 cbuf = new char[newBufSize][]; in insertLine()423 abuf = new int[newBufSize][]; in insertLine()495 bufSize = newBufSize; in insertLine()
829 size_t newBufSize = (size_t)*lineMax; in XSUM_getLine() local831 newBufSize += (newBufSize/2) + 1; /* x 1.5 */ in XSUM_getLine()832 if (newBufSize > MAX_LINE_LENGTH) newBufSize = MAX_LINE_LENGTH; in XSUM_getLine()833 if (len+1 >= newBufSize) return GetLine_exceedMaxLineLength; in XSUM_getLine()835 newLineBuf = (char*) realloc(*lineBuf, newBufSize); in XSUM_getLine()839 *lineMax = (int)newBufSize; in XSUM_getLine()