Home
last modified time | relevance | path

Searched refs:ctime (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/test/java/util/zip/
DTestExtraTime.java103 static void test(FileTime mtime, FileTime atime, FileTime ctime, in test() argument
108 test0(mtime, null, ctime, null, extra); in test()
109 test0(mtime, atime, ctime, null, extra); in test()
111 test0(mtime, null, ctime, tz, extra); in test()
112 test0(mtime, atime, ctime, tz, extra); in test()
115 static void test0(FileTime mtime, FileTime atime, FileTime ctime, in test0() argument
118 mtime, atime, ctime); in test0()
130 if (ctime != null) in test0()
131 ze.setCreationTime(ctime); in test0()
151 check(mtime, atime, ctime, ze, extra); in test0()
[all …]
/libcore/ojluni/src/main/java/java/util/zip/
DZipEntry.java54 FileTime ctime; // creation time, from extra field data field in ZipEntry
157 ctime = e.ctime; in ZipEntry()
427 this.ctime = Objects.requireNonNull(time, "creationTime"); in setCreationTime()
443 return ctime; in getCreationTime()
645 ctime = winTimeToFileTime(wtime); in setExtra0()
664 ctime = unixTimeToFileTime(get32S(extra, off + sz0)); in setExtra0()
DZipOutputStream.java456 if (e.ctime != null) { in writeLOC()
459 uctime = fileTimeToUnixTime(e.ctime); in writeLOC()
492 writeLong(e.ctime == null ? WINDOWS_TIME_NOT_AVAILABLE in writeLOC()
493 : fileTimeToWinTime(e.ctime)); in writeLOC()
502 if (e.ctime != null) in writeLOC()
598 if (e.ctime != null) { in writeCEN()
600 uctime = fileTimeToUnixTime(e.ctime); in writeCEN()
654 writeLong(e.ctime == null ? WINDOWS_TIME_NOT_AVAILABLE in writeCEN()
655 : fileTimeToWinTime(e.ctime)); in writeCEN()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipEntry.java184 java.nio.file.attribute.FileTime ctime; field in ZipEntry
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileAttributes.java120 FileTime ctime() { in ctime() method in UnixFileAttributes
DUnixFileAttributeViews.java362 builder.add(CTIME_NAME, attrs.ctime()); in readAttributes()