Lines Matching refs:thetime
702 struct tm thetime; in php_openssl_asn1_time_to_time_t() local
732 memset(&thetime, 0, sizeof(thetime)); in php_openssl_asn1_time_to_time_t()
739 thetime.tm_sec = 0; in php_openssl_asn1_time_to_time_t()
741 thetime.tm_sec = atoi(thestr); in php_openssl_asn1_time_to_time_t()
745 thetime.tm_min = atoi(thestr); in php_openssl_asn1_time_to_time_t()
748 thetime.tm_hour = atoi(thestr); in php_openssl_asn1_time_to_time_t()
751 thetime.tm_mday = atoi(thestr); in php_openssl_asn1_time_to_time_t()
754 thetime.tm_mon = atoi(thestr)-1; in php_openssl_asn1_time_to_time_t()
759 thetime.tm_year = atoi(thestr); in php_openssl_asn1_time_to_time_t()
761 if (thetime.tm_year < 68) { in php_openssl_asn1_time_to_time_t()
762 thetime.tm_year += 100; in php_openssl_asn1_time_to_time_t()
766 thetime.tm_year = atoi(thestr) - 1900; in php_openssl_asn1_time_to_time_t()
770 thetime.tm_isdst = -1; in php_openssl_asn1_time_to_time_t()
771 ret = mktime(&thetime); in php_openssl_asn1_time_to_time_t()
774 gmadjust = thetime.tm_gmtoff; in php_openssl_asn1_time_to_time_t()
781 gmadjust = -(thetime.tm_isdst ? (long)timezone - 3600 : (long)timezone); in php_openssl_asn1_time_to_time_t()