Home
last modified time | relevance | path

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

/mOS-networking-stack/util/
H A Dtdate_parse.c200 struct tm tm; in httpdate_to_timet() local
208 memset( (char*) &tm, 0, sizeof(struct tm) ); in httpdate_to_timet()
226 tm.tm_mon = tm_mon; in httpdate_to_timet()
229 tm.tm_min = tm_min; in httpdate_to_timet()
230 tm.tm_sec = tm_sec; in httpdate_to_timet()
240 tm.tm_mon = tm_mon; in httpdate_to_timet()
243 tm.tm_min = tm_min; in httpdate_to_timet()
244 tm.tm_sec = tm_sec; in httpdate_to_timet()
254 tm.tm_min = tm_min; in httpdate_to_timet()
328 tm.tm_year += 100; in httpdate_to_timet()
[all …]
/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dhttp-header-glue.c220 struct tm *tm; in strftime_cache_get() local
281 struct tm tm; in http_response_handle_cachable() local
303 tm.tm_isdst = 0; in http_response_handle_cachable()
304 t_header = mktime(&tm); in http_response_handle_cachable()
307 tm.tm_isdst = 0; in http_response_handle_cachable()
308 t_file = mktime(&tm); in http_response_handle_cachable()
341 struct tm tm; in http_response_handle_cachable() local
355 tm.tm_isdst = 0; in http_response_handle_cachable()
356 t_header = mktime(&tm); in http_response_handle_cachable()
359 tm.tm_isdst = 0; in http_response_handle_cachable()
[all …]
H A Dmod_accesslog.c709 struct tm tm; in REQUESTDONE_FUNC() local
717 localtime_r(&(srv->cur_ts), &tm); in REQUESTDONE_FUNC()
718 …ts_accesslog_str->ptr, p->conf.ts_accesslog_str->size - 1, p->conf.ts_accesslog_fmt_str->ptr, &tm); in REQUESTDONE_FUNC()
725 buffer_append_string_len(p->conf.ts_accesslog_str, tm.tm_gmtoff >= 0 ? "+" : "-", 1); in REQUESTDONE_FUNC()
727 scd = abs(tm.tm_gmtoff); in REQUESTDONE_FUNC()
741 gmtime_r(&(srv->cur_ts), &tm); in REQUESTDONE_FUNC()
742 …ts_accesslog_str->ptr, p->conf.ts_accesslog_str->size - 1, p->conf.ts_accesslog_fmt_str->ptr, &tm); in REQUESTDONE_FUNC()
H A Dmod_dirlisting.c652 struct tm tm; in http_list_directory() local
797 localtime_r(&(tmp->mtime), &tm); in http_list_directory()
798 strftime(datebuf, sizeof(datebuf), "%Y-%b-%d %H:%M:%S", &tm); in http_list_directory()
852 localtime_r(&(tmp->mtime), &tm); in http_list_directory()
853 strftime(datebuf, sizeof(datebuf), "%Y-%b-%d %H:%M:%S", &tm); in http_list_directory()
/mOS-networking-stack/samples/lighttpd-1.4.32/
H A DSConstruct61 struct tm a;
66 context.Message('Checking for tm_gmtoff in struct tm...')
H A Dconfigure.ac74 AC_CHECK_MEMBER(struct tm.tm_gmtoff,[AC_DEFINE([HAVE_STRUCT_TM_GMTOFF],[1],[gmtoff in struct tm])],…
H A Dconfig.h.in298 /* gmtoff in struct tm */
H A DNEWS153 * Set tm.tm_isdst = 0 before mktime() (fixes #2047)