Searched refs:histptr (Results 1 - 3 of 3) sorted by relevance

/netbsd-6-1-5-RELEASE/bin/ksh/
H A Dhistory.c227 hist_source->line - (int) (histptr - hp));
400 hp = histptr + (n < 0 ? n : (n - hist_source->line));
408 } else if (hp > histptr) {
415 } else if (!allow_cur && hp == histptr) {
423 n = findhist(histptr - histlist - 1, 0, str, anchored);
438 if (histptr < histlist || (!allow_cur && histptr == histlist)) {
443 return histptr;
444 return histptr - 1;
451 if (histptr <
[all...]
H A Dlex.h131 EXTERN char **histptr; /* last history item */ variable
H A Demacs.c355 x_histp = histptr + 1;
374 if (histptr - histlist >= off)
375 x_load_hist(histptr - off);
869 static int x_end_hist(c) int c; { x_load_hist(histptr); return KSTD;}
886 x_load_hist(histptr + x_arg - source->line);
896 if (hp < histlist || hp > histptr) {
916 x_nextcmd = source->line - (histptr - x_histp) + 1;
1014 x_histp = histptr;
2060 cp = *histptr;

Completed in 105 milliseconds