Lines Matching refs:ec
93 std::error_code ec; in WalkDir() local
94 auto it = fs::directory_iterator(path, ec); in WalkDir()
96 while (!ec && it != end) { in WalkDir()
98 it.increment(ec); in WalkDir()
100 if (ec) { in WalkDir()
102 << " for reading : " << ec.message(); in WalkDir()
169 std::error_code ec; in DeleteDir() local
170 fs::remove_all(path, ec); in DeleteDir()
171 if (ec) { in DeleteDir()
172 return Error() << "Failed to delete path " << path << " : " << ec.message(); in DeleteDir()
190 std::error_code ec; in PathExists() local
191 if (!fs::exists(fs::path(path), ec)) { in PathExists()
192 if (ec) { in PathExists()
193 return Error() << "Failed to access " << path << " : " << ec.message(); in PathExists()
229 std::error_code ec; in GetSubdirs() local
230 bool result = entry.is_directory(ec); in GetSubdirs()
231 if (ec) { in GetSubdirs()
232 LOG(ERROR) << "Failed to check is_directory : " << ec.message(); in GetSubdirs()