Lines Matching defs:stkp

163 	Stk_t		*stkp = shp->stk;
166 stkseek(stkp,0);
181 stkseek(stkp,0);
184 str = stkfreeze(stkp,1);
209 Stk_t *stkp = shp->stk;
236 stkseek(stkp,0);
240 stkseek(stkp,ARGVAL);
241 *stkptr(stkp,ARGVAL-1) = 0;
249 argp->argchn.cp = stkfreeze(stkp,1);
278 Stk_t *stkp = shp->stk;
280 stkseek(stkp,0);
361 int offset = stktell(stkp);
364 sfputc(stkp,c);
379 sfputc(stkp,c);
382 sfputc(stkp,0);
383 offset2 = stktell(stkp);
385 fcsopen(stkptr(stkp,offset));
387 if(c=stktell(stkp)-offset2)
388 sfwrite(outfile,(char*)stkptr(stkp,offset2),c);
390 stkseek(stkp,offset);
451 Stk_t *stkp = mp->shp->stk;
457 tilde = stktell(stkp);
500 sfwrite(stkp,first,c);
512 sfputc(stkp,mb[i]);
516 sfputc(stkp,c);
518 sfputc(stkp,ESCAPE);
530 sfputc(stkp,c);
532 sfputc(stkp,ESCAPE);
562 sfwrite(stkp,first,c+1);
570 sfwrite(stkp,first,c+1);
581 sfwrite(stkp,first,c);
595 sfwrite(stkp,first,c);
603 int off = stktell(stkp);
617 sfwrite(stkp,first,n);
618 sfputc(stkp,0);
619 cp = stkptr(stkp,off);
621 stkseek(stkp,off);
638 sfputc(stkp,'$');
660 sfwrite(stkp,first,c);
692 sfwrite(stkp,first,c);
714 sfwrite(stkp,first,++c);
718 offset = stktell(stkp);
731 sfputc(stkp,RBRACT);
734 cp = stkptr(stkp,stktell(stkp));
735 if(sh_checkid(stkptr(stkp,offset),cp)!=cp)
736 stkseek(stkp,stktell(stkp)-2);
768 sfwrite(stkp,first,c);
771 sfputc(stkp,ESCAPE);
793 sfwrite(stkp,first,c);
795 sfputc(stkp,ESCAPE);
801 tilde = stktell(stkp)+(c+1);
810 sfwrite(stkp,first,c);
824 tilde = stktell(stkp)+(c+1);
832 sfwrite(stkp,first,c+1);
834 c = stktell(stkp);
836 stkseek(stkp,c);
838 sfwrite(stkp,first,cp-first);
846 sfwrite(stkp,first,c);
847 sfputc(stkp,0);
848 mp->dotdot = stktell(stkp);
1098 Stk_t *stkp = mp->shp->stk;
1202 offset = stktell(stkp);
1210 sfputc(stkp,c);
1212 sfwrite(stkp,fcseek(0)-LEN,LEN);
1227 sfputc(stkp,LBRACT);
1228 sfputc(stkp,mode);
1229 sfputc(stkp,RBRACT);
1238 c = stktell(stkp);
1240 sfputc(stkp,LBRACT);
1241 v = stkptr(stkp,subcopy(mp,1));
1252 sfputc(stkp,RBRACT);
1265 stkseek(stkp,stktell(stkp)-2);
1270 stkseek(stkp,stktell(stkp)-1);
1274 sfputc(stkp,0);
1275 id=stkptr(stkp,offset);
1352 v = stkptr(stkp,mp->dotdot);
1399 c = *((unsigned char*)stkptr(stkp,offset-1));
1400 savptr = stkfreeze(stkp,0);
1443 stkseek(stkp,offset);
1445 stkset(stkp,savptr,offset);
1460 stkseek(stkp,offset);
1491 stkseek(stkp,offset);
1569 offset = stktell(stkp);
1610 sfputc(stkp,0);
1612 stkseek(stkp,stktell(stkp)-1);
1617 stkseek(stkp,offset);
1619 argp=stkptr(stkp,offset);
1740 stkseek(stkp,offset);
1769 int n = stktell(stkp);
1775 sfputc(stkp,0);
1776 repstr = strdup(stkptr(stkp,n));
1778 stkseek(stkp,n);
1783 stkseek(stkp,offset);
1933 sfputc(stkp,d);
1951 sfputc(stkp,0);
1968 stkseek(stkp,offset);
2023 Stk_t *stkp = mp->shp->stk;
2027 int savtop = stktell(stkp);
2028 char lastc=0, *savptr = stkfreeze(stkp,0);
2060 stkset(stkp,savptr,savtop);
2084 sfputc(stkp,ESCAPE);
2086 sfputc(stkp,c);
2088 c = stktell(stkp);
2089 str=stkfreeze(stkp,1);
2153 stkset(stkp,savptr,savtop);
2162 size_t soff = stktell(stkp);
2164 stkseek(stkp,soff+foff+64);
2165 stkseek(stkp,soff);
2208 sfnputc(stkp,'\n',newlines);
2239 sfnputc(stkp,'\n',newlines);
2258 Stk_t *stkp=mp->shp->stk;
2328 sfwrite(stkp,str,c);
2329 sfputc(stkp,ESCAPE);
2334 sfwrite(stkp,str,c);
2363 sfwrite(stkp,cp-1, len);
2373 sfputc(stkp,ESCAPE);
2422 sfputc(stkp,c);
2443 sfwrite(stkp,str,size);
2455 Stk_t *stkp = mp->shp->stk;
2456 if(stktell(stkp) > ARGVAL || split)
2458 argp = (struct argnod*)stkfreeze(stkp,1);
2489 stkseek(stkp,ARGVAL);