Lines Matching refs:tv_nsec
466 entry->tv_nsec = buf->nsec; in android_log_processLogBuffer()
764 entry->tv_nsec = buf->nsec; in android_log_processBinaryLogBuffer()
985 t->tv_nsec = 0; in readSeconds()
988 t->tv_nsec += (*p - '0') * multiplier; in readSeconds()
996 left->tv_nsec += right->tv_nsec; in sumTimespec()
998 if (left->tv_nsec >= (long)NS_PER_SEC) { in sumTimespec()
999 left->tv_nsec -= NS_PER_SEC; in sumTimespec()
1009 result->tv_nsec = left->tv_nsec - right->tv_nsec; in subTimespec()
1011 if (result->tv_nsec < 0) { in subTimespec()
1012 result->tv_nsec += NS_PER_SEC; in subTimespec()
1020 return (long long)now->tv_sec * NS_PER_SEC + now->tv_nsec; in nsecTimespec()
1210 if (entry->tv_nsec < next->time.tv_nsec) { in convertMonotonic()
1224 time.tv_nsec = entry->tv_nsec; in convertMonotonic()
1235 convert.tv_nsec -= (-crun) % NS_PER_SEC; in convertMonotonic()
1236 if (convert.tv_nsec < 0) { in convertMonotonic()
1237 convert.tv_nsec += NS_PER_SEC; in convertMonotonic()
1241 convert.tv_nsec += crun % NS_PER_SEC; in convertMonotonic()
1242 if (convert.tv_nsec >= (long)NS_PER_SEC) { in convertMonotonic()
1243 convert.tv_nsec -= NS_PER_SEC; in convertMonotonic()
1252 result->tv_nsec = entry->tv_nsec; in convertMonotonic()
1300 nsec = entry->tv_nsec; in android_log_formatLogLine()
1307 nsec = time.tv_nsec; in android_log_formatLogLine()