Searched refs:tm (Results 1 – 8 of 8) sorted by relevance
| /mOS-networking-stack/util/ |
| H A D | tdate_parse.c | 200 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 D | http-header-glue.c | 220 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 D | mod_accesslog.c | 709 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 D | mod_dirlisting.c | 652 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 D | SConstruct | 61 struct tm a; 66 context.Message('Checking for tm_gmtoff in struct tm...')
|
| H A D | configure.ac | 74 AC_CHECK_MEMBER(struct tm.tm_gmtoff,[AC_DEFINE([HAVE_STRUCT_TM_GMTOFF],[1],[gmtoff in struct tm])],…
|
| H A D | config.h.in | 298 /* gmtoff in struct tm */
|
| H A D | NEWS | 153 * Set tm.tm_isdst = 0 before mktime() (fixes #2047)
|