Home
last modified time | relevance | path

Searched refs:histind (Results 1 – 15 of 15) sorted by relevance

/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c320 hp->histind = 1; in sh_histinit()
336 hp->histind = first = hist_nearend(hp,hp->histfp,hsize-size); in sh_histinit()
338 hist_eof(hp); /* this sets histind to last command */ 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()
[all...]
H A Dhexpand.c307 shgd->hist_ptr->histind,
315 n = shgd->hist_ptr->histind + n;
H A Dedit.c1706 index1 = (int)hp->histind;
/titanic_51/usr/src/lib/libshell/common/edit/
H A Dhistory.c321 hp->histind = 1; in sh_histinit()
337 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()
510 c = hist_ind(hist_new,++hist_new->histind); in hist_trim()
515 hist_marker(locbuff,hist_new->histind); in hist_trim()
641 n = hist_ind(hp, ++hp->histind); in hist_eof()
[all …]
H A Dhexpand.c305 sh.hist_ptr->histind,
313 n = sh.hist_ptr->histind + n;
/titanic_51/usr/src/lib/libshell/common/include/
H A Dhistory.h38 int32_t histind; /* current command number index */ member
56 #define hist_min(hp) ((_Hist=((int)((hp)->histind-(hp)->histsize)))>=0?_Hist:0)
57 #define hist_max(hp) ((int)((hp)->histind))
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dhistory.h38 int32_t histind; /* current command number index */ member
56 #define hist_min(hp) ((_Hist=((int)((hp)->histind-(hp)->histsize)))>=0?_Hist:0)
57 #define hist_max(hp) ((int)((hp)->histind))
/titanic_51/usr/src/lib/libshell/amd64/include/ast/
H A Dhistory.h47 int32_t histind; /* current command number index */ member
65 #define hist_min(hp) ((_Hist=((int)((hp)->histind-(hp)->histsize)))>=0?_Hist:0)
66 #define hist_max(hp) ((int)((hp)->histind))
/titanic_51/usr/src/lib/libshell/sparc/include/ast/
H A Dhistory.h47 int32_t histind; /* current command number index */ member
65 #define hist_min(hp) ((_Hist=((int)((hp)->histind-(hp)->histsize)))>=0?_Hist:0)
66 #define hist_max(hp) ((int)((hp)->histind))
/titanic_51/usr/src/lib/libshell/sparcv9/include/ast/
H A Dhistory.h47 int32_t histind; /* current command number index */ member
65 #define hist_min(hp) ((_Hist=((int)((hp)->histind-(hp)->histsize)))>=0?_Hist:0)
66 #define hist_max(hp) ((int)((hp)->histind))
/titanic_51/usr/src/lib/libshell/i386/include/ast/
H A Dhistory.h47 int32_t histind; /* current command number index */ member
65 #define hist_min(hp) ((_Hist=((int)((hp)->histind-(hp)->histsize)))>=0?_Hist:0)
66 #define hist_max(hp) ((int)((hp)->histind))
/titanic_51/usr/src/lib/libshell/common/sh/
H A Djobs.c1209 pw->p_name=hist_tell(sh.hist_ptr,(int)hp->histind-1); in job_post()
H A Dio.c1902 sfprintf(sfstderr,"%d", sh.hist_ptr?(int)sh.hist_ptr->histind:++cmdno); in io_prompt()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Djobs.c1446 pw->p_name=hist_tell(shgd->hist_ptr,(int)hp->histind-1); in job_post()
H A Dio.c2194 sfprintf(sfstderr,"%d", shp->gd->hist_ptr?(int)shp->gd->hist_ptr->histind:++cmdno); in io_prompt()