Home
last modified time | relevance | path

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

/test/xts/acts/kernel_lite/fs_posix/src/
DFsDirentTest.cpp45 DIR *dirp = nullptr; variable
50 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; variable
85 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 …]
/test/ostest/wukong/report/src/
Dreport.cpp109 DIR *dirp = nullptr; in EnvInit() local
110 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()