Lines Matching refs:stkp
110 Stk_t *stkp = shp->stk; in p_time() local
115 sfwrite(stkp, first, format-first); in p_time()
146 stkseek(stkp,offset); in p_time()
153 l_time(stkp, tm[n], p); in p_time()
155 sfprintf(stkp,"%.*f",p, d); in p_time()
159 sfwrite(stkp,first, format-first); in p_time()
160 sfputc(stkp,'\n'); in p_time()
161 n = stktell(stkp)-offset; in p_time()
162 sfwrite(out,stkptr(stkp,offset),n); in p_time()
163 stkseek(stkp,offset); in p_time()
397 Stk_t *stkp=shp->stk; in sh_debug() local
400 char *sav = stkptr(stkp,0); in sh_debug()
401 int n=4, offset=stktell(stkp); in sh_debug()
435 *stkptr(stkp,stktell(stkp)-1) = 0; in sh_debug()
436 np->nvalue.cp = stkfreeze(stkp,1); in sh_debug()
454 if(sav != stkptr(stkp,0)) in sh_debug()
455 stkset(stkp,sav,0); in sh_debug()
457 stkseek(stkp,offset); in sh_debug()
656 Stk_t *stkp = shp->stk; in sh_exec() local
672 char *sav=stkptr(stkp,0); in sh_exec()
755 int offset = stktell(stkp); in sh_exec()
756 sfputr(stkp,nv_name(shp->namespace),-1); in sh_exec()
757 sfputc(stkp,'.'); in sh_exec()
758 sfputr(stkp,com0,0); in sh_exec()
759 stkseek(stkp,offset); in sh_exec()
760 np = nv_bfsearch(stkptr(stkp,offset), root, &nq, &cp); in sh_exec()
1965 int offset = stktell(stkp); in sh_exec()
1969 sfputc(stkp,'.'); in sh_exec()
1970 sfputr(stkp,fname,0); in sh_exec()
1971 np = nv_open(stkptr(stkp,offset),shp->var_base,NV_NOASSIGN|NV_NOARRAY|NV_VARNAME); in sh_exec()
1972 offset = stktell(stkp); in sh_exec()
2005 int offset = stktell(stkp); in sh_exec()
2016 sfwrite(stkp,fname,cp++-fname); in sh_exec()
2017 sfputc(stkp,0); in sh_exec()
2018 npv = nv_open(stkptr(stkp,offset),shp->var_tree,NV_NOASSIGN|NV_NOARRAY|NV_VARNAME); in sh_exec()
2020 offset = stktell(stkp); in sh_exec()
2021 sfprintf(stkp,"%s.%s%c",nv_name(npv),cp,0); in sh_exec()
2022 fname = stkptr(stkp,offset); in sh_exec()
2029 int offset = stktell(stkp); in sh_exec()
2030 sfputr(stkp,nv_name(shp->namespace),-1); in sh_exec()
2031 sfputc(stkp,'.'); in sh_exec()
2032 sfputr(stkp,fname,0); in sh_exec()
2033 fname = stkptr(stkp,offset); in sh_exec()
2231 if(sav != stkptr(stkp,0)) in sh_exec()
2232 stkset(stkp,sav,0); in sh_exec()
2233 else if(stktell(stkp)) in sh_exec()
2234 stkseek(stkp,0); in sh_exec()