Home
last modified time | relevance | path

Searched refs:time_struct (Results 1 – 2 of 2) sorted by relevance

/freebsd/sbin/camcontrol/
H A Dtimestamp.c249 struct tm time_struct; in set_timestamp() local
274 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()
/freebsd/contrib/googletest/googletest/src/
H A Dgtest.cc4159 struct tm time_struct; in FormatEpochTimeInMillisAsIso8601() local
4160 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() local
4607 if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) in FormatEpochTimeInMillisAsRFC3339()
[all …]