Lines Matching refs:ts
40 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec,
99 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec,
149 header.realtime.tv_sec = ts->tv_sec;
150 header.realtime.tv_nsec = ts->tv_nsec;
215 struct timespec ts;
226 clock_gettime(android_log_clockid(), &ts);
252 for (ts.tv_nsec = 0, length = len; length;
253 ts.tv_nsec += ANDROID_LOG_PMSG_FILE_SEQUENCE) {
257 if ((ts.tv_nsec / ANDROID_LOG_PMSG_FILE_SEQUENCE) >=
288 ret = pmsgWrite(logId, &ts, vec, sizeof(vec) / sizeof(vec[0]));