Searched refs:histind (Results 1 – 6 of 6) sorted by relevance
320 hp->histind = 1; in sh_histinit()336 hp->histind = first = hist_nearend(hp,hp->histfp,hsize-size); in sh_histinit()339 if((hist_start = (last=(int)hp->histind)-maxlines) <=0) in sh_histinit()346 hp->histind = first; in sh_histinit()353 hp->histind = last; in sh_histinit()369 hp = hist_trim(hp,(int)hp->histind-maxlines); in sh_histinit()373 (HISTCUR)->nvalue.lp = (&hp->histind); in sh_histinit()513 c = hist_ind(hist_new,++hist_new->histind); in hist_trim()518 hist_marker(locbuff,hist_new->histind); in hist_trim()636 oldind = hp->histind; 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()