Home
last modified time | relevance | path

Searched refs:pdatetime (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/lib/libima/common/
H A Dima-lib.c644 static void GetBuildTime(IMA_DATETIME* pdatetime) { in GetBuildTime() argument
654 sscanf(__TIME__, "%u:%u:%u", &pdatetime->tm_hour, in GetBuildTime()
655 &pdatetime->tm_min, &pdatetime->tm_sec); in GetBuildTime()
657 &pdatetime->tm_mday, &pdatetime->tm_year); in GetBuildTime()
660 pdatetime->tm_year -= 1900; in GetBuildTime()
661 pdatetime->tm_isdst = -1; in GetBuildTime()
663 pdatetime->tm_wday = 0; in GetBuildTime()
666 pdatetime->tm_wday = i; in GetBuildTime()
671 pdatetime->tm_mon = 0; in GetBuildTime()
674 pdatetime->tm_mon = i; in GetBuildTime()
[all …]
/titanic_50/usr/src/cmd/iscsiadm/
H A Dsun_ima.c149 static void GetBuildTime(IMA_DATETIME* pdatetime) in GetBuildTime() argument
152 if (strptime(BUILD_DATE, "%Y/%m/%d %T %Z", pdatetime) == NULL) { in GetBuildTime()
153 (void) memset(pdatetime, 0, sizeof (IMA_DATETIME)); in GetBuildTime()
156 (void) memset(pdatetime, 0, sizeof (IMA_DATETIME)); in GetBuildTime()
/titanic_50/usr/src/lib/libsun_ima/common/
H A Dima.c256 static void GetBuildTime(IMA_DATETIME* pdatetime) in GetBuildTime() argument
258 (void) memset(pdatetime, 0, sizeof (IMA_DATETIME)); in GetBuildTime()