Lines Matching defs:hp
71 #define hist_ind(hp,c) ((int)((c)&(hp)->histmask)) argument
133 static int acctinit(History_t *hp) in acctinit()
178 static int sh_checkaudit(History_t *hp, const char *name, char *logbuf, size_t len) in sh_checkaudit()
231 register History_t *hp; in sh_histinit() local
411 void hist_close(register History_t *hp) in hist_close()
459 static History_t* hist_trim(History_t *hp, int n) in hist_trim()
558 static int hist_nearend(History_t *hp, Sfio_t *iop, register off_t size) in hist_nearend()
625 void hist_eof(register History_t *hp) in hist_eof()
751 void hist_cancel(register History_t *hp) in hist_cancel()
768 void hist_flush(register History_t *hp) in hist_flush()
802 register History_t *hp = (History_t*)handle; in hist_write() local
902 off_t hist_tell(register History_t *hp, int n) in hist_tell()
910 off_t hist_seek(register History_t *hp, int n) in hist_seek()
921 void hist_list(register History_t *hp,Sfio_t *outfile, off_t offset,int last, char *nl) in hist_list()
952 Histloc_t hist_find(register History_t*hp,char *string,register int index1,int flag,int direction) in hist_find()
1012 int hist_match(register History_t *hp,off_t offset,char *string,int *coffset) in hist_match()
1060 register History_t *hp = shgd->hist_ptr; in hist_copy() local
1105 History_t *hp = hist_ptr; in hist_word() local
1140 Histloc_t hist_locate(History_t *hp,register int command,register int line,int lines) in hist_locate()
1192 History_t *hp = (History_t*)handle; in hist_exceptf() local