Home
last modified time | relevance | path

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

/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitUtils.c299 sljit_uw aligned_old_start; in sljit_stack_resize() local
311 aligned_old_start = ((sljit_uw)stack->start) & ~page_align; in sljit_stack_resize()
312 if (aligned_new_start != aligned_old_start) { in sljit_stack_resize()
313 if (aligned_new_start < aligned_old_start) { in sljit_stack_resize()
314 …if (!VirtualAlloc((void*)aligned_new_start, aligned_old_start - aligned_new_start, MEM_COMMIT, PAG… in sljit_stack_resize()
318 if (!VirtualFree((void*)aligned_old_start, aligned_new_start - aligned_old_start, MEM_DECOMMIT)) in sljit_stack_resize()
327 aligned_old_start = ((sljit_uw)stack->start) & ~page_align; in sljit_stack_resize()
329 if (aligned_new_start > aligned_old_start) { in sljit_stack_resize()
330 …posix_madvise((void*)aligned_old_start, aligned_new_start - aligned_old_start, POSIX_MADV_DONTNEED… in sljit_stack_resize()
332 madvise((void*)aligned_old_start, aligned_new_start - aligned_old_start, MADV_FREE); in sljit_stack_resize()

Completed in 6 milliseconds