Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/logadm/
H A Dkw.c203 struct tm *gmt_tm = localtime(&Now); in kw_expand() local
366 if (strftime(buf, MAXDIGITS, tbuf, gmt_tm) == 0) in kw_expand()
/titanic_41/usr/src/lib/libbe/common/
H A Dbe_utils.c2102 struct tm *gmt_tm = NULL; in be_auto_snap_name() local
2111 if ((gmt_tm = gmtime(&utc_tm)) == NULL) { in be_auto_snap_name()
2116 (void) strftime(gmt_time_str, sizeof (gmt_time_str), "%F-%T", gmt_tm); in be_auto_snap_name()
2251 struct tm gmt_tm; in be_valid_auto_snap_name() local
2259 if (strptime(name, "%Y-%m-%d-%T", &gmt_tm) != NULL && in be_valid_auto_snap_name()
2260 (mktime(&gmt_tm) != -1)) { in be_valid_auto_snap_name()
2314 if (strptime(date, "%Y-%m-%d-%T", &gmt_tm) == NULL || in be_valid_auto_snap_name()
2315 (mktime(&gmt_tm) == -1)) { in be_valid_auto_snap_name()