Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/android/system/
DStructTimespecTest.java19 import android.system.StructTimespec;
28 StructTimespec val = new StructTimespec(Long.MIN_VALUE, 0); in testConstructor()
32 val = new StructTimespec(-23, 23); in testConstructor()
36 val = new StructTimespec(0, 42); in testConstructor()
40 val = new StructTimespec(23, 91); in testConstructor()
44 val = new StructTimespec(Long.MAX_VALUE, 999_999_999); in testConstructor()
51 new StructTimespec(0, 1_000_000_000); in testConstructorInvalidNsec()
58 new StructTimespec(0, -1); in testConstructorInvalidNsec()
66 StructTimespec[] specs = new StructTimespec[]{new StructTimespec(Long.MIN_VALUE, 0), in testCompare()
67 new StructTimespec(-24, 91), in testCompare()
[all …]
DOsTest.java29 import android.system.StructTimespec;
1795 /*st_atim*/ new StructTimespec(0L, 0L), /*st_mtim*/ new StructTimespec(0L, 0L),
1796 /*st_ctim*/ new StructTimespec(0L, 0L), /*st_blksize*/ 4096L, /*st_blocks*/ 1L);
/libcore/luni/src/main/java/android/system/
DStructStat.java60 public final StructTimespec st_atim;
66 public final StructTimespec st_mtim;
72 public final StructTimespec st_ctim;
90 … st_rdev, st_size, new StructTimespec(st_atime, 0L), new StructTimespec(st_mtime, 0L), in StructStat()
91 new StructTimespec(st_ctime, 0L), st_blksize, st_blocks); in StructStat()
98 long st_rdev, long st_size, StructTimespec st_atim, StructTimespec st_mtim, in StructStat()
99 StructTimespec st_ctim, long st_blksize, long st_blocks) { in StructStat()
DStructTimespec.java24 public final class StructTimespec implements Comparable<StructTimespec> { class
31 public StructTimespec(long tv_sec, long tv_nsec) { in StructTimespec() method in StructTimespec
41 public int compareTo(StructTimespec other) { in compareTo()
62 StructTimespec that = (StructTimespec) o; in equals()
/libcore/
Dnon_openjdk_java_files.bp164 "luni/src/main/java/android/system/StructTimespec.java",
/libcore/api/
Dcurrent.txt699 … int, int, long, long, android.system.StructTimespec, android.system.StructTimespec, android.syste…
700 field public final android.system.StructTimespec st_atim;
704 field public final android.system.StructTimespec st_ctim;
710 field public final android.system.StructTimespec st_mtim;
733 public final class StructTimespec implements java.lang.Comparable<android.system.StructTimespec> {
734 ctor public StructTimespec(long, long);
735 method public int compareTo(android.system.StructTimespec);