Home
last modified time | relevance | path

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

/external/libchrome/base/time/
Dtime_exploded_posix.cc46 SysTime SysTimeFromTimeStruct(struct tm* timestruct, bool is_local) { in SysTimeFromTimeStruct() argument
49 return mktime64(timestruct); in SysTimeFromTimeStruct()
51 return timegm64(timestruct); in SysTimeFromTimeStruct()
54 void SysTimeToTimeStruct(SysTime t, struct tm* timestruct, bool is_local) { in SysTimeToTimeStruct() argument
57 localtime64_r(&t, timestruct); in SysTimeToTimeStruct()
59 gmtime64_r(&t, timestruct); in SysTimeToTimeStruct()
88 SysTime SysTimeFromTimeStruct(struct tm* timestruct, bool is_local) { in SysTimeFromTimeStruct() argument
91 return mktime(timestruct); in SysTimeFromTimeStruct()
93 return aix_timegm(timestruct); in SysTimeFromTimeStruct()
96 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.py523 timestruct = time.strptime("%s %s" % (date_, time_),
525 job.first_offload_start = time.mktime(timestruct)
/external/google-breakpad/src/processor/
Dminidump.cc374 struct tm timestruct; in TimeTToUTCString() local
376 gmtime_s(&timestruct, &tt); in TimeTToUTCString()
378 gmtime_r(&tt, &timestruct); in TimeTToUTCString()
382 size_t rv = strftime(timestr, 20, "%Y-%m-%d %H:%M:%S", &timestruct); in TimeTToUTCString()