/system/extras/tests/timetest/ |
D | timetest.c | 15 struct timespec t; in nanotime() 26 static struct timespec ts_sub(struct timespec a, struct timespec b) in ts_sub() 28 struct timespec r; in ts_sub() 42 static struct timespec ts_min(struct timespec a, struct timespec b) in ts_min() 50 static struct timespec ts_max(struct timespec a, struct timespec b) in ts_max() 61 struct timespec t1, dtmin, dtminp, dtmax; in main() 80 struct timespec t, dt; in main()
|
/system/core/include/log/ |
D | log_read.h | 39 log_time(const timespec &T) in log_time() 49 static const timespec EPOCH; 55 timespec T; in log_time() 68 bool operator== (const timespec &T) const 73 bool operator!= (const timespec &T) const 77 bool operator< (const timespec &T) const 83 bool operator>= (const timespec &T) const 87 bool operator> (const timespec &T) const 93 bool operator<= (const timespec &T) const 97 log_time operator-= (const timespec &T); [all …]
|
/system/bt/osi/src/ |
D | time.c | 26 struct timespec timespec; in time_get_os_boottime_ms() local 27 clock_gettime(CLOCK_BOOTTIME, ×pec); in time_get_os_boottime_ms() 28 return (timespec.tv_sec * 1000) + (timespec.tv_nsec / 1000000); in time_get_os_boottime_ms()
|
/system/extras/tests/include/ |
D | testUtil.h | 28 struct timespec double2ts(double amt); 30 double ts2double(const struct timespec *val); 32 struct timespec tsDelta(const struct timespec *first, 33 const struct timespec *second);
|
/system/extras/tests/lib/testUtil/ |
D | testUtil.c | 47 double ts2double(const struct timespec *val) in ts2double() 69 struct timespec double2ts(double amt) in double2ts() 71 struct timespec rv; in double2ts() 103 struct timespec tsDelta(const struct timespec *first, in tsDelta() 104 const struct timespec *second) in tsDelta() 106 struct timespec rv; in tsDelta() 266 struct timespec start, current, delta; in testDelay() 267 struct timespec remaining; in testDelay() 292 struct timespec start, current, delta; in testDelaySpin()
|
/system/extras/tests/sdcard/ |
D | stopwatch.h | 79 struct timespec mTime; 126 double timespecToDouble(const struct timespec& time); 133 struct timespec mStart;
|
/system/extras/tests/suspend_stress/ |
D | suspend_stress.cpp | 35 long long timediff_ns(const struct timespec *a, const struct timespec *b) { in timediff_ns() 119 struct timespec expected_time; in main() 120 struct timespec actual_time; in main()
|
/system/update_engine/common/ |
D | clock.cc | 28 struct timespec now_ts; in GetMonotonicTime() 44 struct timespec now_ts; in GetBootTime()
|
/system/core/liblog/ |
D | log_time.cpp | 27 LIBLOG_ABI_PRIVATE const timespec log_time::EPOCH = { 0, 0 }; 137 LIBLOG_ABI_PRIVATE log_time log_time::operator-= (const timespec &T) { in operator -=() 154 LIBLOG_ABI_PRIVATE log_time log_time::operator+= (const timespec &T) { in operator +=()
|
D | fake_writer.c | 30 static int fakeWrite(log_id_t log_id, struct timespec *ts, 65 static int fakeWrite(log_id_t log_id, struct timespec *ts __unused, in fakeWrite()
|
D | logprint.c | 977 static char *readSeconds(char *e, struct timespec *t) in readSeconds() 993 static struct timespec *sumTimespec(struct timespec *left, in sumTimespec() 994 struct timespec *right) in sumTimespec() 1005 static struct timespec *subTimespec(struct timespec *result, in subTimespec() 1006 struct timespec *left, in subTimespec() 1007 struct timespec *right) in subTimespec() 1018 static long long nsecTimespec(struct timespec *now) in nsecTimespec() 1023 static void convertMonotonic(struct timespec *result, in convertMonotonic() 1029 struct timespec time; in convertMonotonic() 1030 struct timespec convert; in convertMonotonic() [all …]
|
D | pmsg_writer.c | 41 static int pmsgWrite(log_id_t logId, struct timespec *ts, 98 static int pmsgWrite(log_id_t logId, struct timespec *ts, in pmsgWrite() 213 struct timespec ts; in __android_log_pmsg_file_write()
|
D | logd_writer.c | 51 static int logdWrite(log_id_t logId, struct timespec *ts, 117 static int logdWrite(log_id_t logId, struct timespec *ts, in logdWrite()
|
/system/core/include/utils/ |
D | Condition.h | 110 struct timespec ts; in waitRelative() 115 struct timespec ts; in waitRelative()
|
/system/core/liblog/tests/ |
D | libc_test.cpp | 42 struct timespec ts; in TEST() 103 struct timespec ts; in TEST()
|
D | liblog_benchmark.cpp | 123 struct timespec ts; in BM_pmsg_short() 200 struct timespec ts; in BM_pmsg_short_aligned() 276 struct timespec ts; in BM_pmsg_short_unaligned1() 352 struct timespec ts; in BM_pmsg_long_aligned() 425 struct timespec ts; in BM_pmsg_long_unaligned1()
|
/system/connectivity/shill/net/ |
D | shill_time.cc | 69 struct timespec ts; in GetTimeMonotonic() 80 struct timespec ts; in GetTimeBoottime()
|
/system/media/audio_utils/include/audio_utils/ |
D | echo_reference.h | 30 struct timespec time_stamp; // time stamp for this buffer (see comment below)
|
/system/media/alsa_utils/include/ |
D | alsa_device_proxy.h | 47 uint64_t *frames, struct timespec *timestamp);
|
/system/bt/osi/test/ |
D | time_test.cpp | 63 struct timespec delay; in TEST_F()
|
/system/core/libutils/ |
D | Timers.cpp | 36 struct timespec t; in systemTime()
|
D | SystemClock.cpp | 111 struct timespec ts; in elapsedRealtimeNano()
|
/system/security/keystore/ |
D | keystore_keymaster_enforcement.h | 33 struct timespec tp; in get_current_time()
|
/system/extras/tests/pftest/ |
D | pftest.c | 39 struct timespec t; in stop_watch()
|
/system/core/logd/ |
D | LogTimes.h | 58 struct timespec mTimeout;
|