Searched refs:histind (Results 1 – 6 of 6) sorted by relevance
320 hp->histind = 1; in sh_histinit()346 hp->histind = first; in sh_histinit()353 hp->histind = last; in sh_histinit()636 oldind = hp->histind; in hist_eof()638 hp->histind = 1; in hist_eof()677 hp->histind--; in hist_eof()689 hp->histind-=2; in hist_eof()727 hp->histind = hp->histind-hp->histsize + oldind +2; in hist_eof()728 if(hp->histind<0) in hist_eof()729 hp->histind = 1; in hist_eof()[all …]
307 shgd->hist_ptr->histind,315 n = shgd->hist_ptr->histind + n;
1706 index1 = (int)hp->histind;
38 int32_t histind; /* current command number index */ member56 #define hist_min(hp) ((_Hist=((int)((hp)->histind-(hp)->histsize)))>=0?_Hist:0)57 #define hist_max(hp) ((int)((hp)->histind))
1446 pw->p_name=hist_tell(shgd->hist_ptr,(int)hp->histind-1); in job_post()
2194 sfprintf(sfstderr,"%d", shp->gd->hist_ptr?(int)shp->gd->hist_ptr->histind:++cmdno); in io_prompt()