Home
last modified time | relevance | path

Searched refs:NSEC_PER_SEC (Results 1 – 9 of 9) sorted by relevance

/external/dhcpcd/
Dcommon.c166 #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/
Dperf.h125 #ifndef NSEC_PER_SEC
126 # define NSEC_PER_SEC 1000000000ULL macro
/external/compiler-rt/lib/asan/tests/
Dasan_mac_test_helpers.mm146 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/
Dgki_ulinux.c50 #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/
Dgki_ulinux.c53 #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/
Dgki_ulinux.c52 #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/
Ddispatch_source_mach_unittest.cc35 TestTimeouts::action_timeout().InSeconds() * NSEC_PER_SEC)); in WaitForSemaphore()
/external/mdnsresponder/Clients/
Ddns-sd.c619 …_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/
Dutil.c361 *ptime = time_sec * NSEC_PER_SEC + time_nsec; in parse_nsec_time()