Searched refs:k_tm (Results 1 – 1 of 1) sorted by relevance
1907 struct tm *k_gmtime(ASN1_GENERALIZEDTIME *gtime, struct tm *k_tm) in k_gmtime() argument1911 if (!k_tm) return NULL; in k_gmtime()1917 c = *p; *p = '\0'; p -= 2; k_tm->tm_sec = atoi(p); *(p+2) = c; in k_gmtime()1918 c = *p; *p = '\0'; p -= 2; k_tm->tm_min = atoi(p); *(p+2) = c; in k_gmtime()1919 c = *p; *p = '\0'; p -= 2; k_tm->tm_hour = atoi(p); *(p+2) = c; in k_gmtime()1920 c = *p; *p = '\0'; p -= 2; k_tm->tm_mday = atoi(p); *(p+2) = c; in k_gmtime()1921 c = *p; *p = '\0'; p -= 2; k_tm->tm_mon = atoi(p)-1; *(p+2) = c; in k_gmtime()1922 c = *p; *p = '\0'; p -= 4; k_tm->tm_year = atoi(p)-1900; *(p+4) = c; in k_gmtime()1924 return k_tm; in k_gmtime()