Lines Matching refs:thetime
890 struct tm thetime; in asn1_time_to_time_t() local
920 memset(&thetime, 0, sizeof(thetime)); in asn1_time_to_time_t()
927 thetime.tm_sec = 0; in asn1_time_to_time_t()
929 thetime.tm_sec = atoi(thestr); in asn1_time_to_time_t()
933 thetime.tm_min = atoi(thestr); in asn1_time_to_time_t()
936 thetime.tm_hour = atoi(thestr); in asn1_time_to_time_t()
939 thetime.tm_mday = atoi(thestr); in asn1_time_to_time_t()
942 thetime.tm_mon = atoi(thestr)-1; in asn1_time_to_time_t()
947 thetime.tm_year = atoi(thestr); in asn1_time_to_time_t()
949 if (thetime.tm_year < 68) { in asn1_time_to_time_t()
950 thetime.tm_year += 100; in asn1_time_to_time_t()
954 thetime.tm_year = atoi(thestr) - 1900; in asn1_time_to_time_t()
958 thetime.tm_isdst = -1; in asn1_time_to_time_t()
959 ret = mktime(&thetime); in asn1_time_to_time_t()
962 gmadjust = thetime.tm_gmtoff; in asn1_time_to_time_t()
969 gmadjust = -(thetime.tm_isdst ? (long)timezone - 3600 : (long)timezone); in asn1_time_to_time_t()