type golang.org/x/sys/unix.Timespec
40 uses
golang.org/x/sys/unix (current package)
syscall_linux.go#L154: func Ppoll(fds []PollFd, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
syscall_linux.go#L162: var ts *Timespec
syscall_linux.go#L164: ts = new(Timespec)
syscall_linux.go#L207: var ts [2]Timespec
syscall_linux.go#L210: err := utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
syscall_linux.go#L219: func UtimesNano(path string, ts []Timespec) error {
syscall_linux.go#L223: func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
syscall_linux.go#L230: return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
syscall_linux.go#L2592: func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
syscall_linux.go#L2596: var mutableTimeout *Timespec
syscall_linux.go#L2598: mutableTimeout = new(Timespec)
syscall_linux_amd64.go#L38: var ts *Timespec
syscall_linux_amd64.go#L40: ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
syscall_linux_amd64.go#L102: func setTimespec(sec, nsec int64) Timespec {
syscall_linux_amd64.go#L103: return Timespec{Sec: sec, Nsec: nsec}
syscall_unix.go#L593: ts := []Timespec{
timestruct.go#L12: func TimespecToNsec(ts Timespec) int64 { return ts.Nano() }
timestruct.go#L15: func NsecToTimespec(nsec int64) Timespec {
timestruct.go#L29: func TimeToTimespec(t time.Time) (Timespec, error) {
timestruct.go#L38: return Timespec{}, ERANGE
timestruct.go#L59: func (ts *Timespec) Unix() (sec int64, nsec int64) {
timestruct.go#L69: func (ts *Timespec) Nano() int64 {
zsyscall_linux.go#L137: func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
zsyscall_linux.go#L205: func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
zsyscall_linux.go#L575: func ClockGetres(clockid int32, res *Timespec) (err error) {
zsyscall_linux.go#L585: func ClockGettime(clockid int32, time *Timespec) (err error) {
zsyscall_linux.go#L595: func ClockSettime(clockid int32, time *Timespec) (err error) {
zsyscall_linux.go#L605: func ClockNanosleep(clockid int32, flags int, request *Timespec, remain *Timespec) (err error) {
zsyscall_linux.go#L1309: func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
zsyscall_linux.go#L1376: func pselect6(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *sigset_argpack) (n int, err error) {
ztypes_linux.go#L22: Interval Timespec
ztypes_linux.go#L23: Value Timespec
ztypes_linux.go#L2586: Ts [3]Timespec
ztypes_linux_amd64.go#L17: type Timespec struct {
ztypes_linux_amd64.go#L96: Atim Timespec
ztypes_linux_amd64.go#L97: Mtim Timespec
ztypes_linux_amd64.go#L98: Ctim Timespec
google.golang.org/grpc/internal/syscall
syscall_linux.go#L37: var ts unix.Timespec