Lines Matching refs:historyCapacity
197 BasicTerminalBuffer::ResizeTo(int32 width, int32 height, int32 historyCapacity)
205 return SetHistoryCapacity(historyCapacity);
208 return _ResizeSimple(width, height, historyCapacity);
210 return _ResizeRewrap(width, height, historyCapacity);
215 BasicTerminalBuffer::SetHistoryCapacity(int32 historyCapacity)
217 return _ResizeHistory(fWidth, historyCapacity);
1138 BasicTerminalBuffer::_ResizeHistory(int32 width, int32 historyCapacity)
1140 if (width == fWidth && historyCapacity == HistoryCapacity())
1143 if (historyCapacity <= 0) {
1155 status_t error = history->Init(width, historyCapacity);
1163 int32 historySize = min_c(HistorySize(), historyCapacity);
1182 int32 historyCapacity)
1189 if (width != fWidth || historyCapacity != HistoryCapacity()) {
1190 status_t error = _ResizeHistory(width, historyCapacity);
1264 int32 historyCapacity)
1268 //historyCapacity);
1272 return _ResizeSimple(width, height, historyCapacity);
1283 if (historyCapacity > 0) {
1290 status_t error = history->Init(width, historyCapacity);