Searched refs:dir_entry (Results 1 – 2 of 2) sorted by relevance
483 static int ParseFd(dirent* dir_entry, int dir_fd);508 dirent* dir_entry; in GetOpenFdsIgnoring() local509 while ((dir_entry = readdir(proc_fd_dir)) != nullptr) { in GetOpenFdsIgnoring()510 const int fd = ParseFd(dir_entry, dir_fd); in GetOpenFdsIgnoring()630 static int ParseFd(dirent* dir_entry, int dir_fd) { in ParseFd() argument632 const int fd = strtol(dir_entry->d_name, &end, 10); in ParseFd()
1343 struct dirent* dir_entry; in collect_profiles() local1344 while ((dir_entry = readdir(d))) { in collect_profiles()1345 std::string name = dir_entry->d_name; in collect_profiles()1348 if (dir_entry->d_type == DT_REG) { in collect_profiles()1360 } else if (dir_entry->d_type == DT_DIR) { in collect_profiles()