Home
last modified time | relevance | path

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

/netbsd/src/sys/external/bsd/sljit/dist/regex_src/
DregexJIT.c137 #define STACK_FRAGMENT_SIZE (((64 * sizeof(struct stack_item)) - (sizeof(struct stack_fragment_data… macro
151 struct stack_item items[STACK_FRAGMENT_SIZE];
171 SLJIT_ASSERT(stack->index >= 0 && stack->index < STACK_FRAGMENT_SIZE); in stack_check()
175 SLJIT_ASSERT(stack->index == STACK_FRAGMENT_SIZE - 1 && stack->count == 0); in stack_check()
181 SLJIT_ASSERT(stack->index == STACK_FRAGMENT_SIZE - 1 && stack->count == 0); in stack_check()
205 stack->index = STACK_FRAGMENT_SIZE - 1; in stack_init()
235 if (stack->index >= STACK_FRAGMENT_SIZE) { in stack_push()
277 stack->index = STACK_FRAGMENT_SIZE - 1; in stack_pop()
307 if (stack->index + counter >= STACK_FRAGMENT_SIZE) { in stack_push_copy()
308 counter -= STACK_FRAGMENT_SIZE - stack->index - 1 + 1; in stack_push_copy()
[all …]