Searched refs:histind (Results 1 - 5 of 5) sorted by relevance

/ast/src/cmd/ksh93/include/
H A Dhistory.h38 int32_t histind; /* current command number index */ member in struct:__anon111
56 #define hist_min(hp) ((_Hist=((int)((hp)->histind-(hp)->histsize)))>=0?_Hist:0)
57 #define hist_max(hp) ((int)((hp)->histind))
/ast/src/cmd/ksh93/edit/
H A Dhistory.c320 hp->histind = 1;
336 hp->histind = first = hist_nearend(hp,hp->histfp,hsize-size);
338 hist_eof(hp); /* this sets histind to last command */
339 if((hist_start = (last=(int)hp->histind)-maxlines) <=0)
346 hp->histind = first;
353 hp->histind = last;
369 hp = hist_trim(hp,(int)hp->histind-maxlines);
373 (HISTCUR)->nvalue.lp = (&hp->histind);
513 c = hist_ind(hist_new,++hist_new->histind);
518 hist_marker(locbuff,hist_new->histind);
[all...]
H A Dhexpand.c305 shgd->hist_ptr->histind,
313 n = shgd->hist_ptr->histind + n;
H A Dedit.c1705 index1 = (int)hp->histind;
/ast/src/cmd/ksh93/sh/
H A Djobs.c1391 pw->p_name=hist_tell(shgd->hist_ptr,(int)hp->histind-1);

Completed in 27 milliseconds