Home
last modified time | relevance | path

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

/curl/lib/
H A Dparsedate.c628 CURLcode Curl_gmtime(time_t intime, struct tm *store) in Curl_gmtime()
630 const struct tm *tm; in Curl_gmtime() local
633 tm = (struct tm *)gmtime_r(&intime, store); in Curl_gmtime()
636 tm = gmtime(&intime); in Curl_gmtime()
637 if(tm) in Curl_gmtime()
638 *store = *tm; /* copy the pointed struct to the local copy */ in Curl_gmtime()
641 if(!tm) in Curl_gmtime()
H A Dfile.c464 struct tm buffer; in file_do()
465 const struct tm *tm = &buffer; in file_do() local
492 Curl_wkday[tm->tm_wday ? tm->tm_wday-1 : 6], in file_do()
493 tm->tm_mday, in file_do()
494 Curl_month[tm->tm_mon], in file_do()
495 tm->tm_year + 1900, in file_do()
496 tm->tm_hour, in file_do()
497 tm->tm_min, in file_do()
498 tm->tm_sec); in file_do()
H A Dparsedate.h30 CURLcode Curl_gmtime(time_t intime, struct tm *store);
H A Dhttp_aws_sigv4.c582 struct tm tm; in Curl_output_aws_sigv4() local
720 result = Curl_gmtime(clock, &tm); in Curl_output_aws_sigv4()
724 if(!strftime(timestamp, sizeof(timestamp), "%Y%m%dT%H%M%SZ", &tm)) { in Curl_output_aws_sigv4()
H A Dcurl_setup.h667 extern struct tm *gmtime_r(const time_t * const timep, struct tm *tmp);
H A Dhsts.c310 struct tm stamp; in hsts_push()
340 struct tm stamp; in hsts_out()
H A Dhttp.c1552 const struct tm *tm; in Curl_add_timecondition() local
1553 struct tm keeptime; in Curl_add_timecondition()
1568 tm = &keeptime; in Curl_add_timecondition()
1605 Curl_wkday[tm->tm_wday ? tm->tm_wday-1 : 6], in Curl_add_timecondition()
1606 tm->tm_mday, in Curl_add_timecondition()
1607 Curl_month[tm->tm_mon], in Curl_add_timecondition()
1608 tm->tm_year + 1900, in Curl_add_timecondition()
1609 tm->tm_hour, in Curl_add_timecondition()
1610 tm->tm_min, in Curl_add_timecondition()
1611 tm->tm_sec); in Curl_add_timecondition()
H A Dftp.c2089 struct tm buffer; in ftp_state_mdtm_resp()
2090 const struct tm *tm = &buffer; in ftp_state_mdtm_resp() local
2100 Curl_wkday[tm->tm_wday ? tm->tm_wday-1 : 6], in ftp_state_mdtm_resp()
2101 tm->tm_mday, in ftp_state_mdtm_resp()
2102 Curl_month[tm->tm_mon], in ftp_state_mdtm_resp()
2103 tm->tm_year + 1900, in ftp_state_mdtm_resp()
2104 tm->tm_hour, in ftp_state_mdtm_resp()
2105 tm->tm_min, in ftp_state_mdtm_resp()
2106 tm->tm_sec); in ftp_state_mdtm_resp()
H A Daltsvc.c249 struct tm stamp; in altsvc_out()
/curl/docs/examples/
H A Dsynctime.c304 struct tm *lt; in main()
305 struct tm *gmt; in main()
H A Dhttp2-upload.c143 struct tm *now; in my_trace()
/curl/tests/libtest/
H A Dtesttrace.c103 struct tm *now; in libtest_debug_cb()
/curl/lib/vtls/
H A Dgtls.c186 struct tm buffer; in showtime()
187 const struct tm *tm = &buffer; in showtime() local
197 Curl_wkday[tm->tm_wday ? tm->tm_wday-1 : 6], in showtime()
198 tm->tm_mday, in showtime()
199 Curl_month[tm->tm_mon], in showtime()
200 tm->tm_year + 1900, in showtime()
201 tm->tm_hour, in showtime()
202 tm->tm_min, in showtime()
203 tm->tm_sec); in showtime()
/curl/src/
H A Dtool_cb_dbg.c51 struct tm *now; in hms_for_sec()
/curl/tests/server/
H A Dutil.c91 struct tm *now; in logmsg()
/curl/m4/
H A Dcurl-functions.m42254 struct tm *gmt = 0;
2255 struct tm result;

Completed in 55 milliseconds