Searched refs:dev_zero_fd (Results 1 – 5 of 5) sorted by relevance
/external/libffi/testsuite/libffi.call/ |
D | ffitest.h | 52 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/ |
D | ffitestcxx.h | 52 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/ |
D | dlmalloc.c | 1306 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/ |
D | SDL_malloc.c | 1352 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/ |
D | dlmalloc.c | 1497 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))
|