Searched refs:stkptr (Results 1 - 16 of 16) sorted by relevance

/ast/src/lib/libast/include/
H A Dstk.h45 #define stkptr(sp,n) ((char*)((sp)->_data)+(n)) macro
H A Dstak.h40 #define stakptr(n) stkptr(stkstd,n)
/ast/src/lib/libast/path/
H A Dpathcd.c100 p = stkptr(stkstd, i);
/ast/src/cmd/ksh93/sh/
H A Dmacro.c241 *stkptr(stkp,ARGVAL-1) = 0;
385 fcsopen(stkptr(stkp,offset));
388 sfwrite(outfile,(char*)stkptr(stkp,offset2),c);
619 cp = stkptr(stkp,off);
734 cp = stkptr(stkp,stktell(stkp));
735 if(sh_checkid(stkptr(stkp,offset),cp)!=cp)
1241 v = stkptr(stkp,subcopy(mp,1));
1275 id=stkptr(stkp,offset);
1352 v = stkptr(stkp,mp->dotdot);
1399 c = *((unsigned char*)stkptr(stk
[all...]
H A Dxec.c264 sfwrite(out,stkptr(stkp,offset),n);
430 if(iop==stkstd && cp==stkptr(stkstd,n))
432 *stkptr(stkstd,stktell(stkstd)-1) = c;
503 char *sav = stkptr(stkp,0);
538 *stkptr(stkp,stktell(stkp)-1) = 0;
558 if(sav != stkptr(stkp,0))
986 char *sav=stkptr(stkp,0);
2684 np = nv_open(stkptr(stkp,offset),shp->var_tree,flags);
2719 npv = nv_open(stkptr(stkp,offset),shp->var_tree,NV_NOASSIGN|NV_NOARRAY|NV_VARNAME);
2723 fname = stkptr(stk
[all...]
H A Darith.c280 if(np=nv_search(stkptr(shp->stk,off),shp->fun_tree,0))
H A Dlex.c163 begin = stkptr(stkp,lp->lexd.kiaoff);
1338 state = stkptr(stkp,ARGVAL);
2152 register int left = offset-(sp-stkptr(stkp,0));
2156 sp = stkptr(stkp,offset);
2182 sp = stkptr(stkp,ARGVAL);
2222 stkseek(stkp,dp-stkptr(stkp,0));
H A Dnvdisc.c1495 fname = stkptr(stkp,offset);
/ast/src/cmd/dsslib/sort/
H A Dsort.c170 state->sortbase = stkptr(state->sortstack, 0);
244 state->uniqbase = stkptr(state->uniqstack, 0);
/ast/src/cmd/kshlib/open/
H A Dopen.c113 dp->format = nv_search(stkptr(stkstd,offset),sh.var_tree,NV_ADD);
230 nq = nv_search(stkptr(stkstd,offset),sh.var_tree,NV_ADD);
/ast/src/lib/libast/misc/
H A Derror.c434 bas = stkptr(stkstd, 0);
562 s = stkptr(stkstd, 0);
H A Dstk.c516 if(stkptr(stream,0)==sp->stkbase+sizeof(struct frame))
/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c430 tdata.tp = nv_open(stkptr(stkp,offset),tdata.sh->var_tree,NV_VARNAME|NV_NOARRAY|NV_NOASSIGN);
434 *stkptr(stkp,off)=0;
435 tdata.tp = nv_open(stkptr(stkp,offset),tdata.sh->var_tree,NV_VARNAME|NV_NOARRAY|NV_NOASSIGN);
625 np = nv_search(stkptr(shp->stk,offset),troot,0);
1073 if(dlete || (addr = (Shbltin_f)dlllook(liblist[n].dll,stkptr(stkp,flag))))
H A Dmisc.c260 filename = path_fullname(shp,stkptr(shp->stk,PATH_OFFSET));
/ast/src/cmd/kshlib/dss/
H A Ddss.c232 mp = nv_search(stkptr(stkstd,offset+1),typedict,flag);
245 nv_putval(rp,stkptr(stkstd,offset+1),0);
863 mp = sh_addbuiltin(stkptr(stkstd,offset+1),fun,context);
/ast/src/lib/libtksh/src/
H A Dvar.c380 newValue = stkptr(stkstd, offset);

Completed in 66 milliseconds