Lines Matching defs:history
275 // The source line was a history line and has been copied
1144 // new history capacity is 0 -- delete the old history object
1151 HistoryBuffer* history = new(std::nothrow) HistoryBuffer;
1152 if (history == NULL)
1155 status_t error = history->Init(width, historyCapacity);
1157 delete history;
1161 // Transfer the lines from the old history to the new one.
1169 history->AddLine(line);
1174 fHistory = history;
1198 // NOTE: If width or history capacity changed, the object will be in
1199 // an invalid state, since the history will already use the new values.
1210 // push the first lines to the history
1266 //debug_printf("BasicTerminalBuffer::_ResizeRewrap(): (%ld, %ld, history: %ld) -> "
1267 //"(%ld, %ld, history: %ld)\n", fWidth, fHeight, HistoryCapacity(), width, height,
1274 // The width changes. We have to allocate a new line array, a new history
1281 HistoryBuffer* history = NULL;
1284 history = new(std::nothrow) HistoryBuffer;
1285 if (history == NULL) {
1290 status_t error = history->Init(width, historyCapacity);
1293 delete history;
1320 // history first, though.
1321 if (history != NULL && destTotalLines >= height)
1322 history->AddLine(screen[destIndex]);
1415 // Move the line we're going to clear to the history, if that's a
1418 if (history != NULL && i >= height)
1419 history->AddLine(line);
1428 fHistory = history;
1482 // the history.
1484 // add the lines to the history