Home
last modified time | relevance | path

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

/PHP-5.4/ext/pcre/pcrelib/sljit/
H A DsljitUtils.c166 static sljit_si 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()
185 dev_zero = open("/dev/zero", O_RDWR); in open_dev_zero()
187 return dev_zero < 0; in open_dev_zero()
257 if (dev_zero < 0) { in sljit_allocate_stack()
263 base.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 5 milliseconds