Home
last modified time | relevance | path

Searched defs:Timespec (Results 1 – 25 of 71) sorted by relevance

123

/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DTimespec.cs28 internal struct Timespec struct
30 const long NanosPerSecond = 1000 * 1000 * 1000;
31 const long NanosPerTick = 100;
32 const long TicksPerSecond = NanosPerSecond / NanosPerTick;
34 static readonly NativeMethods Native = NativeMethods.Get();
35 static readonly DateTime UnixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc);
37 public Timespec(long tv_sec, int tv_nsec) : this(tv_sec, tv_nsec, ClockType.Realtime) in Timespec() argument
41 public Timespec(long tv_sec, int tv_nsec, ClockType clock_type) in Timespec() method
48 private long tv_sec;
49 private int tv_nsec;
[all …]
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dtimestruct.go13 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
Dsyscall_bsd.go411 func Kevent(kq int, changes, events []Kevent_t, timeout *Timespec) (n int, err error) {
533 func UtimesNano(path string, ts []Timespec) error {
562 func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
Dsyscall_darwin.go261 func setattrlistTimes(path string, times []Timespec, flags int) error {
292 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) error {
Dzsyscall_linux_s390x.go78 func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
146 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
420 func ClockGettime(clockid int32, time *Timespec) (err error) {
937 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
998 func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, e…
Dzsyscall_linux_386.go78 func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
146 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
420 func ClockGettime(clockid int32, time *Timespec) (err error) {
937 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
998 func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, e…
Dzsyscall_netbsd_arm.go206 …ange unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err…
973 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
1428 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
Dzsyscall_netbsd_amd64.go206 …ange unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err…
973 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
1428 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
Dzsyscall_netbsd_386.go206 …ange unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err…
973 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
1428 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
Dzsyscall_linux_mipsle.go78 func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
146 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
420 func ClockGettime(clockid int32, time *Timespec) (err error) {
937 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
998 func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, e…
Dzsyscall_linux_mips64le.go78 func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
146 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
420 func ClockGettime(clockid int32, time *Timespec) (err error) {
937 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
998 func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, e…
Dzsyscall_linux_ppc64.go78 func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
146 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
420 func ClockGettime(clockid int32, time *Timespec) (err error) {
937 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
998 func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, e…
Dzsyscall_linux_ppc64le.go78 func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
146 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
420 func ClockGettime(clockid int32, time *Timespec) (err error) {
937 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
998 func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, e…
Dzsyscall_linux_sparc64.go78 func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
146 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
420 func ClockGettime(clockid int32, time *Timespec) (err error) {
952 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
1013 func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, e…
Dzsyscall_linux_arm.go78 func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
146 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
420 func ClockGettime(clockid int32, time *Timespec) (err error) {
937 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
998 func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, e…
Dzsyscall_linux_mips64.go78 func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
146 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
420 func ClockGettime(clockid int32, time *Timespec) (err error) {
937 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
998 func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, e…
Dzsyscall_linux_amd64.go78 func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
146 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
420 func ClockGettime(clockid int32, time *Timespec) (err error) {
937 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
998 func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, e…
Dzsyscall_linux_arm64.go78 func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
146 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
420 func ClockGettime(clockid int32, time *Timespec) (err error) {
937 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
998 func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, e…
Dzsyscall_linux_mips.go78 func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
146 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
420 func ClockGettime(clockid int32, time *Timespec) (err error) {
937 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
998 func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, e…
Dsyscall_netbsd.go132 func setattrlistTimes(path string, times []Timespec, flags int) error {
Dsyscall_dragonfly.go130 func setattrlistTimes(path string, times []Timespec, flags int) error {
Dsyscall_solaris.go293 func UtimesNano(path string, ts []Timespec) error {
303 func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
Dsyscall_openbsd.go100 func setattrlistTimes(path string, times []Timespec, flags int) error {
Dzsyscall_openbsd_386.go206 …ange unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err…
982 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
1497 func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_time.py99 class Timespec(ctypes.Structure): class

123