/external/llvm-project/clang/include/clang/Basic/ |
D | FileEntry.h | 1 //===- clang/Basic/FileEntry.h - File references ----------------*- C++ -*-===// 10 /// Defines interfaces for clang::FileEntry and clang::FileEntryRef. 53 class FileEntry; variable 55 /// A reference to a \c FileEntry that includes the name of the file as it was 60 const FileEntry &getFileEntry() const { in getFileEntry() 61 return *ME->second->V.get<FileEntry *>(); in getFileEntry() 72 /// Check if the underlying FileEntry is the same, intentially ignoring 77 friend bool operator==(const FileEntry *LHS, const FileEntryRef &RHS) { 80 friend bool operator==(const FileEntryRef &LHS, const FileEntry *RHS) { 86 friend bool operator!=(const FileEntry *LHS, const FileEntryRef &RHS) { [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/ |
D | FileEntry.h | 1 //===- FileEntry.h ----------------------------------------------*- C++ -*-===// 21 /// Files in GSYM are contained in FileEntry structs where we split the 25 struct FileEntry { struct 33 FileEntry() = default; argument 34 FileEntry(uint32_t D, uint32_t B) : Dir(D), Base(B) {} in FileEntry() function 36 // Implement operator== so that FileEntry can be used as key in 38 bool operator==(const FileEntry &RHS) const { 41 bool operator!=(const FileEntry &RHS) const { 48 template <> struct DenseMapInfo<gsym::FileEntry> { 49 static inline gsym::FileEntry getEmptyKey() { [all …]
|
/external/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
D | FileEntry.h | 1 //===- FileEntry.h ----------------------------------------------*- C++ -*-===// 21 /// Files in GSYM are contained in FileEntry structs where we split the 25 struct FileEntry { struct 33 FileEntry() = default; argument 34 FileEntry(uint32_t D, uint32_t B) : Dir(D), Base(B) {} in FileEntry() function 36 // Implement operator== so that FileEntry can be used as key in 38 bool operator==(const FileEntry &RHS) const { 41 bool operator!=(const FileEntry &RHS) const { 48 template <> struct DenseMapInfo<gsym::FileEntry> { 49 static inline gsym::FileEntry getEmptyKey() { [all …]
|
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTest.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 41 fileSystem.add(fileEntry) 45 shouldFail { fileEntry.setPath('abc') } 65 fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) 75 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) } 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 95 def fileEntry = new FileEntry(path: 'abc') 97 assert f == fileEntry 101 assert fileSystem.formatDirectoryListing(fileEntry) == 'abc' 106 def fileEntry = new FileEntry('abc') [all …]
|
D | AbstractFileSystemTest.groovy | 99 fileSystem.add(new FileEntry(NEW_FILE)) 103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) } 106 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_DIR + "/abc/def")) } 108 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NO_SUCH_DIR)) } 109 shouldFail(InvalidFilenameException) { fileSystem.add(new FileEntry(ILLEGAL_FILE)) } 111 shouldFailWithMessageContaining("path") { fileSystem.add(new FileEntry(null)) } 126 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME1))) 127 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME2))) 129 fileSystem.add(new FileEntry(p(NEW_DIR, DIR1, "/abc.def"))) 145 fileSystem.add(new FileEntry(p(NEW_DIR, 'abc.txt'))) [all …]
|
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTest.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 41 fileSystem.add(fileEntry) 45 shouldFail { fileEntry.setPath('abc') } 65 fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) 75 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) } 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 95 def fileEntry = new FileEntry(path: 'abc') 97 assert f == fileEntry 101 assert fileSystem.formatDirectoryListing(fileEntry) == 'abc' 106 def fileEntry = new FileEntry('abc') [all …]
|
D | AbstractFileSystemTest.groovy | 99 fileSystem.add(new FileEntry(NEW_FILE)) 103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) } 106 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_DIR + "/abc/def")) } 108 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NO_SUCH_DIR)) } 109 shouldFail(InvalidFilenameException) { fileSystem.add(new FileEntry(ILLEGAL_FILE)) } 111 shouldFailWithMessageContaining("path") { fileSystem.add(new FileEntry(null)) } 126 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME1))) 127 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME2))) 129 fileSystem.add(new FileEntry(p(NEW_DIR, DIR1, "/abc.def"))) 145 fileSystem.add(new FileEntry(p(NEW_DIR, 'abc.txt'))) [all …]
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTestCase.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 41 fileSystem.add(fileEntry) 45 shouldFail { fileEntry.setPath('abc') } 65 fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) 75 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) } 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 95 def fileEntry = new FileEntry(path: 'abc') 97 assert f == fileEntry 101 assert fileSystem.formatDirectoryListing(fileEntry) == 'abc' 106 def fileEntry = new FileEntry('abc') [all …]
|
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTestCase.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 41 fileSystem.add(fileEntry) 45 shouldFail { fileEntry.setPath('abc') } 65 fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) 75 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) } 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 95 def fileEntry = new FileEntry(path: 'abc') 97 assert f == fileEntry 101 assert fileSystem.formatDirectoryListing(fileEntry) == 'abc' 106 def fileEntry = new FileEntry('abc') [all …]
|
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTestCase.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 41 fileSystem.add(fileEntry) 45 shouldFail { fileEntry.setPath('abc') } 65 fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) 75 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) } 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 95 def fileEntry = new FileEntry(path: 'abc') 97 assert f == fileEntry 101 assert fileSystem.formatDirectoryListing(fileEntry) == 'abc' 106 def fileEntry = new FileEntry('abc') [all …]
|
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTest.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 41 fileSystem.add(fileEntry) 45 shouldFail { fileEntry.setPath('abc') } 65 fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) 75 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) } 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 95 def fileEntry = new FileEntry(path: 'abc') 97 assert f == fileEntry 101 assert fileSystem.formatDirectoryListing(fileEntry) == 'abc' 106 def fileEntry = new FileEntry('abc') [all …]
|
D | AbstractFileSystemTest.groovy | 99 fileSystem.add(new FileEntry(NEW_FILE)) 103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) } 106 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_DIR + "/abc/def")) } 108 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NO_SUCH_DIR)) } 109 shouldFail(InvalidFilenameException) { fileSystem.add(new FileEntry(ILLEGAL_FILE)) } 111 shouldFailWithMessageContaining("path") { fileSystem.add(new FileEntry(null)) } 126 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME1))) 127 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME2))) 129 fileSystem.add(new FileEntry(p(NEW_DIR, DIR1, "/abc.def"))) 145 fileSystem.add(new FileEntry(p(NEW_DIR, 'abc.txt'))) [all …]
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTest.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 41 fileSystem.add(fileEntry) 45 shouldFail { fileEntry.setPath('abc') } 65 fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) 75 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) } 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 95 def fileEntry = new FileEntry(path: 'abc') 97 assert f == fileEntry 101 assert fileSystem.formatDirectoryListing(fileEntry) == 'abc' 106 def fileEntry = new FileEntry('abc') [all …]
|
D | AbstractFileSystemTest.groovy | 99 fileSystem.add(new FileEntry(NEW_FILE)) 103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) } 106 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_DIR + "/abc/def")) } 108 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NO_SUCH_DIR)) } 109 shouldFail(InvalidFilenameException) { fileSystem.add(new FileEntry(ILLEGAL_FILE)) } 111 shouldFailWithMessageContaining("path") { fileSystem.add(new FileEntry(null)) } 126 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME1))) 127 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME2))) 129 fileSystem.add(new FileEntry(p(NEW_DIR, DIR1, "/abc.def"))) 145 fileSystem.add(new FileEntry(p(NEW_DIR, 'abc.txt'))) [all …]
|
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTestCase.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 41 fileSystem.add(fileEntry) 45 shouldFail { fileEntry.setPath('abc') } 65 fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) 75 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) } 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 95 def fileEntry = new FileEntry(path: 'abc') 97 assert f == fileEntry 101 assert fileSystem.formatDirectoryListing(fileEntry) == 'abc' 106 def fileEntry = new FileEntry('abc') [all …]
|
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTestCase.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 41 fileSystem.add(fileEntry) 45 shouldFail { fileEntry.setPath('abc') } 65 fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) 75 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) } 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 95 def fileEntry = new FileEntry(path: 'abc') 97 assert f == fileEntry 101 assert fileSystem.formatDirectoryListing(fileEntry) == 'abc' 106 def fileEntry = new FileEntry('abc') [all …]
|
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTest.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 41 fileSystem.add(fileEntry) 45 shouldFail { fileEntry.setPath('abc') } 65 fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) 75 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) } 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 95 def fileEntry = new FileEntry(path: 'abc') 97 assert f == fileEntry 101 assert fileSystem.formatDirectoryListing(fileEntry) == 'abc' 106 def fileEntry = new FileEntry('abc') [all …]
|
D | AbstractFileSystemTest.groovy | 99 fileSystem.add(new FileEntry(NEW_FILE)) 103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) } 106 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_DIR + "/abc/def")) } 108 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NO_SUCH_DIR)) } 109 shouldFail(InvalidFilenameException) { fileSystem.add(new FileEntry(ILLEGAL_FILE)) } 111 shouldFailWithMessageContaining("path") { fileSystem.add(new FileEntry(null)) } 126 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME1))) 127 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME2))) 129 fileSystem.add(new FileEntry(p(NEW_DIR, DIR1, "/abc.def"))) 145 fileSystem.add(new FileEntry(p(NEW_DIR, 'abc.txt'))) [all …]
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTest.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 41 fileSystem.add(fileEntry) 45 shouldFail { fileEntry.setPath('abc') } 65 fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) 75 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) } 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 95 def fileEntry = new FileEntry(path: 'abc') 97 assert f == fileEntry 101 assert fileSystem.formatDirectoryListing(fileEntry) == 'abc' 106 def fileEntry = new FileEntry('abc') [all …]
|
D | AbstractFileSystemTest.groovy | 99 fileSystem.add(new FileEntry(NEW_FILE)) 103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) } 106 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_DIR + "/abc/def")) } 108 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NO_SUCH_DIR)) } 109 shouldFail(InvalidFilenameException) { fileSystem.add(new FileEntry(ILLEGAL_FILE)) } 111 shouldFailWithMessageContaining("path") { fileSystem.add(new FileEntry(null)) } 126 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME1))) 127 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME2))) 129 fileSystem.add(new FileEntry(p(NEW_DIR, DIR1, "/abc.def"))) 145 fileSystem.add(new FileEntry(p(NEW_DIR, 'abc.txt'))) [all …]
|
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystemTest.groovy | 40 def fileEntry = new FileEntry(NEW_FILE) 41 fileSystem.add(fileEntry) 45 shouldFail { fileEntry.setPath('abc') } 65 fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) 75 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE_IN_SUBDIR)) } 81 def entries = [new FileEntry(NEW_FILE), new DirectoryEntry(NEW_DIR)] 95 def fileEntry = new FileEntry(path: 'abc') 97 assert f == fileEntry 101 assert fileSystem.formatDirectoryListing(fileEntry) == 'abc' 106 def fileEntry = new FileEntry('abc') [all …]
|
D | AbstractFileSystemTest.groovy | 99 fileSystem.add(new FileEntry(NEW_FILE)) 103 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_FILE)) } 106 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NEW_DIR + "/abc/def")) } 108 shouldFail(FileSystemException) { fileSystem.add(new FileEntry(NO_SUCH_DIR)) } 109 shouldFail(InvalidFilenameException) { fileSystem.add(new FileEntry(ILLEGAL_FILE)) } 111 shouldFailWithMessageContaining("path") { fileSystem.add(new FileEntry(null)) } 126 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME1))) 127 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME2))) 129 fileSystem.add(new FileEntry(p(NEW_DIR, DIR1, "/abc.def"))) 145 fileSystem.add(new FileEntry(p(NEW_DIR, 'abc.txt'))) [all …]
|
/external/clang/include/clang/Basic/ |
D | FileManager.h | 51 /// If the 'File' member is valid, then this FileEntry has an open file 53 class FileEntry { 63 bool IsValid; // Is this \c FileEntry initialized and valid? 65 /// \brief The open file, if it is owned by the \p FileEntry. 69 void operator=(const FileEntry &) = delete; 72 FileEntry() in FileEntry() function 76 // FIXME: this is here to allow putting FileEntry in std::map. Once we have 79 /// \c FileEntry. 80 FileEntry(const FileEntry &FE) : UniqueID(FE.UniqueID), in FileEntry() function 82 assert(!isValid() && "Cannot copy an initialized FileEntry"); in FileEntry() [all …]
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | FileRemapper.cpp | 63 std::vector<std::pair<const FileEntry *, const FileEntry *> > pairs; in initFromFile() 81 llvm::ErrorOr<const FileEntry *> origFE = FileMgr->getFile(fromFilename); in initFromFile() 87 llvm::ErrorOr<const FileEntry *> newFE = FileMgr->getFile(toFilename); in initFromFile() 131 const FileEntry *origFE = I->first; in flushToFile() 137 if (const FileEntry *FE = I->second.dyn_cast<const FileEntry *>()) { in flushToFile() 173 const FileEntry *origFE = I->first; in overwriteOriginal() 198 if (const FileEntry *FE = Mapping.second.dyn_cast<const FileEntry *>()) { in forEachMapping() 211 if (const FileEntry *FE = I->second.dyn_cast<const FileEntry *>()) { in applyMappings() 227 void FileRemapper::remap(const FileEntry *file, in remap() 235 void FileRemapper::remap(const FileEntry *file, const FileEntry *newfile) { in remap() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | FileRemapper.cpp | 64 std::vector<std::pair<const FileEntry *, const FileEntry *> > pairs; in initFromFile() 82 const FileEntry *origFE = FileMgr->getFile(fromFilename); in initFromFile() 88 const FileEntry *newFE = FileMgr->getFile(toFilename); in initFromFile() 132 const FileEntry *origFE = I->first; in flushToFile() 138 if (const FileEntry *FE = I->second.dyn_cast<const FileEntry *>()) { in flushToFile() 156 const FileEntry *newE = FileMgr->getFile(tempPath); in flushToFile() 172 const FileEntry *origFE = I->first; in overwriteOriginal() 195 if (const FileEntry *FE = I->second.dyn_cast<const FileEntry *>()) { in applyMappings() 211 void FileRemapper::remap(const FileEntry *file, in remap() 219 void FileRemapper::remap(const FileEntry *file, const FileEntry *newfile) { in remap() [all …]
|