HomeSort by relevance Sort by last modified time
    Searched full:nsec (Results 26 - 50 of 594) sorted by null

12 3 4 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/src/syscall/
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
syscall_linux_amd64.go 86 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
88 func NsecToTimespec(nsec int64) (ts Timespec) {
89 ts.Sec = nsec / 1e9
90 ts.Nsec = nsec % 1e9
96 func NsecToTimeval(nsec int64) (tv Timeval) {
97 nsec += 999 // round up to microsecond
98 tv.Sec = nsec / 1e9
99 tv.Usec = nsec % 1e9 / 1e3
syscall_linux_arm64.go 73 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
75 func NsecToTimespec(nsec int64) (ts Timespec) {
76 ts.Sec = nsec / 1e9
77 ts.Nsec = nsec % 1e9
83 func NsecToTimeval(nsec int64) (tv Timeval) {
84 nsec += 999 // round up to microsecond
85 tv.Sec = nsec / 1e9
86 tv.Usec = nsec % 1e9 / 1e3
syscall_linux_ppc64x.go 69 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
71 func NsecToTimespec(nsec int64) (ts Timespec) {
72 ts.Sec = nsec / 1e9
73 ts.Nsec = nsec % 1e9
79 func NsecToTimeval(nsec int64) (tv Timeval) {
80 nsec += 999 // round up to microsecond
81 tv.Sec = nsec / 1e9
82 tv.Usec = nsec % 1e9 / 1e3
  /prebuilts/go/linux-x86/src/syscall/
syscall_darwin_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_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_arm.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_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
syscall_linux_amd64.go 86 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
88 func NsecToTimespec(nsec int64) (ts Timespec) {
89 ts.Sec = nsec / 1e9
90 ts.Nsec = nsec % 1e9
96 func NsecToTimeval(nsec int64) (tv Timeval) {
97 nsec += 999 // round up to microsecond
98 tv.Sec = nsec / 1e9
99 tv.Usec = nsec % 1e9 / 1e3
syscall_linux_arm64.go 73 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
75 func NsecToTimespec(nsec int64) (ts Timespec) {
76 ts.Sec = nsec / 1e9
77 ts.Nsec = nsec % 1e9
83 func NsecToTimeval(nsec int64) (tv Timeval) {
84 nsec += 999 // round up to microsecond
85 tv.Sec = nsec / 1e9
86 tv.Usec = nsec % 1e9 / 1e3
  /external/libunwind/tests/
perf-startup 8 printf "\"/bin/true\"\t\t\t\t\t\t: $nsec1 nsec/execution\n"
11 printf "\"LD_PRELOAD=$LIBUNWIND /bin/true\"\t: $nsec2 nsec/execution\n"
14 printf "\"LD_PRELOAD=$LIBUNWIND_PLAT /bin/true\"\t: $nsec3 nsec/execution\n"
18 printf "Overhead of preloading $LIBUNWIND\t: $(($nsec2 - $nsec1)) nsec\n"
19 printf "Overhead of preloading $LIBUNWIND_PLAT\t: $(($nsec3 - $nsec1)) nsec\n"
  /external/tlsdate/src/compat/
clock-hurd.c 49 * @param nsec is the nanoseconds
52 long nsec)
58 time->tp.tv_nsec = nsec;
clock-linux.c 47 * @param nsec is the nanoseconds
50 long nsec)
55 time->tp.tv_nsec = nsec;
  /system/core/include/log/
logger.h 36 int32_t nsec; /* nanoseconds */ member in struct:logger_entry
51 int32_t nsec; /* nanoseconds */ member in struct:logger_entry_v2
62 int32_t nsec; /* nanoseconds */ member in struct:logger_entry_v3
73 uint32_t nsec; /* nanoseconds */ member in struct:logger_entry_v4
108 return (entry.sec == T.entry.sec) && (entry.nsec == T.entry.nsec);
118 && (entry.nsec < T.entry.nsec));
128 && (entry.nsec > T.entry.nsec));
134 uint64_t nsec() const function in struct:log_msg
    [all...]
  /frameworks/av/services/audioflinger/
FastThread.cpp 219 long nsec = newTs.tv_nsec - mOldTs.tv_nsec;
220 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0),
223 if (nsec < 0) {
225 nsec += 1000000000;
236 mMeasuredWarmupTs.tv_nsec += nsec;
242 if (mWarmupNsMin <= nsec && nsec <= mWarmupNsMax) {
243 ALOGV("warmup cycle %d in range: %.03f ms", mWarmupCycles, nsec * 1e-9);
246 ALOGV("warmup cycle %d out of range: %.03f ms", mWarmupCycles, nsec * 1e-9);
258 if (sec > 0 || nsec > mUnderrunNs)
    [all...]
AudioWatchdog.cpp 68 long nsec = newTs.tv_nsec - mOldTs.tv_nsec; local
69 if (nsec < 0) {
71 nsec += 1000000000;
74 // cycleNs is same as sec*1e9 + nsec, but limited to about 4 seconds
75 uint32_t cycleNs = nsec;
84 if ((mLogTs.tv_nsec += nsec) >= 1000000000) {
  /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;
  /prebuilts/go/darwin-x86/src/time/
time.go 44 // nsec specifies a non-negative nanosecond
47 nsec int32
59 return t.sec > u.sec || t.sec == u.sec && t.nsec > u.nsec
64 return t.sec < u.sec || t.sec == u.sec && t.nsec < u.nsec
73 return t.sec == u.sec && t.nsec == u.nsec
151 // time would be represented by sec=-1, nsec=1e9. However, it does
242 return t.sec == 0 && t.nsec ==
    [all...]
  /prebuilts/go/linux-x86/src/time/
time.go 44 // nsec specifies a non-negative nanosecond
47 nsec int32
59 return t.sec > u.sec || t.sec == u.sec && t.nsec > u.nsec
64 return t.sec < u.sec || t.sec == u.sec && t.nsec < u.nsec
73 return t.sec == u.sec && t.nsec == u.nsec
151 // time would be represented by sec=-1, nsec=1e9. However, it does
242 return t.sec == 0 && t.nsec ==
    [all...]

Completed in 381 milliseconds

12 3 4 5 6 7 8 91011>>