Searched refs:O_CLOEXEC (Results 1 - 25 of 95) sorted by relevance

1234

/xsrc/external/mit/bdftopcf/dist/
H A Dfileio.c39 #ifndef O_CLOEXEC
40 #define O_CLOEXEC 0 macro
49 fd = open(name, O_BINARY | O_CLOEXEC);
H A Dfilewr.c39 #ifndef O_CLOEXEC
40 #define O_CLOEXEC 0 macro
48 fd = open(name, O_CREAT | O_TRUNC | O_RDWR | O_BINARY | O_CLOEXEC, 0666);
/xsrc/external/mit/libXfont/dist/src/fontfile/
H A Dfilewr.c39 #ifndef O_CLOEXEC
40 #define O_CLOEXEC 0 macro
48 fd = open (name, O_CREAT|O_TRUNC|O_RDWR|O_BINARY|O_CLOEXEC, 0666);
H A Dfileio.c39 #ifndef O_CLOEXEC
40 #define O_CLOEXEC 0 macro
53 fd = open (name, O_BINARY|O_CLOEXEC|O_NOFOLLOW);
/xsrc/external/mit/libXfont2/dist/src/fontfile/
H A Dfilewr.c40 #ifndef O_CLOEXEC
41 #define O_CLOEXEC 0 macro
49 fd = open (name, O_CREAT|O_TRUNC|O_RDWR|O_BINARY|O_CLOEXEC, 0666);
H A Dfileio.c40 #ifndef O_CLOEXEC
41 #define O_CLOEXEC 0 macro
54 fd = open (name, O_BINARY|O_CLOEXEC|O_NOFOLLOW);
H A Ddirfile.c50 #ifndef O_CLOEXEC
51 #define O_CLOEXEC 0 macro
103 file_fd = open(dir_file, O_RDONLY | O_NOFOLLOW | O_CLOEXEC);
300 file_fd = open(alias_file, O_RDONLY | O_NOFOLLOW | O_CLOEXEC);
/xsrc/external/mit/libXau/dist/
H A DAuLock.c44 #ifndef O_CLOEXEC
45 #define O_CLOEXEC 0 macro
78 creat_fd = open (creat_name, O_WRONLY | O_CREAT | O_EXCL | O_CLOEXEC,
H A DAuGetAddr.c33 #ifdef O_CLOEXEC
H A DAuGetBest.c36 #ifdef O_CLOEXEC
/xsrc/external/mit/libxshmfence/dist/src/
H A Dxshmfence_alloc.c82 fd = shm_open(SHM_ANON, O_RDWR|O_CLOEXEC, 0600);
87 fd = open(SHMDIR, O_TMPFILE|O_RDWR|O_CLOEXEC|O_EXCL, 0666);
92 fd = mkostemp(template, O_CLOEXEC);
/xsrc/external/mit/libXpm/dist/test/
H A DXpmRead.c36 #ifndef O_CLOEXEC
37 # define O_CLOEXEC 0 macro
154 g_assert_no_errno(fd = open(filepath, O_RDONLY | O_CLOEXEC));
H A DXpmWrite.c41 #ifndef O_CLOEXEC
42 # define O_CLOEXEC 0 macro
302 g_assert_no_errno(fd = open(newfilepath, O_RDONLY | O_CLOEXEC));
/xsrc/external/mit/MesaLib/dist/src/util/
H A Danon_file.c78 fd = mkostemp(tmpname, O_CLOEXEC);
127 fd = shm_open(SHM_ANON, O_CREAT | O_RDWR | O_CLOEXEC, 0600);
/xsrc/external/mit/libpciaccess/dist/src/
H A Dpciaccess_private.h44 * O_CLOEXEC fixes an fd leak case (see 'man 2 open' for details). I don't
50 #ifndef O_CLOEXEC
51 #warning O_CLOEXEC not available, please upgrade.
52 #define O_CLOEXEC 0 macro
H A Dlinux_sysfs.c104 pci_sys->mtrr_fd = open("/proc/mtrr", O_WRONLY | O_CLOEXEC);
164 fd = open(name, O_RDONLY | O_CLOEXEC);
315 fd = open( name, O_RDONLY | O_CLOEXEC);
377 fd = open( name, O_RDWR | O_CLOEXEC);
458 fd = open( name, O_RDONLY | O_CLOEXEC);
518 fd = open( name, O_WRONLY | O_CLOEXEC);
569 fd = open(name, open_flags | O_CLOEXEC);
634 fd = open(name, open_flags | O_CLOEXEC);
757 fd = open( name, O_RDWR | O_CLOEXEC);
789 fd = open( name, O_RDONLY | O_CLOEXEC);
[all...]
/xsrc/external/mit/libXpm/dist/src/
H A DRdFToBuf.c75 fd = open(filename, O_RDONLY | O_CLOEXEC);
H A DRdFToI.c215 int fd = open(filename, O_RDONLY | O_CLOEXEC);
232 fd = open(compressfile, O_RDONLY | O_CLOEXEC);
236 fd = open(compressfile, O_RDONLY | O_CLOEXEC);
/xsrc/external/mit/libdrm/dist/tests/util/
H A Dkms.c129 fd = open(device->nodes[DRM_NODE_PRIMARY], O_RDWR | O_CLOEXEC);
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/panfrost/drm/
H A Dpanfrost_drm_winsys.c93 err = drmPrimeHandleToFD(ro->kms_fd, create_dumb.handle, O_CLOEXEC,
/xsrc/external/mit/libXcursor/dist/src/
H A Dxcursorint.h42 #ifdef O_CLOEXEC
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/renderonly/
H A Drenderonly.c104 err = drmPrimeHandleToFD(ro->kms_fd, create_dumb.handle, O_CLOEXEC,
/xsrc/external/mit/MesaLib/dist/src/intel/dev/
H A Dintel_dev_info.c62 int fd = open(path, O_RDWR | O_CLOEXEC);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/renderonly/
H A Drenderonly.c90 err = drmPrimeHandleToFD(ro->kms_fd, create_dumb.handle, O_CLOEXEC,
/xsrc/external/mit/MesaLib/dist/src/vulkan/device-select-layer/
H A Ddevice_select_wayland.c43 int fd = open(device, O_RDWR | O_CLOEXEC);

Completed in 17 milliseconds

1234