Home
last modified time | relevance | path

Searched refs:FileStatus (Results 1 – 18 of 18) sorted by relevance

/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/io/
DFileMatchers.java69 public static interface FileStatus {
73 public static final FileStatus CAN_WRITE = new FileStatus() {
76 public static final FileStatus CAN_READ = new FileStatus() {
80 public static final FileStatus IS_FILE = new FileStatus() {
84 public static final FileStatus IS_DIRECTORY = new FileStatus() {
88 public static final FileStatus EXISTS = new FileStatus() {
92 …private static Matcher<File> fileChecker(final FileStatus fileStatus, final String successDescript…
/external/llvm/lib/Support/
DCachePruning.cpp56 sys::fs::file_status FileStatus; in prune() local
58 if (auto EC = sys::fs::status(TimestampFile, FileStatus)) { in prune()
70 sys::TimeValue TimeStampModTime = FileStatus.getLastModificationTime(); in prune()
96 TotalSize += FileStatus.getSize(); in prune()
98 std::make_pair(FileStatus.getSize(), std::string(Path))); in prune()
115 if (sys::fs::status(File->path(), FileStatus)) { in prune()
121 sys::TimeValue FileAccessTime = FileStatus.getLastAccessedTime(); in prune()
DPath.cpp967 file_status FileStatus; in is_other() local
968 if (std::error_code EC = status(Path, FileStatus)) in is_other()
970 Result = is_other(FileStatus); in is_other()
/external/zstd/contrib/pzstd/
DPzstd.cpp343 enum class FileStatus { Continue, Done, Error }; enum
345 FileStatus fileStatus(FILE* fd) { in fileStatus()
347 return FileStatus::Done; in fileStatus()
349 return FileStatus::Error; in fileStatus()
351 return FileStatus::Continue; in fileStatus()
360 static FileStatus
370 if (status != FileStatus::Continue) { in readData()
374 return FileStatus::Continue; in readData()
392 auto status = FileStatus::Continue; in asyncCompressChunks()
393 while (status == FileStatus::Continue && !state.errorHolder.hasError()) { in asyncCompressChunks()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DCachePruning.cpp171 sys::fs::file_status FileStatus; in pruneCache() local
173 if (auto EC = sys::fs::status(TimestampFile, FileStatus)) { in pruneCache()
187 const auto TimeStampModTime = FileStatus.getLastModificationTime(); in pruneCache()
DPath.cpp1106 file_status FileStatus; in is_other() local
1107 if (std::error_code EC = status(Path, FileStatus)) in is_other()
1109 Result = is_other(FileStatus); in is_other()
/external/llvm-project/llvm/lib/Support/
DCachePruning.cpp171 sys::fs::file_status FileStatus; in pruneCache() local
173 if (auto EC = sys::fs::status(TimestampFile, FileStatus)) { in pruneCache()
187 const auto TimeStampModTime = FileStatus.getLastModificationTime(); in pruneCache()
DPath.cpp1133 file_status FileStatus; in is_other() local
1134 if (std::error_code EC = status(Path, FileStatus)) in is_other()
1136 Result = is_other(FileStatus); in is_other()
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyOptions.cpp345 llvm::ErrorOr<llvm::vfs::Status> FileStatus = FS->status(ConfigFile); in tryReadConfigFile() local
347 if (!FileStatus || !FileStatus->isRegularFile()) in tryReadConfigFile()
/external/llvm-project/clang-tools-extra/clangd/
DTUScheduler.h117 FileStatus render(PathRef File) const;
DProtocol.h518 bool FileStatus = false; member
1484 struct FileStatus { struct
1492 llvm::json::Value toJSON(const FileStatus &); argument
DTUScheduler.cpp1218 FileStatus TUStatus::render(PathRef File) const { in render()
1219 FileStatus FStatus; in render()
DProtocol.cpp1034 llvm::json::Value toJSON(const FileStatus &FStatus) { in toJSON()
1137 O.mapOptional("clangdFileStatus", Opts.FileStatus); in fromJSON()
DClangdLSPServer.cpp539 SupportFileStatus = Params.initializationOptions.FileStatus; in onInitialize()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp969 file_status FileStatus; in is_other() local
970 if (std::error_code EC = status(Path, FileStatus)) in is_other()
972 Result = is_other(FileStatus); in is_other()
/external/llvm-project/clang/lib/Frontend/
DASTUnit.cpp169 auto FileStatus = VFS->status(FilePath); in getBufferForFileHandlingRemapping() local
170 if (FileStatus) { in getBufferForFileHandlingRemapping()
171 llvm::sys::fs::UniqueID MainFileID = FileStatus->getUniqueID(); in getBufferForFileHandlingRemapping()
/external/llvm-project/clang/lib/Driver/
DDriver.cpp1225 fs::file_status FileStatus; in getCrashDiagnosticFile() local
1235 if (fs::status(File->path(), FileStatus)) in getCrashDiagnosticFile()
1276 const auto FileAccessTime = FileStatus.getLastModificationTime(); in getCrashDiagnosticFile()
/external/llvm-project/clang/lib/Sema/
DSemaCodeComplete.cpp9300 if (auto FileStatus = FS.status(It->path())) in CodeCompleteIncludedFile() local
9301 Type = FileStatus->getType(); in CodeCompleteIncludedFile()