Home
last modified time | relevance | path

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

/external/pcre/dist/sljit/
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()
256 if (dev_zero < 0) { in sljit_allocate_stack()
262 base.ptr = mmap(NULL, max_limit, PROT_READ | PROT_WRITE, MAP_PRIVATE, dev_zero, 0); in sljit_allocate_stack()
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()