Home
last modified time | relevance | path

Searched refs:dev_zero_fd (Results 1 – 5 of 5) sorted by relevance

/external/libffi/testsuite/libffi.call/
Dffitest.h52 static int dev_zero_fd = -1; in allocate_mmap() local
56 if (dev_zero_fd == -1) in allocate_mmap()
58 dev_zero_fd = open ("/dev/zero", O_RDONLY); in allocate_mmap()
59 if (dev_zero_fd == -1) in allocate_mmap()
74 MAP_PRIVATE, dev_zero_fd, 0); in allocate_mmap()
/external/libffi/testsuite/libffi.special/
Dffitestcxx.h52 static int dev_zero_fd = -1; in allocate_mmap() local
56 if (dev_zero_fd == -1) in allocate_mmap()
58 dev_zero_fd = open ("/dev/zero", O_RDONLY); in allocate_mmap()
59 if (dev_zero_fd == -1) in allocate_mmap()
74 MAP_PRIVATE, dev_zero_fd, 0); in allocate_mmap()
/external/libffi/src/
Ddlmalloc.c1306 static int dev_zero_fd = -1; /* Cached file descriptor for /dev/zero. */ variable
1307 #define CALL_MMAP(s) ((dev_zero_fd < 0) ? \
1308 (dev_zero_fd = open("/dev/zero", O_RDWR), \
1309 mmap(0, (s), MMAP_PROT, MMAP_FLAGS, dev_zero_fd, 0)) : \
1310 mmap(0, (s), MMAP_PROT, MMAP_FLAGS, dev_zero_fd, 0))
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
DSDL_malloc.c1352 static int dev_zero_fd = -1; /* Cached file descriptor for /dev/zero. */ variable
1353 #define CALL_MMAP(s) ((dev_zero_fd < 0) ? \
1354 (dev_zero_fd = open("/dev/zero", O_RDWR), \
1355 mmap(0, (s), MMAP_PROT, MMAP_FLAGS, dev_zero_fd, 0)) : \
1356 mmap(0, (s), MMAP_PROT, MMAP_FLAGS, dev_zero_fd, 0))
/external/eigen/unsupported/test/mpreal/
Ddlmalloc.c1497 static int dev_zero_fd = -1; /* Cached file descriptor for /dev/zero. */ variable
1498 #define MMAP_DEFAULT(s) ((dev_zero_fd < 0) ? \
1499 (dev_zero_fd = open("/dev/zero", O_RDWR), \
1500 mmap(0, (s), MMAP_PROT, MMAP_FLAGS, dev_zero_fd, 0)) : \
1501 mmap(0, (s), MMAP_PROT, MMAP_FLAGS, dev_zero_fd, 0))