Searched refs:fd_num (Results 1 – 2 of 2) sorted by relevance
194 int fd_num; in CountOpenFds() local195 CHECK(base::StringToInt(e.d_name, &fd_num)); in CountOpenFds()196 if (fd_num == proc_fd || fd_num == proc_self_fd) { in CountOpenFds()238 int fd_num; in HasOpenDirectory() local239 CHECK(base::StringToInt(e.d_name, &fd_num)); in HasOpenDirectory()240 if (fd_num == proc_fd || fd_num == proc_self_fd) { in HasOpenDirectory()
25 (fd_num, self._cfg_file) = tempfile.mkstemp()26 with os.fdopen(fd_num, 'w') as f: