Home
last modified time | relevance | path

Searched refs:FileInfo (Results 1 – 25 of 93) sorted by relevance

1234

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAssetDir.java9 private SortedVector<FileInfo> mFileInfo;
44 static class FileInfo implements Comparable<FileInfo> { class in AssetDir
49 FileInfo() {} in FileInfo() method in AssetDir.FileInfo
51 FileInfo(String8 path) { // useful for e.g. svect.indexOf in FileInfo() method in AssetDir.FileInfo
56 FileInfo(FileInfo src) { in FileInfo() method in AssetDir.FileInfo
65 void copyMembers(final FileInfo src) { in copyMembers()
95 public boolean isLessThan(FileInfo fileInfo) { in isLessThan()
100 public int compareTo(FileInfo other) { in compareTo()
108 static int findEntry(SortedVector<FileInfo> pVector, in findEntry()
110 FileInfo tmpInfo = new FileInfo(); in findEntry()
[all …]
DCppAssetManager.java32 import org.robolectric.res.android.AssetDir.FileInfo;
1005 final Ref<SortedVector<AssetDir.FileInfo>> pMergedInfo; in openDir()
1023 pMergedInfo = new Ref<>(new SortedVector<AssetDir.FileInfo>()); in openDir()
1109 boolean scanAndMergeDirLocked(Ref<SortedVector<AssetDir.FileInfo>> pMergedInfoRef, in scanAndMergeDirLocked()
1111 SortedVector<AssetDir.FileInfo> pMergedInfo = pMergedInfoRef.get(); in scanAndMergeDirLocked()
1121 SortedVector<AssetDir.FileInfo> pContents = scanDirLocked(path); in scanAndMergeDirLocked()
1147 matchIdx = AssetDir.FileInfo.findEntry(pMergedInfo, match); in scanAndMergeDirLocked()
1180 SortedVector<AssetDir.FileInfo> scanDirLocked(final String8 path) { in scanDirLocked()
1183 SortedVector<AssetDir.FileInfo> pContents = null; in scanDirLocked()
1222 AssetDir.FileInfo info = new AssetDir.FileInfo(); in scanDirLocked()
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileInfoTest.groovy21 * 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 …]
/external/libchrome/base/files/
Dfile_enumerator_posix.cc37 FileEnumerator::FileInfo::FileInfo() { in FileInfo() function in base::FileEnumerator::FileInfo
41 bool FileEnumerator::FileInfo::IsDirectory() const { in IsDirectory()
45 FilePath FileEnumerator::FileInfo::GetName() const { in GetName()
49 int64_t FileEnumerator::FileInfo::GetSize() const { in GetSize()
53 base::Time FileEnumerator::FileInfo::GetLastModifiedTime() const { in GetLastModifiedTime()
124 FileInfo dotdot; in Next()
135 FileInfo info; in Next()
179 FileEnumerator::FileInfo FileEnumerator::GetInfo() const { in GetInfo()
Dfile_enumerator.h43 class BASE_EXPORT FileInfo {
45 FileInfo();
46 ~FileInfo();
137 FileInfo GetInfo() const;
154 std::vector<FileInfo> directory_entries_;
Dfile_enumerator.cc11 FileEnumerator::FileInfo::~FileInfo() = default;
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/filesystem/
DFileInfo.groovy25 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}]"
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DANTLRFileStream.cs39 using FileInfo = System.IO.FileInfo; typedef
109 FileInfo f = new FileInfo(fileName); in Load()
140 private long GetFileLength(FileInfo file) in GetFileLength()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DCachePruning.cpp30 struct FileInfo { struct
37 bool operator<(const FileInfo &Other) const { in operator <() argument
204 std::set<FileInfo> FileInfos; in pruneCache()
245 auto FileInfo = FileInfos.begin(); in pruneCache() local
250 sys::fs::remove(FileInfo->Path); in pruneCache()
252 TotalSize -= FileInfo->Size; in pruneCache()
254 LLVM_DEBUG(dbgs() << " - Remove " << FileInfo->Path << " (size " in pruneCache()
255 << FileInfo->Size << "), new occupancy is " << TotalSize in pruneCache()
257 ++FileInfo; in pruneCache()
288 while (TotalSize > TotalSizeTarget && FileInfo != FileInfos.end()) in pruneCache()
/external/llvm-project/llvm/lib/Support/
DCachePruning.cpp30 struct FileInfo { struct
37 bool operator<(const FileInfo &Other) const { in operator <() argument
204 std::set<FileInfo> FileInfos; in pruneCache()
245 auto FileInfo = FileInfos.begin(); in pruneCache() local
250 sys::fs::remove(FileInfo->Path); in pruneCache()
252 TotalSize -= FileInfo->Size; in pruneCache()
254 LLVM_DEBUG(dbgs() << " - Remove " << FileInfo->Path << " (size " in pruneCache()
255 << FileInfo->Size << "), new occupancy is " << TotalSize in pruneCache()
257 ++FileInfo; in pruneCache()
288 while (TotalSize > TotalSizeTarget && FileInfo != FileInfos.end()) in pruneCache()
/external/llvm-project/llvm/tools/llvm-jitlink/
Dllvm-jitlink-macho.cpp80 auto &FileInfo = S.FileInfos[FileName]; in registerMachOGraphInfo() local
96 if (FileInfo.SectionInfos.count(Sec.getName())) in registerMachOGraphInfo()
121 FileInfo.GOTEntryInfos[TS->getName()] = {Sym->getSymbolContent(), in registerMachOGraphInfo()
132 FileInfo.StubInfos[TS->getName()] = {Sym->getSymbolContent(), in registerMachOGraphInfo()
159 FileInfo.SectionInfos[Sec.getName()] = {SecSize, SecAddr}; in registerMachOGraphInfo()
161 FileInfo.SectionInfos[Sec.getName()] = { in registerMachOGraphInfo()
Dllvm-jitlink-elf.cpp78 auto &FileInfo = S.FileInfos[FileName]; in registerELFGraphInfo() local
94 if (FileInfo.SectionInfos.count(Sec.getName())) in registerELFGraphInfo()
120 FileInfo.GOTEntryInfos[TS->getName()] = {Sym->getSymbolContent(), in registerELFGraphInfo()
131 FileInfo.StubInfos[TS->getName()] = {Sym->getSymbolContent(), in registerELFGraphInfo()
159 FileInfo.SectionInfos[Sec.getName()] = {SecSize, SecAddr}; in registerELFGraphInfo()
161 FileInfo.SectionInfos[Sec.getName()] = { in registerELFGraphInfo()
Dllvm-jitlink.h129 struct FileInfo { struct
136 using FileInfoMap = StringMap<FileInfo>;
138 Expected<FileInfo &> findFileInfo(StringRef FileName);
/external/icing/icing/legacy/index/
Dicing-storage-collection.h51 struct FileInfo { struct
52 FileInfo(IIcingStorage *file_in, bool remove_if_corrupted_in) in FileInfo() function
58 std::vector<FileInfo> files_; argument
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DDbiModuleList.cpp163 BinaryStreamRef FileInfo) { in initialize() argument
166 if (auto EC = initializeFileInfo(FileInfo)) in initialize()
186 Error DbiModuleList::initializeFileInfo(BinaryStreamRef FileInfo) { in initializeFileInfo() argument
187 FileInfoSubstream = FileInfo; in initializeFileInfo()
189 if (FileInfo.getLength() == 0) in initializeFileInfo()
192 BinaryStreamReader FISR(FileInfo); in initializeFileInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DDbiModuleList.cpp163 BinaryStreamRef FileInfo) { in initialize() argument
166 if (auto EC = initializeFileInfo(FileInfo)) in initialize()
186 Error DbiModuleList::initializeFileInfo(BinaryStreamRef FileInfo) { in initializeFileInfo() argument
187 FileInfoSubstream = FileInfo; in initializeFileInfo()
189 if (FileInfo.getLength() == 0) in initializeFileInfo()
192 BinaryStreamReader FISR(FileInfo); in initializeFileInfo()
/external/llvm/lib/IR/
DGCOV.cpp115 void GCOVFile::collectLineCounts(FileInfo &FI) { in collectLineCounts()
357 void GCOVFunction::collectLineCounts(FileInfo &FI) { in collectLineCounts()
399 void GCOVBlock::collectLineCounts(FileInfo &FI) { in collectLineCounts()
541 std::string FileInfo::getCoveragePath(StringRef Filename, in getCoveragePath()
558 FileInfo::openCoveragePath(StringRef CoveragePath) { in openCoveragePath()
573 void FileInfo::print(raw_ostream &InfoOS, StringRef MainFilename, in print()
694 void FileInfo::printFunctionSummary(raw_ostream &OS, in printFunctionSummary()
711 void FileInfo::printBlockInfo(raw_ostream &OS, const GCOVBlock &Block, in printBlockInfo()
721 void FileInfo::printBranchInfo(raw_ostream &OS, const GCOVBlock &Block, in printBranchInfo()
751 void FileInfo::printUncondBranchInfo(raw_ostream &OS, uint32_t &EdgeNo, in printUncondBranchInfo()
[all …]
/external/clang/lib/Lex/
DHeaderSearch.cpp81 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()
955 if (FE->getUID() >= FileInfo.size()) in getFileInfo()
956 FileInfo.resize(FE->getUID() + 1); in getFileInfo()
958 HeaderFileInfo *HFI = &FileInfo[FE->getUID()]; in getFileInfo()
964 HFI = &FileInfo[FE->getUID()]; in getFileInfo()
[all …]
/external/llvm-project/clang/lib/Lex/
DHeaderSearch.cpp91 << FileInfo.size() << " files tracked.\n"; in PrintStats()
93 for (unsigned i = 0, e = FileInfo.size(); i != e; ++i) { in PrintStats()
94 NumOnceOnlyFiles += FileInfo[i].isImport; in PrintStats()
95 if (MaxNumIncludes < FileInfo[i].NumIncludes) in PrintStats()
96 MaxNumIncludes = FileInfo[i].NumIncludes; in PrintStats()
97 NumSingleIncludedFiles += FileInfo[i].NumIncludes == 1; in PrintStats()
1184 if (FE->getUID() >= FileInfo.size()) in getFileInfo()
1185 FileInfo.resize(FE->getUID() + 1); in getFileInfo()
1187 HeaderFileInfo *HFI = &FileInfo[FE->getUID()]; in getFileInfo()
1212 if (FE->getUID() >= FileInfo.size()) { in getExistingFileInfo()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DGCOV.cpp119 void GCOVFile::collectLineCounts(FileInfo &FI) { in collectLineCounts()
365 void GCOVFunction::collectLineCounts(FileInfo &FI) { in collectLineCounts()
407 void GCOVBlock::collectLineCounts(FileInfo &FI) { in collectLineCounts()
678 std::string FileInfo::getCoveragePath(StringRef Filename, in getCoveragePath()
703 FileInfo::openCoveragePath(StringRef CoveragePath) { in openCoveragePath()
718 void FileInfo::print(raw_ostream &InfoOS, StringRef MainFilename, in print()
834 void FileInfo::printFunctionSummary(raw_ostream &OS, in printFunctionSummary()
851 void FileInfo::printBlockInfo(raw_ostream &OS, const GCOVBlock &Block, in printBlockInfo()
861 void FileInfo::printBranchInfo(raw_ostream &OS, const GCOVBlock &Block, in printBranchInfo()
891 void FileInfo::printUncondBranchInfo(raw_ostream &OS, uint32_t &EdgeNo, in printUncondBranchInfo()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dzip_writer.h80 struct FileInfo { struct
88 std::vector<FileInfo> files_; argument
/external/grpc-grpc/third_party/nanopb/examples/network_server/
Dfileproto.proto11 message FileInfo { message
18 repeated FileInfo file = 2;
/external/nanopb-c/examples/network_server/
Dfileproto.proto11 message FileInfo { message
18 repeated FileInfo file = 2;
/external/llvm/include/llvm/Support/
DGCOV.h30 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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DGCOV.h39 class FileInfo; variable
254 void collectLineCounts(FileInfo &FI);
299 void collectLineCounts(FileInfo &FI);
367 void collectLineCounts(FileInfo &FI);
389 class FileInfo {
423 FileInfo(const GCOV::Options &Options) : Options(Options) {} in FileInfo() function

1234