/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 320 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 D | hexpand.c | 307 shgd->hist_ptr->histind, 315 n = shgd->hist_ptr->histind + n;
|
H A D | edit.c | 1706 index1 = (int)hp->histind;
|
/titanic_51/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_51/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_51/usr/src/contrib/ast/src/cmd/ksh93/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_51/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_51/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_51/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_51/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_51/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()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | jobs.c | 1446 pw->p_name=hist_tell(shgd->hist_ptr,(int)hp->histind-1); in job_post()
|
H A D | io.c | 2194 sfprintf(sfstderr,"%d", shp->gd->hist_ptr?(int)shp->gd->hist_ptr->histind:++cmdno); in io_prompt()
|