Lines Matching defs:EC
30 std::error_code EC;
31 addDirectoryImpl(Dir, vfs::getRealFileSystem(), EC);
139 std::error_code &EC) {
140 auto It = FS->dir_begin(Dir, EC);
141 if (EC)
144 for (; !EC && It != llvm::vfs::directory_iterator(); It.increment(EC)) {
151 if (EC)
154 return FS->dir_begin(Dir, EC);
164 if (auto EC =
166 return EC;
168 if (auto EC = sys::fs::setLastAccessAndModificationTime(
170 return EC;
172 if (auto EC = sys::Process::SafelyCloseFileDescriptor(FD))
173 return EC;
189 if (std::error_code EC = sys::fs::status(entry.VPath, Stat)) {
191 return EC;
200 if (std::error_code EC =
204 return EC;
209 if (std::error_code EC =
213 return EC;
219 if (std::error_code EC = sys::fs::copy_file(entry.VPath, entry.RPath)) {
221 return EC;
226 if (std::error_code EC = sys::fs::setPermissions(entry.RPath, *perms)) {
228 return EC;
245 std::error_code EC;
246 raw_fd_ostream os(MappingFile, EC, sys::fs::OF_TextWithCRLF);
247 if (EC)
248 return EC;
279 std::error_code &EC) override {
280 return Collector->addDirectoryImpl(Dir, FS, EC);
285 auto EC = FS->getRealPath(Path, Output);
286 if (!EC) {
291 return EC;