/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
4-1-buildonly.c | 17 long nsec; local 20 nsec = t.tv_nsec;
|
/external/u-boot/include/linux/ |
delay.h | 17 static inline void ndelay(unsigned long nsec) 19 udelay(DIV_ROUND_UP(nsec, 1000));
|
/frameworks/av/services/audioflinger/ |
FastThread.cpp | 227 long nsec = newTs.tv_nsec - mOldTs.tv_nsec; 228 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0), 231 if (nsec < 0) { 233 nsec += 1000000000; 244 mMeasuredWarmupTs.tv_nsec += nsec; 250 if (mWarmupNsMin <= nsec && nsec <= mWarmupNsMax) { 251 ALOGV("warmup cycle %d in range: %.03f ms", mWarmupCycles, nsec * 1e-9); 254 ALOGV("warmup cycle %d out of range: %.03f ms", mWarmupCycles, nsec * 1e-9); 269 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/syzkaller/vendor/golang.org/x/sys/unix/ |
timestruct.go | 13 func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } 17 func NsecToTimespec(nsec int64) Timespec { 18 sec := nsec / 1e9 19 nsec = nsec % 1e9 20 if nsec < 0 { 21 nsec += 1e9 24 return setTimespec(sec, nsec) 33 nsec := int64(t.Nanosecond()) 34 ts := setTimespec(sec, nsec) [all...] |
syscall_solaris_amd64.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: sec, Nsec: nsec}
|
syscall_netbsd_386.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: sec, Nsec: int32(nsec)}
|
syscall_netbsd_amd64.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: sec, Nsec: nsec}
|
syscall_netbsd_arm.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: sec, Nsec: int32(nsec)}
|
syscall_openbsd_386.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: sec, Nsec: int32(nsec)}
|
syscall_openbsd_arm.go | 9 func setTimespec(sec, nsec int64) Timespec { 10 return Timespec{Sec: sec, Nsec: int32(nsec)}
|
/external/virglrenderer/src/gallium/include/c11/ |
threads.h | 46 long nsec; member in struct:xtime
|
/external/ltp/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ |
ext4_nsec_timestamps_test.sh | 26 export TCID="ext4-nsec-timestamps" 52 atime=`ext4_file_time mnt_point/tmp_file atime nsec` 53 mtime=`ext4_file_time mnt_point/tmp_file mtime nsec` 54 ctime=`ext4_file_time mnt_point/tmp_file ctime nsec` 93 nsec=`echo $cur_time | awk {'print $2'}` 98 nsec_atime=`ext4_file_time mnt_point/tmp_file atime nsec` 99 nsec_mtime=`ext4_file_time mnt_point/tmp_file mtime nsec` 100 nsec_ctime=`ext4_file_time mnt_point/tmp_file ctime nsec` 139 nsec_atime2=`ext4_file_time mnt_point/tmp_file atime nsec` 140 nsec_mtime2=`ext4_file_time mnt_point/tmp_file mtime nsec` [all...] |
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
testlib.c | 127 int nsec = (y->tv_usec - x->tv_usec) / 1000000 + 1; local 128 y->tv_usec -= 1000000 * nsec; 129 y->tv_sec += nsec; 133 int nsec = (x->tv_usec - y->tv_usec) / 1000000; local 134 y->tv_usec += 1000000 * nsec; 135 y->tv_sec -= nsec;
|
/external/strace/tests/ |
print_time.c | 64 print_time_t_nsec(const time_t t, const unsigned long long nsec, int comment) 66 print_time_t_ex(t, nsec, 999999999, 9, comment);
|
/external/strace/tests-m32/ |
print_time.c | 64 print_time_t_nsec(const time_t t, const unsigned long long nsec, int comment) 66 print_time_t_ex(t, nsec, 999999999, 9, comment);
|
/external/strace/tests-mx32/ |
print_time.c | 64 print_time_t_nsec(const time_t t, const unsigned long long nsec, int comment) 66 print_time_t_ex(t, nsec, 999999999, 9, comment);
|
/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
time_utils.cc | 35 int nsec = (interval_ms_ % 1000) * 1000000; local 37 ts.it_value.tv_nsec = nsec; 39 ts.it_interval.tv_nsec = nsec;
|
/frameworks/av/media/libnbaio/ |
MonoPipe.cpp | 131 long nsec = nowTs.tv_nsec - mWriteTs.tv_nsec; local 132 ALOGE_IF(sec < 0 || (sec == 0 && nsec < 0), 135 if (nsec < 0) { 137 nsec += 1000000000; 140 if ((long) ns > nsec) { 141 ns -= nsec;
|
/external/strace/ |
ptp.c | 69 PRINT_FIELD_U(", ", perout.start, nsec); 71 PRINT_FIELD_U(", ", perout.period, nsec); 113 PRINT_FIELD_U(", ", sysoff.ts[i], nsec);
|
statx.h | 35 int32_t nsec; member in struct:__anon39531
|
/dalvik/dx/tests/131-perf/ |
run | 81 nsec=`expr $end - $start` 82 msec=`expr $nsec / 1000000`
|
/bionic/libc/kernel/uapi/linux/ |
pps.h | 29 __s32 nsec; member in struct:pps_ktime 34 __s32 nsec; member in struct:pps_ktime_compat
|
/external/kernel-headers/original/uapi/linux/ |
pps.h | 56 __s32 nsec; member in struct:pps_ktime 62 __s32 nsec; member in struct:pps_ktime_compat
|
/external/selinux/libsepol/src/ |
module.c | 377 uint32_t *buf = NULL, nsec; local 401 nsec = *sections = le32_to_cpu(buf[2]); 403 if (nsec > MAXSECTIONS) { 405 nsec); 409 off = (size_t *) malloc((nsec + 1) * sizeof(size_t)); 416 buf = malloc(sizeof(uint32_t) * nsec); 421 rc = next_entry(buf, file, sizeof(uint32_t) * nsec); 427 for (i = 0; i < nsec; i++) { 437 rc = policy_file_length(file, &off[nsec]); 441 if (nsec && off[nsec] < off[nsec-1]) 468 uint32_t buf[1], nsec; local 654 uint32_t buf[5], len, nsec; local 863 uint32_t buf[5], offsets[5], len, nsec = 0; local [all...] |