Home
last modified time | relevance | path

Searched refs:forFile (Results 1 – 11 of 11) sorted by relevance

/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DFileInfoTest.groovy37 * Test the forFile() constructor
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()
79 assert fileInfoFile.hashCode() != FileInfo.forFile(NAME, 33, LAST_MODIFIED).hashCode()
99 fileInfoFile = FileInfo.forFile(NAME, SIZE, LAST_MODIFIED)
DAbstractFileSystemTest.groovy250 FileInfo fileInfo1 = FileInfo.forFile(FILENAME1, 0, DATE)
257 FileInfo fileInfo2 = FileInfo.forFile(FILENAME2, 0, DATE)
265 fileInfo1 = FileInfo.forFile(FILENAME1, CONTENTS.length, DATE)
DDefaultFileSystemTest.groovy101 FileInfo fileInfo1 = FileInfo.forFile(FILENAME1, 0, DATE)
103 FileInfo fileInfo2 = FileInfo.forFile(FILENAME2, 0, DATE)
/external/lzma/CPP/Common/
DWildcard.cpp308 void CCensorNode::AddItem(bool include, const UString &path, bool recursive, bool forFile, bool for… in AddItem() argument
313 item.ForFile = forFile; in AddItem()
426 bool forFile = true; in AddItem2() local
432 forFile = false; in AddItem2()
434 AddItem(include, path2, recursive, forFile, forFolder, wildcardMatching); in AddItem2()
542 bool forFile = true; in AddItem() local
545 forFile = false; in AddItem()
616 forFile = true; in AddItem()
625 item.ForFile = forFile; in AddItem()
DWildcard.h76 …void AddItem(bool include, const UString &path, bool recursive, bool forFile, bool forDir, bool wi…
/external/python/cpython3/Mac/BuildScript/
Dseticon.m22 forFile: filePath
/external/python/cpython2/Mac/BuildScript/
Dseticon.m22 forFile: filePath
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/filesystem/
DFileInfo.groovy49 static FileInfo forFile(String name, long size, Date lastModified) {
DDefaultFileSystem.groovy166 : FileInfo.forFile(file.getName(), file.length(), new Date(file.lastModified()))
DAbstractFakeFileSystem.groovy288 : FileInfo.forFile(name, ((FileEntry)entry).getSize(), entry.lastModified)
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/command/
DListCommandHandlerTest.groovy102 def fileInfo = FileInfo.forFile(NAME, SIZE, LAST_MODIFIED)