Searched refs:TIME64_CAST (Results 1 – 14 of 14) sorted by relevance
| /lighttpd1.4/src/ |
| H A D | sys-time.h | 100 t = TIME64_CAST(t); in gmtime_y2038_kludge32() 136 t = TIME64_CAST(t); in localtime_y2038_kludge32()
|
| H A D | first.h | 136 #define TIME64_CAST(t) (t) macro 144 #define TIME64_CAST(t) ((unix_time64_t)(uint32_t)(t)) macro
|
| H A D | log.c | 50 ts->tv_sec = TIME64_CAST(ts32.tv_sec); in log_clock_gettime() 65 ts->tv_sec = TIME64_CAST(tv.tv_sec); in log_clock_gettime() 120 buffer_append_int(b, TIME64_CAST(ts.tv_sec)); in __attribute_nonnull__()
|
| H A D | http_date.c | 290 return (TIME64_CAST(lmtime) > TIME64_CAST(ifmtime) || ifmtime==(time_t)-1); in http_date_if_modified_since()
|
| H A D | mod_expire.c | 271 expires += TIME64_CAST(st->st_mtime); in mod_expire_set_header()
|
| H A D | mod_magnet.c | 577 lua_pushinteger(L, TIME64_CAST(sce->st.st_atime)); in magnet_stat_field() 581 lua_pushinteger(L, TIME64_CAST(sce->st.st_atime)); in magnet_stat_field() 597 lua_pushinteger(L, TIME64_CAST(sce->st.st_ctime)); in magnet_stat_field() 601 lua_pushinteger(L, TIME64_CAST(sce->st.st_ctime)); in magnet_stat_field() 623 lua_pushinteger(L, TIME64_CAST(sce->st.st_mtime)); in magnet_stat_field() 627 lua_pushinteger(L, TIME64_CAST(sce->st.st_mtime)); in magnet_stat_field()
|
| H A D | mod_ssi.c | 994 if (include_file_last_mtime < TIME64_CAST(stb.st_mtime)) in process_ssi_stmt() 995 include_file_last_mtime = TIME64_CAST(stb.st_mtime); in process_ssi_stmt() 1599 if (TIME64_CAST(st.st_mtime) < include_file_last_mtime) in mod_ssi_handle_request()
|
| H A D | mod_gnutls.c | 344 session_ticket_keys[0].active_ts = TIME64_CAST(buf[1]); in mod_gnutls_session_ticket_key_file() 345 session_ticket_keys[0].expire_ts = TIME64_CAST(buf[2]); in mod_gnutls_session_ticket_key_file() 375 && TIME64_CAST(st.st_mtime) > stek_rotate_ts in mod_gnutls_session_ticket_key_check() 1025 || TIME64_CAST(st.st_mtime) <= pc->ssl_stapling_loadts) { in mod_gnutls_refresh_stapling_file() 1257 pc->notAfter = TIME64_CAST(gnutls_x509_crt_get_expiration_time( in network_gnutls_load_pemfile()
|
| H A D | mod_openssl.c | 417 session_ticket_keys[3].active_ts = TIME64_CAST(buf[1]); in mod_openssl_session_ticket_key_file() 418 session_ticket_keys[3].expire_ts = TIME64_CAST(buf[2]); in mod_openssl_session_ticket_key_file() 444 && TIME64_CAST(st.st_mtime) > stek_rotate_ts) in mod_openssl_session_ticket_key_check() 1519 return (t != -1) ? TIME64_CAST(t) + offset : t; in mod_openssl_asn1_time_to_posix() 1618 || TIME64_CAST(st.st_mtime) <= pc->ssl_stapling_loadts) { in mod_openssl_refresh_stapling_file()
|
| H A D | mod_dirlisting.c | 1112 ,{ mstr, li_itostrn(mstr, sizeof(mstr), TIME64_CAST(st.st_mtime)) } in http_read_directory() 1478 TIME64_CAST(sce->st.st_mtime) + p->conf.cache->max_age - log_epoch_secs; in mod_dirlisting_cache_check()
|
| H A D | mod_wolfssl.c | 406 session_ticket_keys[3].active_ts = TIME64_CAST(buf[1]); in mod_openssl_session_ticket_key_file() 407 session_ticket_keys[3].expire_ts = TIME64_CAST(buf[2]); in mod_openssl_session_ticket_key_file() 433 && TIME64_CAST(st.st_mtime) > stek_rotate_ts) in mod_openssl_session_ticket_key_check() 1555 || TIME64_CAST(st.st_mtime) <= pc->ssl_stapling_loadts) { in mod_openssl_refresh_stapling_file()
|
| H A D | server.c | 316 const unix_time64_t new_ts = TIME64_CAST(time(NULL)); in server_epoch_secs() 349 srv->startup_ts = log_epoch_secs = TIME64_CAST(time(NULL)); in server_init()
|
| H A D | mod_mbedtls.c | 322 session_ticket_keys[0].active_ts = TIME64_CAST(buf[1]); in mod_mbedtls_session_ticket_key_file() 323 session_ticket_keys[0].expire_ts = TIME64_CAST(buf[2]); in mod_mbedtls_session_ticket_key_file() 349 && TIME64_CAST(st.st_mtime) > stek_rotate_ts in mod_mbedtls_session_ticket_key_check() 1062 pc->notAfter = TIME64_CAST(timegm(&tm)); in network_mbedtls_load_pemfile()
|
| H A D | mod_nss.c | 1117 || TIME64_CAST(st.st_mtime) <= pc->ssl_stapling_loadts) { in mod_nss_refresh_stapling_file()
|