Home
last modified time | relevance | path

Searched refs:histfp (Results 1 – 25 of 28) sorted by relevance

12

/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c318 hp->histfp= sfnew(NIL(Sfio_t*),hp->histbuff,HIST_BSIZE,fd,SF_READ|SF_WRITE|SF_APPENDWR|SF_SHARE); in sh_histinit()
328 sfwrite(hp->histfp,(char*)hist_stamp,2); in sh_histinit()
329 sfsync(hp->histfp); in sh_histinit()
336 hp->histind = first = hist_nearend(hp,hp->histfp,hsize-size); in sh_histinit()
345 first = hist_nearend(hp,hp->histfp,hsize-size); in sh_histinit()
352 sfseek(hp->histfp,hp->histcnt=hsize,SEEK_SET); in sh_histinit()
371 sfdisc(hp->histfp,&hp->histdisc); in sh_histinit()
413 sfclose(hp->histfp); in hist_close()
473 close(sffileno(hist_old->histfp)); in hist_trim()
489 sfsetfd(hist_old->histfp,f in hist_trim()
[all...]
H A Dhexpand.c318 ref = shgd->hist_ptr->histfp;
H A Dcompletion.c566 sfwrite(shgd->hist_ptr->histfp,(char*)ep->e_inbuf,ep->e_eol+1); in ed_fulledit()
H A Dedit.c1710 sfseek(hp->histfp,offset,SEEK_SET);
1711 if(!(cp = sfgetr(hp->histfp,0,0)))
/titanic_51/usr/src/lib/libshell/common/edit/
H A Dhistory.c319 hp->histfp= sfnew(NIL(Sfio_t*),hp->histbuff,HIST_BSIZE,fd,SF_READ|SF_WRITE|SF_APPENDWR|SF_SHARE); in sh_histinit()
329 sfwrite(hp->histfp,(char*)hist_stamp,2); in sh_histinit()
330 sfsync(hp->histfp); in sh_histinit()
337 hp->histind = first = hist_nearend(hp,hp->histfp,hsize-size); in sh_histinit()
345 first = hist_nearend(hp,hp->histfp,hsize-size); in sh_histinit()
352 sfseek(hp->histfp,hp->histcnt=hsize,SEEK_SET); in sh_histinit()
371 sfdisc(hp->histfp,&hp->histdisc); in sh_histinit()
413 sfclose(hp->histfp); in hist_close()
473 close(sffileno(hist_old->histfp)); in hist_trim()
486 sfsetfd(hist_old->histfp,fd); in hist_trim()
[all …]
H A Dcompletion.c548 sfwrite(sh.hist_ptr->histfp,(char*)ep->e_inbuf,ep->e_eol+1); in ed_fulledit()
H A Dhexpand.c316 ref = sh.hist_ptr->histfp;
/titanic_51/usr/src/lib/libshell/common/include/
H A Dhistory.h36 Sfio_t *histfp; /* history file stream pointer */ member
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dhistory.h36 Sfio_t *histfp; /* history file stream pointer */ member
/titanic_51/usr/src/lib/libshell/amd64/include/ast/
H A Dhistory.h45 Sfio_t *histfp; /* history file stream pointer */ member
/titanic_51/usr/src/lib/libshell/sparc/include/ast/
H A Dhistory.h45 Sfio_t *histfp; /* history file stream pointer */ member
/titanic_51/usr/src/lib/libshell/sparcv9/include/ast/
H A Dhistory.h45 Sfio_t *histfp; /* history file stream pointer */ member
/titanic_51/usr/src/lib/libshell/i386/include/ast/
H A Dhistory.h45 Sfio_t *histfp; /* history file stream pointer */ member
/titanic_51/usr/src/lib/libshell/common/bltins/
H A Dread.c469 sfwrite(shp->hist_ptr->histfp,(char*)cp,c); in sh_readline()
570 sfwrite(shp->hist_ptr->histfp,(char*)cp,c); in sh_readline()
H A Dprint.c184 fd = sffileno(shp->hist_ptr->histfp); in b_print()
200 …sh.inuse_bits&(1<<fd)) && (sh_inuse(fd) || (shp->hist_ptr && fd==sffileno(shp->hist_ptr->histfp)))) in b_print()
H A Dtypeset.c1094 iop = (tp->sh->hist_ptr)->histfp; in print_namval()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dread.c510 sfwrite(shp->gd->hist_ptr->histfp,(char*)cp,c); in sh_readline()
624 sfwrite(shp->gd->hist_ptr->histfp,(char*)cp,c); in sh_readline()
H A Dprint.c218 fd = sffileno(shp->gd->hist_ptr->histfp); in b_print()
234 else if(!(shp->inuse_bits&(1<<fd)) && (sh_inuse(shp,fd) || (shp->gd->hist_ptr && fd==sffileno(shp->gd->hist_ptr->histfp)))) in b_print()
H A Dtypeset.c1353 iop = (tp->sh->gd->hist_ptr)->histfp; in print_namval()
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dlex.c192 log = shp->hist_ptr->histfp; in lex_advance()
H A Dio.c2342 fd = sffileno(shp->hist_ptr->histfp); in sh_iogetiop()
H A Dparse.c755 t->funct.functloc = sfseek(shp->hist_ptr->histfp,(off_t)0,SEEK_CUR); in funct()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dnvtype.c1682 iop = (shp->gd->hist_ptr)->histfp; in sh_outtype()
H A Dlex.c197 log = shp->gd->hist_ptr->histfp; in lex_advance()
H A Dparse.c780 t->funct.functloc = sfseek(shp->gd->hist_ptr->histfp,(off_t)0,SEEK_CUR); in funct()

12