Searched refs:tm (Results 1 – 16 of 16) sorted by relevance
/curl/lib/ |
H A D | parsedate.c | 628 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 D | file.c | 464 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 D | parsedate.h | 30 CURLcode Curl_gmtime(time_t intime, struct tm *store);
|
H A D | http_aws_sigv4.c | 582 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 D | curl_setup.h | 667 extern struct tm *gmtime_r(const time_t * const timep, struct tm *tmp);
|
H A D | hsts.c | 310 struct tm stamp; in hsts_push() 340 struct tm stamp; in hsts_out()
|
H A D | http.c | 1552 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 D | ftp.c | 2089 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 D | altsvc.c | 249 struct tm stamp; in altsvc_out()
|
/curl/docs/examples/ |
H A D | synctime.c | 304 struct tm *lt; in main() 305 struct tm *gmt; in main()
|
H A D | http2-upload.c | 143 struct tm *now; in my_trace()
|
/curl/tests/libtest/ |
H A D | testtrace.c | 103 struct tm *now; in libtest_debug_cb()
|
/curl/lib/vtls/ |
H A D | gtls.c | 186 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 D | tool_cb_dbg.c | 51 struct tm *now; in hms_for_sec()
|
/curl/tests/server/ |
H A D | util.c | 91 struct tm *now; in logmsg()
|
/curl/m4/ |
H A D | curl-functions.m4 | 2254 struct tm *gmt = 0; 2255 struct tm result;
|
Completed in 57 milliseconds