Home
last modified time | relevance | path

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

/external/pcre/dist2/src/sljit/
DsljitUtils.c292 sljit_uw aligned_old_start; in sljit_stack_resize() local
304 aligned_old_start = ((sljit_uw)stack->start) & ~page_align; in sljit_stack_resize()
305 if (aligned_new_start != aligned_old_start) { in sljit_stack_resize()
306 if (aligned_new_start < aligned_old_start) { in sljit_stack_resize()
307 …if (!VirtualAlloc((void*)aligned_new_start, aligned_old_start - aligned_new_start, MEM_COMMIT, PAG… in sljit_stack_resize()
311 if (!VirtualFree((void*)aligned_old_start, aligned_new_start - aligned_old_start, MEM_DECOMMIT)) in sljit_stack_resize()
320 aligned_old_start = ((sljit_uw)stack->start) & ~page_align; in sljit_stack_resize()
322 if (aligned_new_start > aligned_old_start) { in sljit_stack_resize()
323 …posix_madvise((void*)aligned_old_start, aligned_new_start - aligned_old_start, POSIX_MADV_DONTNEED… in sljit_stack_resize()
325 madvise((void*)aligned_old_start, aligned_new_start - aligned_old_start, MADV_FREE); in sljit_stack_resize()