Home
last modified time | relevance | path

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

/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dtparm.c140 static int stack_ptr; variable
193 if (stack_ptr < STACKSIZE) { in npush()
194 stack[stack_ptr].num_type = TRUE; in npush()
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()
207 result = stack[stack_ptr].data.num; in npop()
215 if (stack_ptr < STACKSIZE) { in spush()
[all …]
/titanic_41/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; in tparm() local
/titanic_41/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
/titanic_41/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) { in init()
2989 (void) pthread_attr_setstackaddr(&log_attr, stack_ptr); in init()
2990 stack_ptr += stacksize + redzonesize; in init()
3009 (void) pthread_attr_setstackaddr(&sys_attr, stack_ptr); in init()
3010 stack_ptr += stacksize + redzonesize; in init()
3035 (void) pthread_attr_setstackaddr(&hnl_attr, stack_ptr); in init()
3036 stack_ptr += stacksize + redzonesize; in init()
3045 (void) pthread_attr_setstackaddr(&net_attr, stack_ptr); in init()
3046 stack_ptr += stacksize + redzonesize; in init()