Searched refs:histind (Results 1 – 9 of 9) sorted by relevance
/titanic_44/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 321 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 D | hexpand.c | 305 sh.hist_ptr->histind, 313 n = sh.hist_ptr->histind + n;
|
/titanic_44/usr/src/lib/libshell/common/include/ |
H A D | history.h | 38 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_44/usr/src/lib/libshell/amd64/include/ast/ |
H A D | history.h | 47 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_44/usr/src/lib/libshell/i386/include/ast/ |
H A D | history.h | 47 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_44/usr/src/lib/libshell/sparc/include/ast/ |
H A D | history.h | 47 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_44/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | history.h | 47 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_44/usr/src/lib/libshell/common/sh/ |
H A D | jobs.c | 1209 pw->p_name=hist_tell(sh.hist_ptr,(int)hp->histind-1); in job_post()
|
H A D | io.c | 1902 sfprintf(sfstderr,"%d", sh.hist_ptr?(int)sh.hist_ptr->histind:++cmdno); in io_prompt()
|