Home
last modified time | relevance | path

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

/external/mksh/src/
Dhistrap.c46 static Source *hist_source; variable
276 (unsigned long)hist_source->line - in c_fc()
333 Xinit(xs, xp, n, hist_source->areap); in c_fc()
349 return (hist_execute(Xstring(xs, xp), hist_source->areap)); in c_fc()
360 if (histptr >= history && last_line != hist_source->line) { in hist_execute()
361 hist_source->line--; in hist_execute()
364 last_line = hist_source->line; in hist_execute()
367 histsave(&hist_source->line, cmd, HIST_STORE, true); in hist_execute()
395 hp = histptr + (n < 0 ? n : (n - hist_source->line)); in hist_get()
554 hist_source->line = 0; in sethistfile()
[all …]