Lines Matching refs:pdatetime
639 static void GetBuildTime(IMA_DATETIME* pdatetime) { in GetBuildTime() argument
649 sscanf(__TIME__, "%u:%u:%u", &pdatetime->tm_hour, in GetBuildTime()
650 &pdatetime->tm_min, &pdatetime->tm_sec); in GetBuildTime()
652 &pdatetime->tm_mday, &pdatetime->tm_year); in GetBuildTime()
655 pdatetime->tm_year -= 1900; in GetBuildTime()
656 pdatetime->tm_isdst = -1; in GetBuildTime()
658 pdatetime->tm_wday = 0; in GetBuildTime()
661 pdatetime->tm_wday = i; in GetBuildTime()
666 pdatetime->tm_mon = 0; in GetBuildTime()
669 pdatetime->tm_mon = i; in GetBuildTime()
676 if (strptime(BUILD_DATE, "%Y/%m/%d %T %Z", pdatetime) == NULL) { in GetBuildTime()
677 memset(pdatetime, 0, sizeof (IMA_DATETIME)); in GetBuildTime()
680 memset(pdatetime, 0, sizeof (IMA_DATETIME)); in GetBuildTime()