Home
last modified time | relevance | path

Searched refs:NSEC_PER_SEC (Results 1 – 7 of 7) 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/src/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/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
Dgki_ulinux.c54 #define NSEC_PER_SEC (1000*NANOSEC_PER_MILLISEC) macro
701 if (abstime.tv_nsec > NSEC_PER_SEC) in GKI_wait()
703 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC); in GKI_wait()
704 abstime.tv_nsec = abstime.tv_nsec % NSEC_PER_SEC; in GKI_wait()
/external/libnfc-nci/src/gki/ulinux/
Dgki_ulinux.c53 #define NSEC_PER_SEC (1000*NANOSEC_PER_MILLISEC) macro
678 if (abstime.tv_nsec > NSEC_PER_SEC) in GKI_wait()
680 abstime.tv_sec += (abstime.tv_nsec / NSEC_PER_SEC); in GKI_wait()
681 abstime.tv_nsec = abstime.tv_nsec % NSEC_PER_SEC; in GKI_wait()
/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/src/tools/perf/util/
Dutil.c361 *ptime = time_sec * NSEC_PER_SEC + time_nsec; in parse_nsec_time()