Searched refs:FileInfo (Results 1 – 25 of 31) sorted by relevance
12
21 * Tests for FileInfo33 private FileInfo fileInfoFile34 private FileInfo fileInfoDirectory61 assert fileInfoFile.equals(FileInfo.forFile(NAME, SIZE, LAST_MODIFIED))62 assert fileInfoFile.equals(FileInfo.forFile(NAME, SIZE, new Date())) // lastModified ignored64 assert !fileInfoFile.equals(FileInfo.forFile("xyz", SIZE, LAST_MODIFIED))65 assert !fileInfoFile.equals(FileInfo.forFile(NAME, 999L, LAST_MODIFIED))75 assert fileInfoFile.hashCode() == FileInfo.forFile(NAME, SIZE, LAST_MODIFIED).hashCode()76 …assert fileInfoFile.hashCode() == FileInfo.forFile(NAME, SIZE, new Date()).hashCode() // lastModi…78 assert fileInfoFile.hashCode() != FileInfo.forFile("xyz", SIZE, LAST_MODIFIED).hashCode()[all …]
250 FileInfo fileInfo1 = FileInfo.forFile(FILENAME1, 0, DATE)257 FileInfo fileInfo2 = FileInfo.forFile(FILENAME2, 0, DATE)265 fileInfo1 = FileInfo.forFile(FILENAME1, CONTENTS.length, DATE)269 FileInfo fileInfo3 = FileInfo.forDirectory(DIR1, DATE)
101 FileInfo fileInfo1 = FileInfo.forFile(FILENAME1, 0, DATE)103 FileInfo fileInfo2 = FileInfo.forFile(FILENAME2, 0, DATE)
25 class FileInfo {36 * @return a new FileInfo instance representing a directory38 static FileInfo forDirectory(String name, Date lastModified) {39 return new FileInfo(true, name, 0, lastModified)47 * @return a new FileInfo instance representing a directory49 static FileInfo forFile(String name, long size, Date lastModified) {50 return new FileInfo(false, name, size, lastModified)53 private FileInfo(boolean directory, String name, long size, Date lastModified) {85 "FileInfo[isDirectory=$directory name=$name size=$size lastModified=${lastModified}]"
249 * Return the List of FileInfo objects for the files in the specified directory 251 * a single FileInfo object representing that file. If the path does not refer 255 * @return the List of FileInfo objects for the specified directory or file; may be empty279 * Build a FileInfo based on the file or directory specified by the path282 protected FileInfo buildFileInfoForPath(String path) {287 ? FileInfo.forDirectory(name, entry.lastModified) \288 : FileInfo.forFile(name, ((FileEntry)entry).getSize(), entry.lastModified)
160 * Build a FileInfo based on the file or directory represented by the File object163 private FileInfo buildFileInfoForFile(File file) {165 ? FileInfo.forDirectory(file.getName(), new Date(file.lastModified())) \166 : FileInfo.forFile(file.getName(), file.length(), new Date(file.lastModified()))
74 * Return the List of FileInfo objects for the files in the specified directory path. If the78 * @return the List of FileInfo objects for all files in the specified directory may be empty
39 using FileInfo = System.IO.FileInfo; typedef109 FileInfo f = new FileInfo(fileName); in Load()140 private long GetFileLength(FileInfo file) in GetFileLength()
74 fprintf(stderr, "%d files tracked.\n", (int)FileInfo.size()); in PrintStats()76 for (unsigned i = 0, e = FileInfo.size(); i != e; ++i) { in PrintStats()77 NumOnceOnlyFiles += FileInfo[i].isImport; in PrintStats()78 if (MaxNumIncludes < FileInfo[i].NumIncludes) in PrintStats()79 MaxNumIncludes = FileInfo[i].NumIncludes; in PrintStats()80 NumSingleIncludedFiles += FileInfo[i].NumIncludes == 1; in PrintStats()972 if (FE->getUID() >= FileInfo.size()) in getFileInfo()973 FileInfo.resize(FE->getUID()+1); in getFileInfo()975 HeaderFileInfo &HFI = FileInfo[FE->getUID()]; in getFileInfo()983 if (FE->getUID() >= FileInfo.size()) in tryGetFileInfo()[all …]
114 void GCOVFile::collectLineCounts(FileInfo &FI) { in collectLineCounts()352 void GCOVFunction::collectLineCounts(FileInfo &FI) { in collectLineCounts()394 void GCOVBlock::collectLineCounts(FileInfo &FI) { in collectLineCounts()536 std::string FileInfo::getCoveragePath(StringRef Filename, in getCoveragePath()553 FileInfo::openCoveragePath(StringRef CoveragePath) { in openCoveragePath()568 void FileInfo::print(raw_ostream &InfoOS, StringRef MainFilename, in print()690 void FileInfo::printFunctionSummary(raw_ostream &OS, in printFunctionSummary()707 void FileInfo::printBlockInfo(raw_ostream &OS, const GCOVBlock &Block, in printBlockInfo()717 void FileInfo::printBranchInfo(raw_ostream &OS, const GCOVBlock &Block, in printBranchInfo()747 void FileInfo::printUncondBranchInfo(raw_ostream &OS, uint32_t &EdgeNo, in printUncondBranchInfo()[all …]
80 struct FileInfo { struct88 vector<FileInfo> files_; argument
140 FileInfo info; in Write()
9 message FileInfo { message16 repeated FileInfo file = 2;
13 FileInfo.name max_size:128
28 FileInfo fileinfo; in printfile_callback()
30 FileInfo fileinfo; in listdir_callback()
30 class FileInfo; variable236 void collectLineCounts(FileInfo &FI);278 void collectLineCounts(FileInfo &FI);347 void collectLineCounts(FileInfo &FI);359 class FileInfo {393 FileInfo(const GCOVOptions &Options) in FileInfo() function
23 import org.mockftpserver.fake.filesystem.FileInfo63 * entry represented by the specified FileInfo.66 protected String directoryListing(FileInfo fileInfo) {
28 import org.mockftpserver.fake.filesystem.FileInfo102 def fileInfo = FileInfo.forFile(NAME, SIZE, LAST_MODIFIED)110 def fileInfo = FileInfo.forDirectory(NAME, LAST_MODIFIED)
300 const SrcMgr::FileInfo &FileInfo = Entry.getFile(); in AddLineNote() local303 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives(); in AddLineNote()330 const SrcMgr::FileInfo &FileInfo = Entry.getFile(); in AddLineNote() local333 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives(); in AddLineNote()474 FileInfo::get(SourceLocation(), in loadSLocEntry()571 FileInfo::get(IncludePos, File, FileCharacter)); in createFileID()576 FileInfo::get(IncludePos, File, in createFileID()1404 const SrcMgr::FileInfo &FI = SEntry.getFile(); in getFileCharacteristic()1453 const SrcMgr::FileInfo &FI = Entry.getFile(); in getPresumedLoc()1523 const SrcMgr::FileInfo &FI = Entry.getFile(); in isInMainFile()
190 std::vector<HeaderFileInfo> FileInfo; variable344 FileInfo.clear(); in ClearFileInfo()587 unsigned header_file_size() const { return FileInfo.size(); } in header_file_size()
237 class FileInfo {259 static FileInfo get(SourceLocation IL, const ContentCache *Con, in get()261 FileInfo X; in get()393 FileInfo File;402 const FileInfo &getFile() const { in getFile()412 static SLocEntry get(unsigned Offset, const FileInfo &FI) { in get()941 const_cast<SrcMgr::FileInfo &>(Entry.getFile()).NumCreatedFIDs = NumFIDs; in setNumCreatedFIDsForFileID()
56 const SrcMgr::FileInfo &FI = SL.getFile(); in clang_getInclusions()
82 FileInfo FI(Options); in reportCoverage()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...