Home
last modified time | relevance | path

Searched refs:tlen (Results 1 – 9 of 9) sorted by relevance

/lighttpd1.4/src/
H A Dlog.c30 static uint32_t tlen; variable
107 tlen = (uint32_t) strftime(tstr, sizeof(tstr), "%F %T", in log_buffer_tstr()
125 buffer_append_str2(b, tstr, tlen, CONST_STR_LEN(".000000000: ")); in __attribute_nonnull__()
135 tstr[ tlen] = ':'; in __attribute_nonnull__()
136 tstr[++tlen] = ' '; in __attribute_nonnull__()
138 ++tlen; in __attribute_nonnull__()
140 buffer_copy_string_len(b, tstr, tlen); in __attribute_nonnull__()
H A Dfdevent.c566 socklen_t tlen = sizeof(tcpi); in fdevent_is_tcp_half_closed() local
567 return (0 == getsockopt(fd, IPPROTO_TCP, TCP_CONNECTION_INFO, &tcpi, &tlen) in fdevent_is_tcp_half_closed()
572 socklen_t tlen = sizeof(tcpi); in fdevent_is_tcp_half_closed()
573 return (0 == getsockopt(fd, IPPROTO_TCP, TCP_INFO, &tcpi, &tlen) in fdevent_is_tcp_half_closed()
578 socklen_t tlen = sizeof(tcpi);/*SOL_TCP == IPPROTO_TCP*/ in fdevent_is_tcp_half_closed()
579 return (0 == getsockopt(fd, SOL_TCP, TCP_INFO, &tcpi, &tlen) in fdevent_is_tcp_half_closed()
H A Dhttp_cgi.c252 const size_t tlen = buffer_clen(srv_sock->srv_token); in http_cgi_headers() local
254 if (n < tlen) { /*(n != tlen)*/ in http_cgi_headers()
256 n = tlen - (n+1); in http_cgi_headers()
H A Dmod_dirlisting.c1097 size_t tlen; in http_read_directory() local
1100 tlen = sizeof("\",\"type\":\"file\",\"size\":")-1; in http_read_directory()
1104 tlen = sizeof("\",\"type\":\"dir\",\"size\":")-1; in http_read_directory()
1109 { t, tlen } in http_read_directory()
H A Dmod_accesslog.c842 const uint32_t tlen = buffer_clen(srv_token); in log_access_record_cold() local
843 if (colon < tlen) /*(colon != tlen)*/ in log_access_record_cold()
845 tlen - (colon+1)); in log_access_record_cold()
H A Dmod_auth.c1244 const uint32_t tlen = (uint32_t)(e - c); in mod_auth_digest_parse_authorization() local
1247 if (tlen != dkv[i].klen || 0 != memcmp(c, dkv[i].key, tlen)) in mod_auth_digest_parse_authorization()
1249 c += tlen; in mod_auth_digest_parse_authorization()
H A Dgw_backend.c44 static int * gw_status_get_counter(gw_host *host, gw_proc *proc, const char *tag, size_t tlen) { in gw_status_get_counter() argument
66 force_assert(tlen < sizeof(label) - llen); in gw_status_get_counter()
67 memcpy(label+llen, tag, tlen); in gw_status_get_counter()
68 llen += tlen; in gw_status_get_counter()
H A Dmod_magnet.c1930 const uint32_t tlen = buffer_clen(srv_token); in magnet_env_get_laddr_by_id() local
1932 portoffset = portoffset < tlen ? portoffset+1 : tlen; in magnet_env_get_laddr_by_id()
1934 tlen-portoffset); in magnet_env_get_laddr_by_id()
H A Dmod_nss.c2478 struct { const char *tag; uint32_t tlen; char *(*fn)(const CERTName *); } in https_add_ssl_client_subject() member
2503 memcpy(key+prelen, comp[i].tag, comp[i].tlen); /*(not '\0'-terminated)*/ in https_add_ssl_client_subject()
2504 http_header_env_set(r, key, prelen+comp[i].tlen, s, n); in https_add_ssl_client_subject()