Lines Matching refs:sljit_uw
96 static SLJIT_INLINE int generic_se_protected(void *ptr, sljit_uw size) in generic_se_protected()
118 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec()
124 sljit_uw* ptr; in sljit_malloc_exec()
129 size += sizeof(sljit_uw); in sljit_malloc_exec()
130 ptr = (sljit_uw*)mmap(NULL, size, PROT_READ | PROT_WRITE | SLJIT_PROT_WX, in sljit_malloc_exec()
156 sljit_uw *start_ptr = ((sljit_uw*)ptr) - 1; in sljit_free_exec()
162 sljit_uw page_mask = (sljit_uw)get_page_alignment(); in sljit_update_wx_flags()
163 sljit_uw start = (sljit_uw)from; in sljit_update_wx_flags()
164 sljit_uw end = (sljit_uw)to; in sljit_update_wx_flags()
177 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec()
179 sljit_uw *ptr; in sljit_malloc_exec()
181 size += sizeof(sljit_uw); in sljit_malloc_exec()
182 ptr = (sljit_uw*)VirtualAlloc(NULL, size, in sljit_malloc_exec()
195 sljit_uw start = (sljit_uw)ptr - sizeof(sljit_uw); in sljit_free_exec()
197 sljit_uw page_mask = (sljit_uw)get_page_alignment(); in sljit_free_exec()
207 sljit_uw page_mask = (sljit_uw)get_page_alignment(); in sljit_update_wx_flags()
208 sljit_uw start = (sljit_uw)from; in sljit_update_wx_flags()
209 sljit_uw end = (sljit_uw)to; in sljit_update_wx_flags()