Searched refs:utcTime (Results 1 - 5 of 5) sorted by relevance
| /ide/tools/previewer/test/unittest/util/ |
| H A D | LocalDateTest.cpp | 24 struct tm utcTime; in TEST() local 25 date.GmTimeSafe(utcTime, inputTime); in TEST() 26 LocalDate::GmTimeSafe(utcTime, inputTime); in TEST() 27 EXPECT_GT(utcTime.tm_year + 1900, 1970); in TEST()
|
| /ide/tools/previewer/util/ |
| H A D | TimeTool.cpp | 43 struct tm utcTime = timePair.first; in FormateTimeNow() local 49 now << FixedTime(utcTime.tm_year + BASE_YEAR, fixedTimeWidth4); in FormateTimeNow() 51 now << FixedTime(utcTime.tm_mon + 1, fixedTimeWidth2); in FormateTimeNow() 53 now << FixedTime(utcTime.tm_mday, fixedTimeWidth2); in FormateTimeNow() 55 now << FixedTime(utcTime.tm_hour, fixedTimeWidth2) ; in FormateTimeNow() 57 now << FixedTime(utcTime.tm_min, fixedTimeWidth2); in FormateTimeNow() 59 now << FixedTime(utcTime.tm_sec, fixedTimeWidth2); in FormateTimeNow() 86 struct tm utcTime; in GetCurrentTime() local 87 LocalDate::GmTimeSafe(utcTime, time); in GetCurrentTime() 88 std::pair<tm, int64_t> timePair = std::make_pair(utcTime, m in GetCurrentTime() [all...] |
| H A D | LocalDate.h | 25 static void GmTimeSafe(tm& utcTime, const time_t& time);
|
| /ide/tools/previewer/util/windows/ |
| H A D | LocalDate.cpp | 21 void LocalDate::GmTimeSafe(tm& utcTime, const time_t& time) in GmTimeSafe() argument 23 if (gmtime_s(&utcTime, &time)) { in GmTimeSafe()
|
| /ide/tools/previewer/util/unix/ |
| H A D | LocalDate.cpp | 21 void LocalDate::GmTimeSafe(tm& utcTime, const time_t& time) in GmTimeSafe() argument 23 gmtime_r(&time, &utcTime); in GmTimeSafe()
|
Completed in 2 milliseconds