Home
last modified time | relevance | path

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

/external/pcre/dist2/src/sljit/
DsljitUtils.c293 sljit_uw aligned_new_start; in sljit_stack_resize() local
303 aligned_new_start = (sljit_uw)new_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()
319 aligned_new_start = (sljit_uw)new_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()