Home
last modified time | relevance | path

Searched refs:tm (Results 1 – 5 of 5) sorted by relevance

/mbedtls-3.5.0/library/
Dplatform_util.c160 struct tm *mbedtls_platform_gmtime_r(const mbedtls_time_t *tt, in mbedtls_platform_gmtime_r()
161 struct tm *tm_buf) in mbedtls_platform_gmtime_r()
173 struct tm *lt; in mbedtls_platform_gmtime_r()
184 memcpy(tm_buf, lt, sizeof(struct tm)); in mbedtls_platform_gmtime_r()
Dx509.c624 mbedtls_x509_time *tm) in x509_parse_time() argument
639 CHECK(x509_parse_int(p, yearlen, &tm->year)); in x509_parse_time()
641 if (tm->year < 50) { in x509_parse_time()
642 tm->year += 100; in x509_parse_time()
645 tm->year += 1900; in x509_parse_time()
648 CHECK(x509_parse_int(p, 2, &tm->mon)); in x509_parse_time()
649 CHECK(x509_parse_int(p, 2, &tm->day)); in x509_parse_time()
650 CHECK(x509_parse_int(p, 2, &tm->hour)); in x509_parse_time()
651 CHECK(x509_parse_int(p, 2, &tm->min)); in x509_parse_time()
657 CHECK(x509_parse_int(p, 2, &tm->sec)); in x509_parse_time()
[all …]
/mbedtls-3.5.0/include/mbedtls/
Dplatform_util.h199 struct tm *mbedtls_platform_gmtime_r(const mbedtls_time_t *tt,
200 struct tm *tm_buf);
/mbedtls-3.5.0/programs/test/
Dudp_proxy.c781 struct timeval tm; in main() local
914 tm.tv_sec = max_wait / 1000; in main()
915 tm.tv_usec = (max_wait % 1000) * 1000; in main()
917 tm_ptr = &tm; in main()
/mbedtls-3.5.0/programs/ssl/
Dssl_context_info.c291 struct tm *t = gmtime((time_t *) time); in print_time()