Lines Matching defs:db_history_curr
65 static char *db_history_curr = db_history; /* start of current line */
134 ++db_history_curr; \
135 if (db_history_curr > db_history + DDB_HISTORY_SIZE - 1) \
136 db_history_curr = db_history; \
139 --db_history_curr; \
140 if (db_history_curr < db_history) \
141 db_history_curr = db_history + DDB_HISTORY_SIZE - 1; \
236 while (db_history_curr != db_history_last) {
238 if (*db_history_curr == '\0')
242 if (db_history_curr == db_history_last) {
248 for (p = db_history_curr, db_le = db_lbuf_start;
260 while (db_history_curr != db_history_last) {
261 if (*db_history_curr == '\0')
265 if (db_history_curr != db_history_last) {
268 if (db_history_curr != db_history_last) {
270 for (p = db_history_curr,
294 if (db_history_curr == db_history_prev) {
311 db_history_curr = db_history_last;
326 db_history_curr = db_history_last;