Home
last modified time | relevance | path

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

/PHP-7.2/ext/pcre/pcrelib/sljit/
H A DsljitUtils.c166 static sljit_s32 dev_zero = -1; variable
172 dev_zero = open("/dev/zero", O_RDWR); in open_dev_zero()
173 return dev_zero < 0; in open_dev_zero()
186 if (dev_zero < 0) { in open_dev_zero()
187 dev_zero = open("/dev/zero", O_RDWR); in open_dev_zero()
190 return dev_zero < 0; in open_dev_zero()
257 if (dev_zero < 0) { in sljit_allocate_stack()
263 ptr = mmap(NULL, max_limit, PROT_READ | PROT_WRITE, MAP_PRIVATE, dev_zero, 0); in sljit_allocate_stack()
H A DsljitExecAllocator.c104 if (dev_zero < 0) { in alloc_chunk()
108 retval = mmap(NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE, dev_zero, 0); in alloc_chunk()

Completed in 6 milliseconds