Lines Matching refs:thetime
756 struct tm thetime; in php_openssl_asn1_time_to_time_t() local
786 memset(&thetime, 0, sizeof(thetime)); in php_openssl_asn1_time_to_time_t()
792 thetime.tm_sec = atoi(thestr); in php_openssl_asn1_time_to_time_t()
795 thetime.tm_min = atoi(thestr); in php_openssl_asn1_time_to_time_t()
798 thetime.tm_hour = atoi(thestr); in php_openssl_asn1_time_to_time_t()
801 thetime.tm_mday = atoi(thestr); in php_openssl_asn1_time_to_time_t()
804 thetime.tm_mon = atoi(thestr)-1; in php_openssl_asn1_time_to_time_t()
809 thetime.tm_year = atoi(thestr); in php_openssl_asn1_time_to_time_t()
811 if (thetime.tm_year < 68) { in php_openssl_asn1_time_to_time_t()
812 thetime.tm_year += 100; in php_openssl_asn1_time_to_time_t()
816 thetime.tm_year = atoi(thestr) - 1900; in php_openssl_asn1_time_to_time_t()
820 thetime.tm_isdst = -1; in php_openssl_asn1_time_to_time_t()
821 ret = mktime(&thetime); in php_openssl_asn1_time_to_time_t()
824 gmadjust = thetime.tm_gmtoff; in php_openssl_asn1_time_to_time_t()
831 gmadjust = -(thetime.tm_isdst ? (long)timezone - 3600 : (long)timezone); in php_openssl_asn1_time_to_time_t()