Searched refs:time_struct (Results 1 – 2 of 2) sorted by relevance
249 struct tm time_struct; in set_timestamp() local274 bzero(&time_struct, sizeof(struct tm)); in set_timestamp()276 &time_struct) == NULL) { in set_timestamp()281 time_value = mktime(&time_struct); in set_timestamp()
4159 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local4160 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsIso8601()4163 return StreamableToString(time_struct.tm_year + 1900) + "-" + in FormatEpochTimeInMillisAsIso8601()4164 String::FormatIntWidth2(time_struct.tm_mon + 1) + "-" + in FormatEpochTimeInMillisAsIso8601()4165 String::FormatIntWidth2(time_struct.tm_mday) + "T" + in FormatEpochTimeInMillisAsIso8601()4166 String::FormatIntWidth2(time_struct.tm_hour) + ":" + in FormatEpochTimeInMillisAsIso8601()4167 String::FormatIntWidth2(time_struct.tm_min) + ":" + in FormatEpochTimeInMillisAsIso8601()4168 String::FormatIntWidth2(time_struct.tm_sec) + "." + in FormatEpochTimeInMillisAsIso8601()4606 struct tm time_struct; in FormatEpochTimeInMillisAsRFC3339() local4607 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsRFC3339()[all …]