Searched defs:stack_ptr (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dtparm.c105 #define npush(x) if (stack_ptr < STACKSIZE) {\
106 stack[stack_ptr].num = x; stack_ptr++; }
107 #define npop() (stack_ptr > 0 ? stack[--stack_ptr].num : 0)
108 #define spop() (stack_ptr > 0 ? stack[--stack_ptr].str : (char *) 0)
134 int stack_ptr = 0; local
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtparm.c110 if (stack_ptr < STACKSIZE) {\
111 stack[stack_ptr].num = x; \
112 stack_ptr++; \
114 #define npop() (stack_ptr > 0 ? stack[--stack_ptr].num : 0)
115 #define spop() (stack_ptr > 0 ? stack[--stack_ptr].str : NULL)
137 int stack_ptr = 0; local
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dtparm.c140 static int stack_ptr; variable
193 if (stack_ptr < STACKSIZE) {
194 stack[stack_ptr].num_type = TRUE;
195 stack[stack_ptr].data.num = x;
196 stack_ptr++;
204 if (stack_ptr > 0) {
205 stack_ptr--;
206 if (stack[stack_ptr].num_type)
207 result = stack[stack_ptr].data.num;
215 if (stack_ptr < STACKSIZ
[all...]
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c210 static char *stack_ptr; /* ptr to allocated stacks */ variable
2959 if ((stack_ptr = alloc_stacks(nthread)) == NULL) {
2989 (void) pthread_attr_setstackaddr(&log_attr, stack_ptr);
2990 stack_ptr += stacksize + redzonesize;
3009 (void) pthread_attr_setstackaddr(&sys_attr, stack_ptr);
3010 stack_ptr += stacksize + redzonesize;
3035 (void) pthread_attr_setstackaddr(&hnl_attr, stack_ptr);
3036 stack_ptr += stacksize + redzonesize;
3045 (void) pthread_attr_setstackaddr(&net_attr, stack_ptr);
3046 stack_ptr
[all...]

Completed in 95 milliseconds