Searched refs:stack_ptr (Results 1 – 4 of 4) sorted by relevance
140 static int stack_ptr; variable193 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 …]
108 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
103 #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
208 static char *stack_ptr; /* ptr to allocated stacks */ variable2946 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()