Lines Matching refs:histind

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()
637 if((hp->histind -= hp->histsize) < 0) in hist_eof()
638 hp->histind = 1; in hist_eof()
654 n = hist_ind(hp, ++hp->histind); in hist_eof()
677 hp->histind--; in hist_eof()
681 hp->histind = ((marker[0]<<16)|(marker[1]<<8)|marker[2] -1); in hist_eof()
689 hp->histind-=2; in hist_eof()
717 hp->histcmds[hist_ind(hp,++hp->histind)] = count; in hist_eof()
726 oldind -= hp->histind; 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()
736 hist_marker(buff,hp->histind); in hist_eof()
760 c = hist_ind(hp,--hp->histind); in hist_cancel()
861 c = hist_ind(hp,++hp->histind); in hist_write()
868 hist_marker(bufptr,hp->histind); in hist_write()
977 index2 = (int)hp->histind; in hist_find()
1108 hist_copy(string,size,(int)hp->histind-1,-1); in hist_word()
1152 while(command <= hp->histind) in hist_locate()
1163 register int least = (int)hp->histind-hp->histsize; in hist_locate()
1207 register int index = hp->histind; in hist_exceptf()
1210 hp->histind = 1; in hist_exceptf()
1214 hp->histind = index; in hist_exceptf()