Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c71 #define hist_ind(hp,c) ((int)((c)&(hp)->histmask)) macro
513 c = hist_ind(hist_new,++hist_new->histind); in hist_trim()
521 hist_new->histmarker = hist_new->histcmds[hist_ind(hist_new,c)] = hist_new->histcnt; in hist_trim()
654 n = hist_ind(hp, ++hp->histind); in hist_eof()
717 hp->histcmds[hist_ind(hp,++hp->histind)] = count; in hist_eof()
760 c = hist_ind(hp,--hp->histind); in hist_cancel()
861 c = hist_ind(hp,++hp->histind); in hist_write()
869 hp->histmarker = hp->histcmds[hist_ind(hp,c)] = hp->histcnt; in hist_write()
904 return(hp->histcmds[hist_ind(hp,n)]); in hist_tell()
912 return(sfseek(hp->histfp,hp->histcmds[hist_ind(hp,n)],SEEK_SET)); in hist_seek()