Lines Matching refs:time_t
94 * PARSEDATE_LATER - time overflow at the far end of time_t
95 * PARSEDATE_SOONER - time underflow at the low end of time_t
98 static int parsedate(const char *date, time_t *output);
283 static time_t time2epoch(int sec, int min, int hour,
291 return ((((time_t) (year - 1970) * 365
350 * PARSEDATE_LATER - time overflow at the far end of time_t
351 * PARSEDATE_SOONER - time underflow at the low end of time_t
357 static int parsedate(const char *date, time_t *output)
359 time_t t = 0;
524 /* an unsigned 32 bit time_t can only hold dates to 2106 */
530 /* a signed 32 bit time_t can only hold dates to the beginning of 2038 */
551 /* time2epoch() returns a time_t. time_t is often 32 bits, sometimes even on
552 architectures that feature 64 bit 'long' but ultimately time_t is the
563 return PARSEDATE_LATER; /* time_t overflow */
574 static int parsedate(const char *date, time_t *output)
582 time_t curl_getdate(const char *p, const time_t *now)
584 time_t parsed = -1;
602 time_t Curl_getdate_capped(const char *p)
604 time_t parsed = -1;
628 CURLcode Curl_gmtime(time_t intime, struct tm *store)