Searched refs:dev_zero (Results 1 – 2 of 2) sorted by relevance
/external/pcre/dist/sljit/ |
D | sljitUtils.c | 166 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()
|
D | sljitExecAllocator.c | 104 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()
|