Home
last modified time | relevance | path

Searched refs:stack_ptr (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dtparm.c140 static int stack_ptr; variable
195 stack[stack_ptr].data.num = x; in npush()
196 stack_ptr++; in npush()
204 if (stack_ptr > 0) { in npop()
205 stack_ptr--; in npop()
206 if (stack[stack_ptr].num_type) in npop()
218 stack_ptr++; in spush()
227 if (stack_ptr > 0) { in spop()
228 stack_ptr--; in spop()
229 if (!stack[stack_ptr].num_type && stack[stack_ptr].data.str != 0) in spop()
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtparm.c108 if (stack_ptr < STACKSIZE) {\
109 stack[stack_ptr].num = x; \
110 stack_ptr++; \
112 #define npop() (stack_ptr > 0 ? stack[--stack_ptr].num : 0)
113 #define spop() (stack_ptr > 0 ? stack[--stack_ptr].str : NULL)
135 int stack_ptr = 0; in tparm() local
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dtparm.c103 #define npush(x) if (stack_ptr < STACKSIZE) {\
104 stack[stack_ptr].num = x; stack_ptr++; }
105 #define npop() (stack_ptr > 0 ? stack[--stack_ptr].num : 0)
106 #define spop() (stack_ptr > 0 ? stack[--stack_ptr].str : (char *) 0)
132 int stack_ptr = 0; local
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c208 static char *stack_ptr; /* ptr to allocated stacks */ variable
2946 if ((stack_ptr = alloc_stacks(nthread)) == NULL) { in init()
2976 (void) pthread_attr_setstackaddr(&log_attr, stack_ptr); in init()
2977 stack_ptr += stacksize + redzonesize; in init()
2996 (void) pthread_attr_setstackaddr(&sys_attr, stack_ptr); in init()
2997 stack_ptr += stacksize + redzonesize; in init()
3022 (void) pthread_attr_setstackaddr(&hnl_attr, stack_ptr); in init()
3023 stack_ptr += stacksize + redzonesize; in init()
3032 (void) pthread_attr_setstackaddr(&net_attr, stack_ptr); in init()
3033 stack_ptr += stacksize + redzonesize; in init()