Lines Matching refs:NS_PER_SEC
1162 multiplier = NS_PER_SEC; in readSeconds()
1172 if (left->tv_nsec >= (long)NS_PER_SEC) { in sumTimespec()
1173 left->tv_nsec -= NS_PER_SEC; in sumTimespec()
1184 result->tv_nsec += NS_PER_SEC; in subTimespec()
1191 return (long long)now->tv_sec * NS_PER_SEC + now->tv_nsec; in nsecTimespec()
1399 convert.tv_sec += crun / (long long)NS_PER_SEC; in convertMonotonic()
1401 convert.tv_nsec -= (-crun) % NS_PER_SEC; in convertMonotonic()
1403 convert.tv_nsec += NS_PER_SEC; in convertMonotonic()
1407 convert.tv_nsec += crun % NS_PER_SEC; in convertMonotonic()
1408 if (convert.tv_nsec >= (long)NS_PER_SEC) { in convertMonotonic()
1409 convert.tv_nsec -= NS_PER_SEC; in convertMonotonic()
1474 nsec = NS_PER_SEC - nsec; in android_log_formatLogLine()