Lines Matching refs:db_history
223 char db_history[DB_HISTORY_SIZE]; /* start of history buffer */
225 char * db_history_curr = db_history; /* start of current line */
226 char * db_history_last = db_history; /* start of last line */
317 db_history + db_history_size - 1) \
318 db_history_curr = db_history; \
323 if (db_history_curr < db_history) \
324 db_history_curr = db_history + \
628 if (p == db_history + db_history_size) {
629 p = db_history;
678 if (p == db_history +
680 p = db_history;
718 if (++p == db_history + db_history_size) {
719 p = db_history;
721 if (++pc == db_history + db_history_size) {
722 pc = db_history;
739 if (db_history_last == db_history +
741 db_history_last = db_history;