/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | FileInfoTest.groovy | 21 * Tests for FileInfo 33 private FileInfo fileInfoFile 34 private FileInfo fileInfoDirectory 61 assert fileInfoFile.equals(FileInfo.forFile(NAME, SIZE, LAST_MODIFIED)) 62 assert fileInfoFile.equals(FileInfo.forFile(NAME, SIZE, new Date())) // lastModified ignored 64 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 …]
|
D | AbstractFileSystemTest.groovy | 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)
|
D | DefaultFileSystemTest.groovy | 101 FileInfo fileInfo1 = FileInfo.forFile(FILENAME1, 0, DATE) 103 FileInfo fileInfo2 = FileInfo.forFile(FILENAME2, 0, DATE)
|
/external/libchrome/base/files/ |
D | file_enumerator_posix.cc | 20 FileEnumerator::FileInfo::FileInfo() { in FileInfo() function in base::FileEnumerator::FileInfo 24 bool FileEnumerator::FileInfo::IsDirectory() const { in IsDirectory() 28 FilePath FileEnumerator::FileInfo::GetName() const { in GetName() 32 int64_t FileEnumerator::FileInfo::GetSize() const { in GetSize() 36 base::Time FileEnumerator::FileInfo::GetLastModifiedTime() const { in GetLastModifiedTime() 88 std::vector<FileInfo> entries; in Next() 94 for (std::vector<FileInfo>::const_iterator i = entries.begin(); in Next() 117 FileEnumerator::FileInfo FileEnumerator::GetInfo() const { in GetInfo() 121 bool FileEnumerator::ReadDirectory(std::vector<FileInfo>* entries, in ReadDirectory() 137 FileInfo info; in ReadDirectory()
|
D | file_enumerator.h | 43 class BASE_EXPORT FileInfo { 45 FileInfo(); 46 ~FileInfo(); 124 FileInfo GetInfo() const; 138 static bool ReadDirectory(std::vector<FileInfo>* entries, 142 std::vector<FileInfo> directory_entries_;
|
D | file_enumerator.cc | 11 FileEnumerator::FileInfo::~FileInfo() { in ~FileInfo()
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/filesystem/ |
D | FileInfo.groovy | 25 class FileInfo { 36 * @return a new FileInfo instance representing a directory 38 static FileInfo forDirectory(String name, Date lastModified) { 39 return new FileInfo(true, name, 0, lastModified) 47 * @return a new FileInfo instance representing a directory 49 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}]"
|
D | AbstractFakeFileSystem.groovy | 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 empty 279 * Build a FileInfo based on the file or directory specified by the path 282 protected FileInfo buildFileInfoForPath(String path) { 287 ? FileInfo.forDirectory(name, entry.lastModified) \ 288 : FileInfo.forFile(name, ((FileEntry)entry).getSize(), entry.lastModified)
|
D | DefaultFileSystem.groovy | 160 * Build a FileInfo based on the file or directory represented by the File object 163 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()))
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | ANTLRFileStream.cs | 39 using FileInfo = System.IO.FileInfo; typedef 109 FileInfo f = new FileInfo(fileName); in Load() 140 private long GetFileLength(FileInfo file) in GetFileLength()
|
/external/clang/lib/Lex/ |
D | HeaderSearch.cpp | 81 fprintf(stderr, "%d files tracked.\n", (int)FileInfo.size()); in PrintStats() 83 for (unsigned i = 0, e = FileInfo.size(); i != e; ++i) { in PrintStats() 84 NumOnceOnlyFiles += FileInfo[i].isImport; in PrintStats() 85 if (MaxNumIncludes < FileInfo[i].NumIncludes) in PrintStats() 86 MaxNumIncludes = FileInfo[i].NumIncludes; in PrintStats() 87 NumSingleIncludedFiles += FileInfo[i].NumIncludes == 1; in PrintStats() 953 if (FE->getUID() >= FileInfo.size()) in getFileInfo() 954 FileInfo.resize(FE->getUID() + 1); in getFileInfo() 956 HeaderFileInfo *HFI = &FileInfo[FE->getUID()]; in getFileInfo() 962 HFI = &FileInfo[FE->getUID()]; in getFileInfo() [all …]
|
/external/llvm/lib/IR/ |
D | GCOV.cpp | 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 …]
|
/external/protobuf/src/google/protobuf/compiler/ |
D | zip_writer.h | 80 struct FileInfo { struct 88 vector<FileInfo> files_; argument
|
D | zip_writer.cc | 140 FileInfo info; in Write()
|
/external/nanopb-c/examples/network_server/ |
D | fileproto.proto | 9 message FileInfo { message 16 repeated FileInfo file = 2;
|
D | fileproto.options | 13 FileInfo.name max_size:128
|
D | client.c | 28 FileInfo fileinfo; in printfile_callback()
|
D | server.c | 30 FileInfo fileinfo; in listdir_callback()
|
/external/llvm/include/llvm/Support/ |
D | GCOV.h | 30 class FileInfo; variable 241 void collectLineCounts(FileInfo &FI); 283 void collectLineCounts(FileInfo &FI); 352 void collectLineCounts(FileInfo &FI); 364 class FileInfo { 398 FileInfo(const GCOV::Options &Options) in FileInfo() function
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/command/ |
D | ListCommandHandler.groovy | 23 import org.mockftpserver.fake.filesystem.FileInfo 63 * entry represented by the specified FileInfo. 66 protected String directoryListing(FileInfo fileInfo) {
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/command/ |
D | ListCommandHandlerTest.groovy | 28 import org.mockftpserver.fake.filesystem.FileInfo 102 def fileInfo = FileInfo.forFile(NAME, SIZE, LAST_MODIFIED) 110 def fileInfo = FileInfo.forDirectory(NAME, LAST_MODIFIED)
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 298 const SrcMgr::FileInfo &FileInfo = Entry.getFile(); in AddLineNote() local 301 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives(); in AddLineNote() 326 const SrcMgr::FileInfo &FileInfo = Entry.getFile(); in AddLineNote() local 329 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives(); in AddLineNote() 470 FileInfo::get(SourceLocation(), in loadSLocEntry() 569 FileInfo::get(IncludePos, File, FileCharacter)); in createFileID() 574 FileInfo::get(IncludePos, File, in createFileID() 1412 const SrcMgr::FileInfo &FI = SEntry.getFile(); in getFileCharacteristic() 1461 const SrcMgr::FileInfo &FI = Entry.getFile(); in getPresumedLoc() 1531 const SrcMgr::FileInfo &FI = Entry.getFile(); in isInMainFile()
|
/external/clang/include/clang/Lex/ |
D | HeaderSearch.h | 178 mutable std::vector<HeaderFileInfo> FileInfo; variable 333 FileInfo.clear(); in ClearFileInfo() 596 unsigned header_file_size() const { return FileInfo.size(); } in header_file_size()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 243 class FileInfo { 265 static FileInfo get(SourceLocation IL, const ContentCache *Con, in get() 267 FileInfo X; in get() 400 FileInfo File; 409 const FileInfo &getFile() const { in getFile() 419 static SLocEntry get(unsigned Offset, const FileInfo &FI) { in get() 966 const_cast<SrcMgr::FileInfo &>(Entry.getFile()).NumCreatedFIDs = NumFIDs; in setNumCreatedFIDsForFileID()
|
/external/clang/tools/libclang/ |
D | CIndexInclusionStack.cpp | 56 const SrcMgr::FileInfo &FI = SL.getFile(); in clang_getInclusions()
|