Searched refs:time_struct (Results 1 – 6 of 6) sorted by relevance
26 struct time_struct { struct30 static const struct time_struct gResultData[] = { argument
29 struct time_struct { struct33 static const struct time_struct gResultData[] = { argument
3733 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local3734 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsIso8601()3737 return StreamableToString(time_struct.tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601()3738 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601()3739 String::FormatIntWidth2(time_struct.tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601()3740 String::FormatIntWidth2(time_struct.tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601()3741 String::FormatIntWidth2(time_struct.tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601()3742 String::FormatIntWidth2(time_struct.tm_sec); in FormatEpochTimeInMillisAsIso8601()4104 struct tm time_struct; in FormatEpochTimeInMillisAsRFC3339() local4105 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsRFC3339()[all …]
4113 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local4114 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsIso8601()4117 return StreamableToString(time_struct.tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601()4118 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601()4119 String::FormatIntWidth2(time_struct.tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601()4120 String::FormatIntWidth2(time_struct.tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601()4121 String::FormatIntWidth2(time_struct.tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601()4122 String::FormatIntWidth2(time_struct.tm_sec) + "." + in FormatEpochTimeInMillisAsIso8601()4565 struct tm time_struct; in FormatEpochTimeInMillisAsRFC3339() local4566 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsRFC3339()[all …]
5602 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local5603 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsIso8601()5606 return StreamableToString(time_struct.tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601()5607 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601()5608 String::FormatIntWidth2(time_struct.tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601()5609 String::FormatIntWidth2(time_struct.tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601()5610 String::FormatIntWidth2(time_struct.tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601()5611 String::FormatIntWidth2(time_struct.tm_sec) + "." + in FormatEpochTimeInMillisAsIso8601()6051 struct tm time_struct; in FormatEpochTimeInMillisAsRFC3339() local6052 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsRFC3339()[all …]
470 time_struct = time.struct_time(472 localtime_mock.return_value = time_struct