Searched refs:tp (Results 1 – 2 of 2) sorted by relevance
973 struct timespec tp; in setFromMetadata() local975 bool time_available = clock_gettime(CLOCK_REALTIME, &tp) != -1; in setFromMetadata()976 localtime_r(&tp.tv_sec, &time_info); in setFromMetadata()1097 if (snprintf(str, sizeof(str), "%03ld", tp.tv_nsec / 1000000) < 0) { in setFromMetadata()1098 ALOGE("%s: Subsec is invalid: %ld", __FUNCTION__, tp.tv_nsec); in setFromMetadata()
5612 struct timeval tp; in checkIntPicPending() local5613 gettimeofday(&tp, NULL); in checkIntPicPending()5614 ts.tv_sec = tp.tv_sec + 5; in checkIntPicPending()5615 ts.tv_nsec = tp.tv_usec * 1000; in checkIntPicPending()