Searched refs:NSEC_PER_SEC (Results 1 – 9 of 9) sorted by relevance
/external/dhcpcd/ |
D | common.c | 166 #define NSEC_PER_SEC 1000000000 in get_monotonic() macro 184 tp->tv_sec = nano / NSEC_PER_SEC; in get_monotonic() 185 rem = nano % NSEC_PER_SEC; in get_monotonic() 188 rem += NSEC_PER_SEC; in get_monotonic()
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
D | perf.h | 125 #ifndef NSEC_PER_SEC 126 # define NSEC_PER_SEC 1000000000ULL macro
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_mac_test_helpers.mm | 146 dispatch_time(DISPATCH_TIME_NOW, 1LL * NSEC_PER_SEC); 169 dispatch_time(DISPATCH_TIME_NOW, 1LL * NSEC_PER_SEC); 186 dispatch_time(DISPATCH_TIME_NOW, 1LL * NSEC_PER_SEC);
|
/external/bluetooth/bluedroid/gki/ulinux/ |
D | gki_ulinux.c | 50 #define NSEC_PER_SEC (1000 * NANOSEC_PER_MILLISEC) macro 790 if (abstime.tv_nsec > NSEC_PER_SEC) in GKI_wait() 792 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC); in GKI_wait() 793 abstime.tv_nsec = abstime.tv_nsec % NSEC_PER_SEC; in GKI_wait()
|
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/ |
D | gki_ulinux.c | 53 #define NSEC_PER_SEC (1000*NANOSEC_PER_MILLISEC) macro 700 if (abstime.tv_nsec > NSEC_PER_SEC) in GKI_wait() 702 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC); in GKI_wait() 703 abstime.tv_nsec = abstime.tv_nsec % NSEC_PER_SEC; in GKI_wait()
|
/external/libnfc-nci/src/gki/ulinux/ |
D | gki_ulinux.c | 52 #define NSEC_PER_SEC (1000*NANOSEC_PER_MILLISEC) macro 677 if (abstime.tv_nsec > NSEC_PER_SEC) in GKI_wait() 679 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC); in GKI_wait() 680 abstime.tv_nsec = abstime.tv_nsec % NSEC_PER_SEC; in GKI_wait()
|
/external/chromium_org/sandbox/mac/ |
D | dispatch_source_mach_unittest.cc | 35 TestTimeouts::action_timeout().InSeconds() * NSEC_PER_SEC)); in WaitForSemaphore()
|
/external/mdnsresponder/Clients/ |
D | dns-sd.c | 619 …_source_set_timer(timer_source, dispatch_time(DISPATCH_TIME_NOW, (uint64_t)timeOut * NSEC_PER_SEC), in myTimerCallBack() 620 (uint64_t)timeOut * NSEC_PER_SEC, 0); in myTimerCallBack() 653 …_source_set_timer(timer_source, dispatch_time(DISPATCH_TIME_NOW, (uint64_t)timeOut * NSEC_PER_SEC), in reg_reply() 654 (uint64_t)timeOut * NSEC_PER_SEC, 0); in reg_reply() 839 …_source_set_timer(timer_source, dispatch_time(DISPATCH_TIME_NOW, (uint64_t)timeOut * NSEC_PER_SEC), in HandleEvents() 840 (uint64_t)timeOut * NSEC_PER_SEC, 0); in HandleEvents()
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | util.c | 361 *ptime = time_sec * NSEC_PER_SEC + time_nsec; in parse_nsec_time()
|