Home
last modified time | relevance | path

Searched refs:hist_cur (Results 1 – 1 of 1) sorted by relevance

/u-boot/common/
A Dcli_readline.c80 static int hist_cur = -1; variable
94 hist_cur = -1; in hist_init()
121 if (hist_cur < 0) in hist_prev()
124 old_cur = hist_cur; in hist_prev()
125 if (--hist_cur < 0) in hist_prev()
126 hist_cur = hist_max; in hist_prev()
129 hist_cur = old_cur; in hist_prev()
142 if (hist_cur < 0) in hist_next()
148 if (++hist_cur > hist_max) in hist_next()
149 hist_cur = 0; in hist_next()
[all …]

Completed in 4 milliseconds