Home
last modified time | relevance | path

Searched refs:forFile (Results 1 – 15 of 15) 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.cpp302 void CCensorNode::AddItem(bool include, const UString &path, bool recursive, bool forFile, bool for… in AddItem() argument
307 item.ForFile = forFile; in AddItem()
420 bool forFile = true; in AddItem2() local
426 forFile = false; in AddItem2()
428 AddItem(include, path2, recursive, forFile, forFolder, wildcardMatching); in AddItem2()
536 bool forFile = true; in AddItem() local
539 forFile = false; in AddItem()
610 forFile = true; in AddItem()
619 item.ForFile = forFile; in AddItem()
DWildcard.h76 …void AddItem(bool include, const UString &path, bool recursive, bool forFile, bool forDir, bool wi…
/external/lottie/lottie/src/main/java/com/airbnb/lottie/network/
DFileExtension.java26 public static FileExtension forFile(String filename) { in forFile() method in FileExtension
/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/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/
DXmlUtils.java262 static ReaderSupplier forFile(String fileName, Charset charSet) throws IOException { in forFile() method
DTelephonyLookup.java125 ReaderSupplier xmlSupplier = ReaderSupplier.forFile(path, StandardCharsets.UTF_8); in createInstance()
DTimeZoneFinder.java144 ReaderSupplier xmlSupplier = ReaderSupplier.forFile(path, StandardCharsets.UTF_8); in createInstance()
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/command/
DListCommandHandlerTest.groovy102 def fileInfo = FileInfo.forFile(NAME, SIZE, LAST_MODIFIED)