/prebuilts/go/darwin-x86/src/syscall/ |
syscall_darwin_amd64.go | 11 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } 13 func NsecToTimespec(nsec int64) (ts Timespec) { 14 ts.Sec = nsec / 1e9 15 ts.Nsec = nsec % 1e9 21 func NsecToTimeval(nsec int64) (tv Timeval) { 22 nsec += 999 // round up to microsecond 23 tv.Usec = int32(nsec % 1e9 / 1e3) 24 tv.Sec = int64(nsec / 1e9)
|
syscall_darwin_arm64.go | 11 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } 13 func NsecToTimespec(nsec int64) (ts Timespec) { 14 ts.Sec = nsec / 1e9 15 ts.Nsec = nsec % 1e9 21 func NsecToTimeval(nsec int64) (tv Timeval) { 22 nsec += 999 // round up to microsecond 23 tv.Usec = int32(nsec % 1e9 / 1e3) 24 tv.Sec = int64(nsec / 1e9)
|
syscall_dragonfly_amd64.go | 11 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } 13 func NsecToTimespec(nsec int64) (ts Timespec) { 14 ts.Sec = nsec / 1e9 15 ts.Nsec = nsec % 1e9 21 func NsecToTimeval(nsec int64) (tv Timeval) { 22 nsec += 999 // round up to microsecond 23 tv.Usec = nsec % 1e9 / 1e3 24 tv.Sec = int64(nsec / 1e9)
|
syscall_freebsd_386.go | 11 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } 13 func NsecToTimespec(nsec int64) (ts Timespec) { 14 ts.Sec = int32(nsec / 1e9) 15 ts.Nsec = int32(nsec % 1e9) 21 func NsecToTimeval(nsec int64) (tv Timeval) { 22 nsec += 999 // round up to microsecond 23 tv.Usec = int32(nsec % 1e9 / 1e3) 24 tv.Sec = int32(nsec / 1e9)
|
syscall_freebsd_amd64.go | 11 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } 13 func NsecToTimespec(nsec int64) (ts Timespec) { 14 ts.Sec = nsec / 1e9 15 ts.Nsec = nsec % 1e9 21 func NsecToTimeval(nsec int64) (tv Timeval) { 22 nsec += 999 // round up to microsecond 23 tv.Usec = nsec % 1e9 / 1e3 24 tv.Sec = int64(nsec / 1e9)
|
syscall_freebsd_arm.go | 11 func TimespecToNsec(ts Timespec) int64 { return ts.Sec*1e9 + int64(ts.Nsec) } 13 func NsecToTimespec(nsec int64) (ts Timespec) { 14 ts.Sec = nsec / 1e9 15 ts.Nsec = int32(nsec % 1e9) 21 func NsecToTimeval(nsec int64) (tv Timeval) { 22 nsec += 999 // round up to microsecond 23 tv.Usec = int32(nsec % 1e9 / 1e3) 24 tv.Sec = nsec / 1e9
|
/prebuilts/go/linux-x86/src/syscall/ |
syscall_darwin_amd64.go | 11 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } 13 func NsecToTimespec(nsec int64) (ts Timespec) { 14 ts.Sec = nsec / 1e9 15 ts.Nsec = nsec % 1e9 21 func NsecToTimeval(nsec int64) (tv Timeval) { 22 nsec += 999 // round up to microsecond 23 tv.Usec = int32(nsec % 1e9 / 1e3) 24 tv.Sec = int64(nsec / 1e9)
|
syscall_darwin_arm64.go | 11 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } 13 func NsecToTimespec(nsec int64) (ts Timespec) { 14 ts.Sec = nsec / 1e9 15 ts.Nsec = nsec % 1e9 21 func NsecToTimeval(nsec int64) (tv Timeval) { 22 nsec += 999 // round up to microsecond 23 tv.Usec = int32(nsec % 1e9 / 1e3) 24 tv.Sec = int64(nsec / 1e9)
|
syscall_dragonfly_amd64.go | 11 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } 13 func NsecToTimespec(nsec int64) (ts Timespec) { 14 ts.Sec = nsec / 1e9 15 ts.Nsec = nsec % 1e9 21 func NsecToTimeval(nsec int64) (tv Timeval) { 22 nsec += 999 // round up to microsecond 23 tv.Usec = nsec % 1e9 / 1e3 24 tv.Sec = int64(nsec / 1e9)
|
syscall_freebsd_386.go | 11 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } 13 func NsecToTimespec(nsec int64) (ts Timespec) { 14 ts.Sec = int32(nsec / 1e9) 15 ts.Nsec = int32(nsec % 1e9) 21 func NsecToTimeval(nsec int64) (tv Timeval) { 22 nsec += 999 // round up to microsecond 23 tv.Usec = int32(nsec % 1e9 / 1e3) 24 tv.Sec = int32(nsec / 1e9)
|
syscall_freebsd_amd64.go | 11 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } 13 func NsecToTimespec(nsec int64) (ts Timespec) { 14 ts.Sec = nsec / 1e9 15 ts.Nsec = nsec % 1e9 21 func NsecToTimeval(nsec int64) (tv Timeval) { 22 nsec += 999 // round up to microsecond 23 tv.Usec = nsec % 1e9 / 1e3 24 tv.Sec = int64(nsec / 1e9)
|
syscall_freebsd_arm.go | 11 func TimespecToNsec(ts Timespec) int64 { return ts.Sec*1e9 + int64(ts.Nsec) } 13 func NsecToTimespec(nsec int64) (ts Timespec) { 14 ts.Sec = nsec / 1e9 15 ts.Nsec = int32(nsec % 1e9) 21 func NsecToTimeval(nsec int64) (tv Timeval) { 22 nsec += 999 // round up to microsecond 23 tv.Usec = int32(nsec % 1e9 / 1e3) 24 tv.Sec = nsec / 1e9
|
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
testlib.c | 126 int nsec = (y->tv_usec - x->tv_usec) / 1000000 + 1; local 127 y->tv_usec -= 1000000 * nsec; 128 y->tv_sec += nsec; 132 int nsec = (x->tv_usec - y->tv_usec) / 1000000; local 133 y->tv_usec += 1000000 * nsec; 134 y->tv_sec -= nsec;
|
/development/ndk/platforms/android-3/include/linux/ |
ktime.h | 23 s32 sec, nsec; member in struct:__anon2302::__anon2303 25 s32 nsec, sec;
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/linux/ |
ktime.h | 23 s32 sec, nsec; member in struct:__anon45387::__anon45388 25 s32 nsec, sec;
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/linux/ |
ktime.h | 23 s32 sec, nsec; member in struct:__anon45840::__anon45841 25 s32 nsec, sec;
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/linux/ |
ktime.h | 23 s32 sec, nsec; member in struct:__anon46295::__anon46296 25 s32 nsec, sec;
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/linux/ |
ktime.h | 23 s32 sec, nsec; member in struct:__anon46703::__anon46704 25 s32 nsec, sec;
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/linux/ |
ktime.h | 23 s32 sec, nsec; member in struct:__anon47163::__anon47164 25 s32 nsec, sec;
|
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/linux/ |
ktime.h | 23 s32 sec, nsec; member in struct:__anon47625::__anon47626 25 s32 nsec, sec;
|
/prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/linux/ |
ktime.h | 23 s32 sec, nsec; member in struct:__anon48035::__anon48036 25 s32 nsec, sec;
|
/prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/linux/ |
ktime.h | 23 s32 sec, nsec; member in struct:__anon48497::__anon48498 25 s32 nsec, sec;
|
/prebuilts/ndk/current/platforms/android-14/arch-x86/usr/include/linux/ |
ktime.h | 23 s32 sec, nsec; member in struct:__anon48961::__anon48962 25 s32 nsec, sec;
|
/prebuilts/ndk/current/platforms/android-15/arch-arm/usr/include/linux/ |
ktime.h | 23 s32 sec, nsec; member in struct:__anon49371::__anon49372 25 s32 nsec, sec;
|
/prebuilts/ndk/current/platforms/android-15/arch-mips/usr/include/linux/ |
ktime.h | 23 s32 sec, nsec; member in struct:__anon49833::__anon49834 25 s32 nsec, sec;
|