Home
last modified time | relevance | path

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

/external/libchrome/base/time/
Dtime_posix.cc48 SysTime SysTimeFromTimeStruct(struct tm* timestruct, bool is_local) { in SysTimeFromTimeStruct() argument
51 return mktime64(timestruct); in SysTimeFromTimeStruct()
53 return timegm64(timestruct); in SysTimeFromTimeStruct()
56 void SysTimeToTimeStruct(SysTime t, struct tm* timestruct, bool is_local) { in SysTimeToTimeStruct() argument
59 localtime64_r(&t, timestruct); in SysTimeToTimeStruct()
61 gmtime64_r(&t, timestruct); in SysTimeToTimeStruct()
67 SysTime SysTimeFromTimeStruct(struct tm* timestruct, bool is_local) { in SysTimeFromTimeStruct() argument
70 return mktime(timestruct); in SysTimeFromTimeStruct()
72 return timegm(timestruct); in SysTimeFromTimeStruct()
75 void SysTimeToTimeStruct(SysTime t, struct tm* timestruct, bool is_local) { in SysTimeToTimeStruct() argument
[all …]
/external/google-breakpad/src/tools/mac/crash_report/
Dcrash_report.mm254 struct tm timestruct;
255 gmtime_r(reinterpret_cast<time_t*>(&time_date_stamp), &timestruct);
257 strftime(timestr, 20, "%Y-%m-%d %H:%M:%S", &timestruct);
/external/autotest/site_utils/
Dgs_offloader_unittest.py743 timestruct = time.strptime("%s %s" % (date_, time_),
745 job.first_offload_start = time.mktime(timestruct)
/external/google-breakpad/src/processor/
Dminidump.cc371 struct tm timestruct; in TimeTToUTCString() local
373 gmtime_s(&timestruct, &tt); in TimeTToUTCString()
375 gmtime_r(&tt, &timestruct); in TimeTToUTCString()
379 int rv = strftime(timestr, 20, "%Y-%m-%d %H:%M:%S", &timestruct); in TimeTToUTCString()