HomeSort by relevance Sort by last modified time
    Searched refs:NS_PER_S (Results 1 - 9 of 9) sorted by null

  /bionic/libc/private/
bionic_constants.h 20 #define NS_PER_S 1000000000
bionic_time_conversions.h 56 if (ts->tv_nsec < 0 || ts->tv_nsec >= NS_PER_S) {
  /bionic/libc/bionic/
clock.cpp 41 return (ts.tv_sec * CLOCKS_PER_SEC) + (ts.tv_nsec / (NS_PER_S / CLOCKS_PER_SEC));
bionic_time_conversions.cpp 59 if (abs_ts.tv_nsec >= NS_PER_S) {
60 abs_ts.tv_nsec -= NS_PER_S;
  /device/google/contexthub/firmware/src/platform/stm32f4xx/
rtc.c 27 #ifndef NS_PER_S
28 #define NS_PER_S UINT64_C(1000000000)
173 } else if (delay > (NS_PER_S * 2 * RTC_WKUP_DOWNCOUNT_MAX)) {
174 delay = NS_PER_S * 2 * RTC_WKUP_DOWNCOUNT_MAX;
204 if (RTC_VALID_DELAY_FOR_PERIOD(delay, NS_PER_S))
208 periodNs = NS_PER_S;
209 periodNsRecip = U64_RECIPROCAL_CALCULATE(NS_PER_S);
279 return (time_s * NS_PER_S) + U64_DIV_BY_CONST_U16(((RTC_PREDIV_S - ssr) * NS_PER_S), (RTC_PREDIV_S + 1));
  /bionic/tests/
semaphore_test.cpp 98 if (ts.tv_nsec >= NS_PER_S) {
100 ts.tv_nsec -= NS_PER_S;
122 ts.tv_nsec = NS_PER_S;
127 ts.tv_nsec = NS_PER_S - 1;
pthread_test.cpp 832 ts.tv_nsec = NS_PER_S;
834 ts.tv_nsec = NS_PER_S - 1;
    [all...]
time_test.cpp 520 ts2.tv_nsec += NS_PER_S;
  /hardware/ril/reference-ril/
atchannel.c 84 #define NS_PER_S 1000000000
94 if (p_ts->tv_nsec >= NS_PER_S) {
96 p_ts->tv_nsec -= NS_PER_S;

Completed in 3388 milliseconds