Searched refs:dirp (Results 1 – 2 of 2) sorted by relevance
45 DIR *dirp = nullptr; variable50 dirp = opendir(TOP_DIR "/" DIR0);51 ASSERT_NE(dirp, nullptr) << "> opendir errno = " << errno;53 dResult = readdir(dirp);69 EXPECT_EQ(closedir(dirp), 0) << "> closedir errno = " << errno;82 DIR *dirp = nullptr; variable85 dirp = opendir(TOP_DIR "/" DIR0);86 ASSERT_NE(dirp, nullptr) << "> opendir errno = " << errno;87 EXPECT_EQ(closedir(dirp), 0) << "> closedir errno = " << errno;89 dResult = readdir(dirp);[all …]
109 DIR *dirp = nullptr; in EnvInit() local110 dirp = opendir(DEFAULT_DIR.c_str()); in EnvInit()136 if (dirp == nullptr) { in EnvInit()140 while (dirp != nullptr) { in EnvInit()142 if ((dp = readdir(dirp)) == NULL) { in EnvInit()153 (void)closedir(dirp); in EnvInit()