Searched refs:timestruct (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/base/time/ |
D | time_posix.cc | 48 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/ |
D | crash_report.mm | 254 struct tm timestruct; 255 gmtime_r(reinterpret_cast<time_t*>(&time_date_stamp), ×truct); 257 strftime(timestr, 20, "%Y-%m-%d %H:%M:%S", ×truct);
|
/external/autotest/site_utils/ |
D | gs_offloader_unittest.py | 743 timestruct = time.strptime("%s %s" % (date_, time_), 745 job.first_offload_start = time.mktime(timestruct)
|
/external/google-breakpad/src/processor/ |
D | minidump.cc | 371 struct tm timestruct; in TimeTToUTCString() local 373 gmtime_s(×truct, &tt); in TimeTToUTCString() 375 gmtime_r(&tt, ×truct); in TimeTToUTCString() 379 int rv = strftime(timestr, 20, "%Y-%m-%d %H:%M:%S", ×truct); in TimeTToUTCString()
|