Home
last modified time | relevance | path

Searched refs:StructTimespec (Results 1 – 4 of 4) 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 …]
/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.bp26 "luni/src/main/java/android/system/StructTimespec.java",