Home
last modified time | relevance | path

Searched refs:staktop (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/sh/
H A Dmacro.c54 if (staktop >= brkend) in copyto()
55 growstak(staktop); in copyto()
61 if (staktop >= brkend) in copyto()
62 growstak(staktop); in copyto()
64 if (staktop >= brkend) in copyto()
65 growstak(staktop); in copyto()
70 if (staktop >= brkend) in copyto()
71 growstak(staktop); in copyto()
80 if (staktop >= brkend) in copyto()
81 growstak(staktop); in copyto()
[all …]
H A Dstak.h41 #define relstak() (staktop-stakbot)
43 #define setstak(x) (staktop=absstak(x))
44 #define pushstak(c) (*staktop++=(c))
45 #define zerostak() (*staktop=0)
50 #define curstak() (staktop)
66 #define fixstak() endstak(staktop)
111 extern unsigned char *staktop;
H A Dstak.c47 staktop = stakbot += size;
48 if (staktop >= brkend)
49 growstak(staktop);
86 assert(staktop == stakbot); in savstak()
99 stakbot = staktop = (unsigned char *)round(argp, BYTESPERWORD); in endstak()
100 if (staktop >= brkend) in endstak()
101 growstak(staktop); in endstak()
116 staktop = stakbot = max(x, stakbas); in tdystak()
H A Dblok.c120 if (stakbas != staktop) { in addblok()
124 if (staktop >= brkend) in addblok()
125 growstak(staktop); in addblok()
127 rndstak = (unsigned char *)round(staktop, ALIGNSIZ); in addblok()
159 if (reqd = (staktop-stakbot)) { in addblok()
166 staktop = sp; in addblok()
167 if (staktop >= brkend) in addblok()
168 growstak(staktop); in addblok()
H A Dname.c354 if (staktop >= brkend) in readvar()
355 growstak(staktop); in readvar()
385 if (staktop >= brkend) in readvar()
386 growstak(staktop); in readvar()
389 oldstak = staktop; in readvar()
395 if (staktop >= brkend) in readvar()
396 growstak(staktop); in readvar()
400 oldstak = staktop; in readvar()
405 staktop = oldstak; in readvar()
633 p = movstrstak(n->namid, staktop); in pushnam()
H A Ddefs.c109 unsigned char *staktop; variable
H A Dservice.c576 if (argp == staktop + BYTESPERWORD)
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dfault.c452 int staktop = staktell(); in sh_trap() local
494 stakset(savptr,staktop); in sh_trap()