Searched refs:devzero (Results 1 – 2 of 2) sorted by relevance
1087 int devzero = -1; in new_mmap_object() local1197 fd = devzero = open("/dev/zero", O_RDWR); in new_mmap_object()1198 if (devzero == -1) { in new_mmap_object()1217 if (devzero != -1) { in new_mmap_object()1218 close(devzero); in new_mmap_object()
1040 int devzero = -1; in new_mmap_object() local1151 fd = devzero = _Py_open("/dev/zero", O_RDWR); in new_mmap_object()1152 if (devzero == -1) { in new_mmap_object()1170 if (devzero != -1) { in new_mmap_object()1171 close(devzero); in new_mmap_object()