Searched refs:histsize (Results 1 – 4 of 4) sorted by relevance
39 int histsize; /* number of accessible history lines */ member56 #define hist_min(hp) ((_Hist=((int)((hp)->histind-(hp)->histsize)))>=0?_Hist:0)
432 int histsize; in files_checkhistory() local435 if ((histsize = def_getint("HISTORY=", DEFHISTORY)) == 0) { in files_checkhistory()441 debug("files_checkhistory: histsize = %d", histsize); in files_checkhistory()442 if (histsize > MAXHISTORY) in files_checkhistory()443 histsize = MAXHISTORY; in files_checkhistory()449 while ((histsize-- > 0) && in files_checkhistory()1148 int histsize; in files_update_history() local1157 if ((histsize = def_getint("HISTORY=", DEFHISTORY)) == 0) { in files_update_history()1163 histsize); in files_update_history()1165 if (histsize > MAXHISTORY) in files_update_history()[all …]
316 hp->histsize = maxlines; in sh_histinit()637 if((hp->histind -= hp->histsize) < 0) in hist_eof()727 hp->histind = hp->histind-hp->histsize + oldind +2; in hist_eof()980 index2 -= hp->histsize; in hist_find()1163 register int least = (int)hp->histind-hp->histsize; in hist_locate()
1707 for(index2=index1-hp->histsize; index1>index2; index1--)