/titanic_51/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 126 static History_t *hist_ptr; variable 239 if(shp->hist_ptr=hist_ptr) in sh_histinit() 256 shp->hist_ptr = hist_ptr = hp; in sh_histinit() 315 shp->hist_ptr = hist_ptr = hp; in sh_histinit() 423 hist_ptr = 0; in hist_close() 424 shp->hist_ptr = 0; in hist_close() 490 hist_ptr = 0; in hist_trim() 499 return hist_ptr = hist_old; in hist_trim() 501 hist_new = hist_ptr; in hist_trim() 502 hist_ptr = hist_old; in hist_trim() [all …]
|
H A D | hexpand.c | 304 hl = hist_find(sh.hist_ptr, str, 305 sh.hist_ptr->histind, 313 n = sh.hist_ptr->histind + n; 315 if(n > 0 && hist_seek(sh.hist_ptr, n) != -1) 316 ref = sh.hist_ptr->histfp;
|
H A D | completion.c | 537 if(!sh.hist_ptr) in ed_fulledit() 548 sfwrite(sh.hist_ptr->histfp,(char*)ep->e_inbuf,ep->e_eol+1); in ed_fulledit() 550 hist_flush(sh.hist_ptr); in ed_fulledit()
|
H A D | emacs.c | 264 location = hist_locate(sh.hist_ptr,location.hist_command,location.hist_line,1); in ed_emacsread() 646 location = hist_locate(sh.hist_ptr,hline,hloff,count); in ed_emacsread() 1244 location = hist_find(sh.hist_ptr,(char*)lstring,hline,1,direction); in search()
|
H A D | edit.c | 618 if(shp->hist_ptr) in ed_setup() 620 register History_t *hp = shp->hist_ptr; in ed_setup()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 126 static History_t *hist_ptr; variable 238 if(shgd->hist_ptr=hist_ptr) in sh_histinit() 255 shgd->hist_ptr = hist_ptr = hp; in sh_histinit() 314 shgd->hist_ptr = hist_ptr = hp; in sh_histinit() 423 hist_ptr = 0; in hist_close() 424 shgd->hist_ptr = 0; in hist_close() 493 hist_ptr in hist_trim() [all...] |
H A D | hexpand.c | 306 hl = hist_find(shgd->hist_ptr, str, 307 shgd->hist_ptr->histind, 315 n = shgd->hist_ptr->histind + n; 317 if(n > 0 && hist_seek(shgd->hist_ptr, n) != -1) 318 ref = shgd->hist_ptr->histfp;
|
H A D | completion.c | 555 if(!shgd->hist_ptr) in ed_fulledit() 566 sfwrite(shgd->hist_ptr->histfp,(char*)ep->e_inbuf,ep->e_eol+1); in ed_fulledit() 568 hist_flush(shgd->hist_ptr); in ed_fulledit()
|
H A D | emacs.c | 267 location = hist_locate(shgd->hist_ptr,location.hist_command,location.hist_line,1); in ed_emacsread() 680 location = hist_locate(shgd->hist_ptr,hline,hloff,count); in ed_emacsread() 1312 location = hist_find(shgd->hist_ptr,(char*)lstring,hline,1,direction); in search()
|
H A D | edit.c | 626 if(shp->gd->hist_ptr) in ed_setup() 628 register History_t *hp = shp->gd->hist_ptr; in ed_setup() 1667 if(!(hp=ep->sh->gd->hist_ptr) && (!nv_getval(HISTFILE) || !sh_histinit(ep->sh))) 1677 hp = ep->sh->gd->hist_ptr;
|
/titanic_51/usr/src/lib/libshell/common/sh/ |
H A D | main.c | 441 hist_flush(shp->hist_ptr); in exfile() 527 if(shp->hist_ptr) in exfile() 528 hist_eof(shp->hist_ptr); in exfile() 572 if(sh_isstate(SH_INTERACTIVE) && shp->hist_ptr) in exfile() 575 hist_eof(shp->hist_ptr); in exfile() 586 if(sh_isstate(SH_INTERACTIVE) && shp->hist_ptr) in exfile() 587 hist_flush(shp->hist_ptr); in exfile()
|
H A D | jobs.c | 911 hist_list(sh.hist_ptr,outfile,pw->p_name,0,";"); in job_list() 1056 if(!sh.hist_ptr) in job_byname() 1062 if(hist_match(sh.hist_ptr,pw->p_name,cp,flag)>=0) in job_byname() 1130 register History_t *hp = sh.hist_ptr; in job_post() 1209 pw->p_name=hist_tell(sh.hist_ptr,(int)hp->histind-1); in job_post() 1527 hist_list(sh.hist_ptr,outfile,pw->p_name,'&',";"); in job_switch()
|
H A D | path.c | 1306 if(shp->hist_ptr && (path=nv_getval(HISTFILE)) && strcmp(path,shp->hist_ptr->histname)) in exscript() 1308 hist_close(shp->hist_ptr); in exscript()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | main.c | 429 hist_flush(shp->gd->hist_ptr); in exfile() 518 if(shp->gd->hist_ptr) in exfile() 519 hist_eof(shp->gd->hist_ptr); in exfile() 563 if(sh_isstate(SH_INTERACTIVE) && shp->gd->hist_ptr) in exfile() 566 hist_eof(shp->gd->hist_ptr); in exfile() 577 if(sh_isstate(SH_INTERACTIVE) && shp->gd->hist_ptr) in exfile() 578 hist_flush(shp->gd->hist_ptr); in exfile()
|
H A D | jobs.c | 1071 hist_list(shgd->hist_ptr,outfile,pw->p_name,0,";"); in job_list() 1278 if(!shgd->hist_ptr) in job_byname() 1284 if(hist_match(shgd->hist_ptr,pw->p_name,cp,flag)>=0) in job_byname() 1353 register History_t *hp = shp->gd->hist_ptr; in job_post() 1446 pw->p_name=hist_tell(shgd->hist_ptr,(int)hp->histind-1); in job_post() 1773 hist_list(shgd->hist_ptr,outfile,pw->p_name,'&',";"); in job_switch()
|
H A D | path.c | 1347 if(shp->gd->hist_ptr && (path=nv_getval(HISTFILE)) && strcmp(path,shp->gd->hist_ptr->histname)) in exscript() 1349 hist_close(shp->gd->hist_ptr); in exscript()
|
/titanic_51/usr/src/lib/libshell/common/bltins/ |
H A D | hist.c | 61 hp = shp->hist_ptr; in b_hist() 205 hist_list(shp->hist_ptr,outfile,hist_tell(shp->hist_ptr,range[flag]),0,arg); in b_hist()
|
H A D | read.c | 453 if((flags&S_FLAG) && !shp->hist_ptr) in sh_readline() 456 if(!shp->hist_ptr) in sh_readline() 469 sfwrite(shp->hist_ptr->histfp,(char*)cp,c); in sh_readline() 570 sfwrite(shp->hist_ptr->histfp,(char*)cp,c); in sh_readline() 724 hist_flush(shp->hist_ptr); in sh_readline()
|
H A D | print.c | 184 fd = sffileno(shp->hist_ptr->histfp); in b_print() 200 …se if(!(sh.inuse_bits&(1<<fd)) && (sh_inuse(fd) || (shp->hist_ptr && fd==sffileno(shp->hist_ptr->h… in b_print() 322 hist_flush(shp->hist_ptr); in b_print()
|
H A D | typeset.c | 1093 else if(tp->sh->hist_ptr) in print_namval() 1094 iop = (tp->sh->hist_ptr)->histfp; in print_namval()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | hist.c | 61 hp = shp->gd->hist_ptr; in b_hist() 206 hist_list(shp->gd->hist_ptr,outfile,hist_tell(shp->gd->hist_ptr,range[flag]),0,arg); in b_hist()
|
H A D | read.c | 494 if((flags&S_FLAG) && !shp->gd->hist_ptr) in sh_readline() 497 if(!shp->gd->hist_ptr) in sh_readline() 510 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() 812 hist_flush(shp->gd->hist_ptr); in sh_readline()
|
H A D | print.c | 218 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() 356 hist_flush(shp->gd->hist_ptr); in b_print()
|
/titanic_51/usr/src/lib/libshell/common/include/ |
H A D | defs.h | 222 History_t *hist_ptr; \
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | defs.h | 132 History_t *hist_ptr; member
|