Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/automotive/can/1.0/default/libc++fs/src/filesystem/
Dfilesystem_common.h361 set_times_checked(TimeT* sec_out, SubSecT* subsec_out, FileTimeT tp) {
362 auto dur = tp.time_since_epoch();
378 FileTimeT tp) {
379 if (!is_representable(tp))
381 return set_times_checked(&dest.tv_sec, &dest.tv_nsec, tp);
Doperations.cpp498 struct timespec tp; in now() local
499 if (0 != clock_gettime(CLOCK_REALTIME, &tp)) in now()
501 return time_point(__secs(tp.tv_sec) + in now()
502 chrono::duration_cast<duration>(__nsecs(tp.tv_nsec))); in now()
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DExifUtils.cpp919 struct timespec tp; in SetFromMetadata() local
921 bool time_available = clock_gettime(CLOCK_REALTIME, &tp) != -1; in SetFromMetadata()
922 localtime_r(&tp.tv_sec, &time_info); in SetFromMetadata()
1096 if (snprintf(str, sizeof(str), "%03ld", tp.tv_nsec / 1000000) < 0) { in SetFromMetadata()
1097 ALOGE("%s: Subsec is invalid: %ld", __FUNCTION__, tp.tv_nsec); in SetFromMetadata()
/hardware/interfaces/camera/common/1.0/default/
DExif.cpp973 struct timespec tp; in setFromMetadata() local
975 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()