Home
last modified time | relevance | path

Searched refs:fd_dir (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/syscalls/copy_file_range/
Dcopy_file_range02.c43 static int fd_dir; variable
70 {&fd_dir, 0, EISDIR, CONTSIZE, "directory", 0},
154 if (fd_dir > 0) in cleanup()
155 SAFE_CLOSE(fd_dir); in cleanup()
204 fd_dir = SAFE_OPEN(FILE_DIR_PATH, O_DIRECTORY); in setup()
/external/libchrome/base/process/
Dlaunch_posix.cc243 DirReaderPosix fd_dir(kFDDir); in CloseSuperfluousFds() local
244 if (!fd_dir.IsValid()) { in CloseSuperfluousFds()
266 const int dir_fd = fd_dir.fd(); in CloseSuperfluousFds()
268 for ( ; fd_dir.Next(); ) { in CloseSuperfluousFds()
270 if (fd_dir.name()[0] == '.') in CloseSuperfluousFds()
275 const long int fd = strtol(fd_dir.name(), &endptr, 10); in CloseSuperfluousFds()
276 if (fd_dir.name()[0] == 0 || *endptr || fd < 0 || errno) in CloseSuperfluousFds()