Lines Matching refs:thetime
927 struct tm thetime; in php_openssl_asn1_time_to_time_t() local
957 memset(&thetime, 0, sizeof(thetime)); in php_openssl_asn1_time_to_time_t()
964 thetime.tm_sec = 0; in php_openssl_asn1_time_to_time_t()
966 thetime.tm_sec = atoi(thestr); in php_openssl_asn1_time_to_time_t()
970 thetime.tm_min = atoi(thestr); in php_openssl_asn1_time_to_time_t()
973 thetime.tm_hour = atoi(thestr); in php_openssl_asn1_time_to_time_t()
976 thetime.tm_mday = atoi(thestr); in php_openssl_asn1_time_to_time_t()
979 thetime.tm_mon = atoi(thestr)-1; in php_openssl_asn1_time_to_time_t()
984 thetime.tm_year = atoi(thestr); in php_openssl_asn1_time_to_time_t()
986 if (thetime.tm_year < 68) { in php_openssl_asn1_time_to_time_t()
987 thetime.tm_year += 100; in php_openssl_asn1_time_to_time_t()
991 thetime.tm_year = atoi(thestr) - 1900; in php_openssl_asn1_time_to_time_t()
995 thetime.tm_isdst = -1; in php_openssl_asn1_time_to_time_t()
996 ret = mktime(&thetime); in php_openssl_asn1_time_to_time_t()
999 gmadjust = thetime.tm_gmtoff; in php_openssl_asn1_time_to_time_t()
1006 gmadjust = -(thetime.tm_isdst ? (long)timezone - 3600 : (long)timezone); in php_openssl_asn1_time_to_time_t()