Searched defs:index1 (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libshell/common/edit/
H A Dhistory.c948 Histloc_t hist_find(register History_t*hp,char *string,register int index1,int flag,int direction) argument
979 if(index1 <= index2)
982 else if(index1 >= index2)
984 while(index1!=index2)
986 direction>0?++index1:--index1;
987 offset = hist_tell(hp,index1);
990 location.hist_command = index1;
H A Dedit.c1654 int ac=0,l,m,n,index1,index2; local
1679 index1 = (int)hp->histind;
1680 for(index2=index1-hp->histsize; index1>index2; index1--)
1682 offset = hist_tell(hp,index1);
1698 mp->index = index1;

Completed in 42 milliseconds