type golang.org/x/sys/unix.Timespec
36 uses
golang.org/x/sys/unix (current package)
syscall_linux.go#L145: func Ppoll(fds []PollFd, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
syscall_linux.go#L153: var ts *Timespec
syscall_linux.go#L155: ts = new(Timespec)
syscall_linux.go#L198: var ts [2]Timespec
syscall_linux.go#L201: err := utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
syscall_linux.go#L210: func UtimesNano(path string, ts []Timespec) error {
syscall_linux.go#L214: func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
syscall_linux.go#L221: return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
syscall_linux_amd64.go#L39: var ts *Timespec
syscall_linux_amd64.go#L41: ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
syscall_linux_amd64.go#L104: func setTimespec(sec, nsec int64) Timespec {
syscall_linux_amd64.go#L105: return Timespec{Sec: sec, Nsec: nsec}
syscall_unix.go#L574: ts := []Timespec{
timestruct.go#L13: func TimespecToNsec(ts Timespec) int64 { return ts.Nano() }
timestruct.go#L16: func NsecToTimespec(nsec int64) Timespec {
timestruct.go#L30: func TimeToTimespec(t time.Time) (Timespec, error) {
timestruct.go#L39: return Timespec{}, ERANGE
timestruct.go#L60: func (ts *Timespec) Unix() (sec int64, nsec int64) {
timestruct.go#L70: func (ts *Timespec) Nano() int64 {
zsyscall_linux.go#L123: func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
zsyscall_linux.go#L191: func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
zsyscall_linux.go#L551: func ClockGetres(clockid int32, res *Timespec) (err error) {
zsyscall_linux.go#L561: func ClockGettime(clockid int32, time *Timespec) (err error) {
zsyscall_linux.go#L571: func ClockNanosleep(clockid int32, flags int, request *Timespec, remain *Timespec) (err error) {
zsyscall_linux.go#L1282: func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
zsyscall_linux.go#L1359: func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
ztypes_linux.go#L23: Interval Timespec
ztypes_linux.go#L24: Value Timespec
ztypes_linux.go#L2427: Ts [3]Timespec
ztypes_linux_amd64.go#L18: type Timespec struct {
ztypes_linux_amd64.go#L97: Atim Timespec
ztypes_linux_amd64.go#L98: Mtim Timespec
ztypes_linux_amd64.go#L99: Ctim Timespec
google.golang.org/grpc/internal/syscall
syscall_linux.go#L37: var ts unix.Timespec