Lines Matching refs:limit
203 SLJIT_API_FUNC_ATTRIBUTE struct sljit_stack* SLJIT_CALL sljit_allocate_stack(sljit_uw limit, sljit_uw max_limit, void *allocator_data)
215 if (limit > max_limit || limit < 1)
233 /* Align limit and max_limit. */
247 stack->limit = stack->base;
249 if (sljit_stack_resize(stack, stack->base + limit)) {
270 stack->limit = stack->base + limit;
299 aligned_old_limit = (stack->limit + sljit_page_align) & ~sljit_page_align;
310 stack->limit = new_limit;
313 if (new_limit >= stack->limit) {
314 stack->limit = new_limit;
318 aligned_old_limit = (stack->limit + sljit_page_align) & ~sljit_page_align;
327 stack->limit = new_limit;