Searched refs:hist_ptr (Results 1 - 16 of 16) sorted by relevance
/illumos-gate/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) 256 shp->hist_ptr = hist_ptr = hp; 315 shp->hist_ptr = hist_ptr = hp; 423 hist_ptr = 0; 424 shp->hist_ptr = 0; 490 hist_ptr [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 | emacs.c | 264 location = hist_locate(sh.hist_ptr,location.hist_command,location.hist_line,1); 646 location = hist_locate(sh.hist_ptr,hline,hloff,count); 1244 location = hist_find(sh.hist_ptr,(char*)lstring,hline,1,direction);
|
H A D | edit.c | 618 if(shp->hist_ptr) 620 register History_t *hp = shp->hist_ptr;
|
H A D | vi.c | 2188 location = hist_find(sh.hist_ptr,((char*)virtual)+1, curhline, 1, new_direction);
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | hist.c | 61 hp = shp->hist_ptr; 205 hist_list(shp->hist_ptr,outfile,hist_tell(shp->hist_ptr,range[flag]),0,arg);
|
H A D | print.c | 184 fd = sffileno(shp->hist_ptr->histfp); 200 else if(!(sh.inuse_bits&(1<<fd)) && (sh_inuse(fd) || (shp->hist_ptr && fd==sffileno(shp->hist_ptr->histfp)))) 322 hist_flush(shp->hist_ptr);
|
H A D | read.c | 453 if((flags&S_FLAG) && !shp->hist_ptr) 456 if(!shp->hist_ptr) 469 sfwrite(shp->hist_ptr->histfp,(char*)cp,c); 570 sfwrite(shp->hist_ptr->histfp,(char*)cp,c); 724 hist_flush(shp->hist_ptr);
|
H A D | typeset.c | 1093 else if(tp->sh->hist_ptr) 1094 iop = (tp->sh->hist_ptr)->histfp;
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | main.c | 441 hist_flush(shp->hist_ptr); 527 if(shp->hist_ptr) 528 hist_eof(shp->hist_ptr); 572 if(sh_isstate(SH_INTERACTIVE) && shp->hist_ptr) 575 hist_eof(shp->hist_ptr); 586 if(sh_isstate(SH_INTERACTIVE) && shp->hist_ptr) 587 hist_flush(shp->hist_ptr);
|
H A D | jobs.c | 911 hist_list(sh.hist_ptr,outfile,pw->p_name,0,";"); 1056 if(!sh.hist_ptr) 1062 if(hist_match(sh.hist_ptr,pw->p_name,cp,flag)>=0) 1130 register History_t *hp = sh.hist_ptr; 1209 pw->p_name=hist_tell(sh.hist_ptr,(int)hp->histind-1); 1527 hist_list(sh.hist_ptr,outfile,pw->p_name,'&',";");
|
H A D | lex.c | 191 if(sh_isstate(SH_HISTORY) && shp->hist_ptr) 192 log = shp->hist_ptr->histfp;
|
H A D | path.c | 1306 if(shp->hist_ptr && (path=nv_getval(HISTFILE)) && strcmp(path,shp->hist_ptr->histname)) 1308 hist_close(shp->hist_ptr);
|
H A D | xec.c | 505 if((mode&~SH_FUNEVAL) && shp->hist_ptr) 507 hist_flush(shp->hist_ptr); 1024 if(shp->hist_ptr && item->strm == shp->hist_ptr->histfp) 1025 hist_close(shp->hist_ptr);
|
H A D | init.c | 236 void *histopen = shp->hist_ptr; 244 hist_close(shp->hist_ptr);
|
/illumos-gate/usr/src/lib/libshell/common/include/ |
H A D | defs.h | 222 History_t *hist_ptr; \
|
Completed in 130 milliseconds