/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | BasicAttributeProvider.java | 25 import java.nio.file.attribute.FileTime; 75 return FileTime.fromMillis(file.getCreationTime()); in get() 77 return FileTime.fromMillis(file.getLastAccessTime()); in get() 79 return FileTime.fromMillis(file.getLastModifiedTime()); in get() 90 file.setCreationTime(checkType(view, attribute, value, FileTime.class).toMillis()); in set() 94 file.setLastAccessTime(checkType(view, attribute, value, FileTime.class).toMillis()); in set() 98 file.setLastModifiedTime(checkType(view, attribute, value, FileTime.class).toMillis()); in set() 151 @NullableDecl FileTime lastModifiedTime, in setTimes() 152 @NullableDecl FileTime lastAccessTime, in setTimes() 153 @NullableDecl FileTime createTime) in setTimes() [all …]
|
D | DosAttributeProvider.java | 28 import java.nio.file.attribute.FileTime; 138 public void setTimes(FileTime lastModifiedTime, FileTime lastAccessTime, FileTime createTime) in setTimes()
|
D | PosixAttributeProvider.java | 29 import java.nio.file.attribute.FileTime; 213 public void setTimes(FileTime lastModifiedTime, FileTime lastAccessTime, FileTime createTime) in setTimes()
|
D | UnixAttributeProvider.java | 24 import java.nio.file.attribute.FileTime; 112 return FileTime.fromMillis(file.getCreationTime()); in get()
|
D | PathURLConnection.java | 38 import java.nio.file.attribute.FileTime; 95 FileTime lastModified = Files.getLastModifiedTime(path); in connect()
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | BasicAttributeProviderTest.java | 26 import java.nio.file.attribute.FileTime; 86 FileTime time = FileTime.fromMillis(0L); in testSet() 107 FileTime time = FileTime.fromMillis(0L); in testSetOnCreate() 124 FileTime time = attrs.creationTime(); in testView() 135 view.setTimes(FileTime.fromMillis(0L), null, null); in testView() 140 assertThat(attrs.lastModifiedTime()).isEqualTo(FileTime.fromMillis(0L)); in testView()
|
D | AbstractJimfsIntegrationTest.java | 29 import java.nio.file.attribute.FileTime; 78 private FileTime accessTime; 79 private FileTime modifiedTime; 94 FileTime t = attrs().lastAccessTime(); in assertAccessTimeChanged() 100 FileTime t = attrs().lastAccessTime(); in assertAccessTimeDidNotChange() 105 FileTime t = attrs().lastModifiedTime(); in assertModifiedTimeChanged() 111 FileTime t = attrs().lastModifiedTime(); in assertModifiedTimeDidNotChange()
|
D | TestAttributeProvider.java | 26 import java.nio.file.attribute.FileTime; 136 @NullableDecl FileTime lastModifiedTime, in setTimes() 137 @NullableDecl FileTime lastAccessTime, in setTimes() 138 @NullableDecl FileTime createTime) in setTimes() 183 public FileTime lastModifiedTime() { in lastModifiedTime() 188 public FileTime lastAccessTime() { in lastAccessTime() 193 public FileTime creationTime() { in creationTime()
|
D | AttributeServiceTest.java | 28 import java.nio.file.attribute.FileTime; 77 assertThat(service.getAttribute(file, "basic:lastModifiedTime")).isInstanceOf(FileTime.class); in testSetInitialAttributes() 132 service.setAttribute(file, "test:lastModifiedTime", FileTime.fromMillis(0), false); in testSetAttribute_forInheritedProvider() 135 .isEqualTo(FileTime.fromMillis(0)); in testSetAttribute_forInheritedProvider() 277 FileTime time = (FileTime) service.getAttribute(file, "basic:creationTime"); in testReadAttributes_asMap()
|
D | DosAttributeProviderTest.java | 29 import java.nio.file.attribute.FileTime; 103 view.setTimes(FileTime.fromMillis(0L), null, null); in testView() 104 assertThat(view.readAttributes().lastModifiedTime()).isEqualTo(FileTime.fromMillis(0L)); in testView()
|
D | JimfsUnixLikeFileSystemTest.java | 86 import java.nio.file.attribute.FileTime; 690 new BasicFileAttribute<>("basic:lastModifiedTime", FileTime.fromMillis(0L))); in testCreateFile_withInitialAttributes_illegalInitialAttribute() 1573 .setTimes(FileTime.fromMillis(100), FileTime.fromMillis(1000), FileTime.fromMillis(10000)); in testCopy_withCopyAttributes() 1575 assertThat(Files.getAttribute(foo, "lastModifiedTime")).isEqualTo(FileTime.fromMillis(100)); in testCopy_withCopyAttributes() 1584 assertThat(attributes.lastModifiedTime()).isEqualTo(FileTime.fromMillis(100)); in testCopy_withCopyAttributes() 1585 assertThat(attributes.lastAccessTime()).isEqualTo(FileTime.fromMillis(1000)); in testCopy_withCopyAttributes() 1586 assertThat(attributes.creationTime()).isEqualTo(FileTime.fromMillis(10000)); in testCopy_withCopyAttributes() 1594 assertThat(attributes.lastModifiedTime()).isNotEqualTo(FileTime.fromMillis(100)); in testCopy_withCopyAttributes() 1595 assertThat(attributes.lastAccessTime()).isNotEqualTo(FileTime.fromMillis(1000)); in testCopy_withCopyAttributes() 1596 assertThat(attributes.creationTime()).isNotEqualTo(FileTime.fromMillis(10000)); in testCopy_withCopyAttributes() [all …]
|
D | UnixAttributeProviderTest.java | 24 import java.nio.file.attribute.FileTime; 70 assertThat(provider.get(file, "ctime")).isEqualTo(FileTime.fromMillis(file.getCreationTime())); in testInitialAttributes()
|
D | UrlTest.java | 33 import java.nio.file.attribute.FileTime; 79 FileTime lastModified = Files.getLastModifiedTime(path); in headers()
|
D | JimfsFileSystemCloseTest.java | 52 import java.nio.file.attribute.FileTime; 397 Files.setAttribute(file, "lastModifiedTime", FileTime.fromMillis(0)); in testFilesMethodsThrow()
|
/external/turbine/javatests/com/google/turbine/zip/ |
D | ZipTest.java | 33 import java.nio.file.attribute.FileTime; 136 Files.setLastModifiedTime(entry, FileTime.fromMillis(0)); in attributes()
|
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | RawTypes.h | 324 uint64_t FileTime; // Time stamp (Windows FILETIME format). member
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | RawTypes.h | 324 uint64_t FileTime; // Time stamp (Windows FILETIME format). member
|
/external/guava/guava/src/com/google/common/io/ |
D | MoreFiles.java | 51 import java.nio.file.attribute.FileTime; 399 Files.setLastModifiedTime(path, FileTime.fromMillis(System.currentTimeMillis()));
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | MoreFilesTest.java | 40 import java.nio.file.attribute.FileTime; 256 Files.setLastModifiedTime(temp, FileTime.fromMillis(0)); in testTouchTime()
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_stat_time_test.py | 20 FileTime = namedtuple('FileTime', 'st_ctime, st_atime, st_mtime') variable 40 return FileTime(st_ctime=stat.st_ctime,
|
/external/lzma/CPP/7zip/UI/Common/ |
D | OpenArchive.cpp | 123 FILETIME FileTime; member 354 case kpidMTime: if (item.FileTime_Defined) prop = item.FileTime; break; in GetProperty() 1359 pi.FileTime = prop.filetime; in ReadParseItemProps() 1370 pi.FileTime = prop.filetime; in ReadParseItemProps()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/ |
D | Path.inc | 1156 FILETIME FileTime; 1159 if (SystemTimeToFileTime(&SystemTime, &FileTime) == 0 || 1160 SetFileTime(Result, NULL, &FileTime, NULL) == 0) {
|
/external/llvm-project/llvm/lib/Support/Windows/ |
D | Path.inc | 1176 FILETIME FileTime; 1179 if (SystemTimeToFileTime(&SystemTime, &FileTime) == 0 || 1180 SetFileTime(Result, NULL, &FileTime, NULL) == 0) {
|