| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/crocus/drm/ |
| H A D | crocus_drm_winsys.c | 35 int newfd = os_dupfd_cloexec(fd); local in function:crocus_drm_screen_create 36 if (newfd < 0) 38 return crocus_screen_create(newfd, config);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/iris/drm/ |
| H A D | iris_drm_winsys.c | 35 int newfd = os_dupfd_cloexec(fd); local in function:iris_drm_screen_create 36 if (newfd < 0) 38 return iris_screen_create(newfd, config);
|
| /xsrc/external/mit/xf86-video-intel/dist/src/ |
| H A D | fd.c | 40 int newfd; local in function:fd_move_cloexec 42 newfd = fcntl(fd, 49 if (newfd < 0) 53 newfd = fd_set_cloexec(newfd); 57 return newfd;
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/ |
| H A D | fd.c | 40 int newfd; local in function:fd_move_cloexec 42 newfd = fcntl(fd, 49 if (newfd < 0) 53 newfd = fd_set_cloexec(newfd); 57 return newfd;
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | os_file.c | 54 int newfd = fcntl(fd, F_DUPFD_CLOEXEC, minfd); local in function:os_dupfd_cloexec 56 if (newfd >= 0) 57 return newfd; 62 newfd = fcntl(fd, F_DUPFD, minfd); 64 if (newfd < 0) 67 long flags = fcntl(newfd, F_GETFD); 69 close(newfd); 73 if (fcntl(newfd, F_SETFD, flags | FD_CLOEXEC) == -1) { 74 close(newfd); 78 return newfd; [all...] |
| /xsrc/external/mit/fontconfig/dist/src/ |
| H A D | fccompat.c | 162 int newfd = fcntl(fd, F_DUPFD_CLOEXEC, STDIN_FILENO); local in function:FcMakeTempfile 165 fd = newfd;
|
| /xsrc/external/mit/xdm/dist/xdm/ |
| H A D | auth.c | 541 int newfd; local in function:openFiles 554 newfd = open (new_name, O_WRONLY | O_CREAT | O_EXCL, 0600); 555 if (newfd >= 0) { 556 *newp = fdopen (newfd, "w"); 558 close(newfd);
|
| /xsrc/external/mit/xorg-server/dist/os/ |
| H A D | utils.c | 2197 int newfd; local in function:os_move_fd 2200 newfd = fcntl(fd, F_DUPFD_CLOEXEC, MAXCLIENTS); 2202 newfd = fcntl(fd, F_DUPFD, MAXCLIENTS); 2204 if (newfd < 0) 2207 fcntl(newfd, F_SETFD, FD_CLOEXEC); 2210 return newfd;
|
| H A D | connection.c | 339 int newfd = _XSERVTransGetConnectionNumber(ListenTransConns[i]); local in function:ResetWellKnownSockets 341 ListenTransFds[i] = newfd;
|
| /xsrc/external/mit/xorg-server.old/dist/os/ |
| H A D | connection.c | 469 int newfd = _XSERVTransGetConnectionNumber (ListenTransConns[i]); local in function:ResetWellKnownSockets 472 ListenTransFds[i] = newfd; 473 FD_SET(newfd, &WellKnownConnections);
|