Home
last modified time | relevance | path

Searched refs:buffer_append_string_len (Results 1 – 25 of 50) sorted by relevance

12

/lighttpd1.4/src/
H A Dmod_status.c167 buffer_append_string_len(b, buf, (size_t) in mod_status_get_multiplier()
170 buffer_append_string_len(b, unit, 2); in mod_status_get_multiplier()
310 buffer_append_string_len(b, CONST_STR_LEN( in mod_status_handle_server_status_html()
373 buffer_append_string_len(b, CONST_STR_LEN( in mod_status_handle_server_status_html()
380 buffer_append_string_len(b, in mod_status_handle_server_status_html()
388 buffer_append_string_len(b, in mod_status_handle_server_status_html()
428 buffer_append_string_len(b, CONST_STR_LEN(" s" in mod_status_handle_server_status_html()
515 buffer_append_string_len(b, CONST_STR_LEN( in mod_status_handle_server_status_html()
739 buffer_append_string_len(b, CONST_STR_LEN( in mod_status_handle_server_config()
756 buffer_append_string_len(b, CONST_STR_LEN( in mod_status_handle_server_config()
[all …]
H A Dmod_proxy.c653 buffer_append_string_len(b, CONST_STR_LEN(", ")); in proxy_set_Forwarded()
658 buffer_append_string_len(b, CONST_STR_LEN("for=")); in proxy_set_Forwarded()
668 ? buffer_append_string_len(b, CONST_STR_LEN("\"[")) in proxy_set_Forwarded()
700 buffer_append_string_len(b, CONST_STR_LEN("by=\"")); in proxy_set_Forwarded()
807 buffer_append_string_len(tb, CONST_STR_LEN("\r\n")); in proxy_stdin_append()
858 buffer_append_string_len(b, !hctx->conf.header.force_http10 in proxy_create_env()
996 buffer_append_string_len(b, CONST_STR_LEN(", te")); in proxy_create_env()
998 buffer_append_string_len(b, CONST_STR_LEN(", upgrade")); in proxy_create_env()
999 buffer_append_string_len(b, CONST_STR_LEN("\r\n\r\n")); in proxy_create_env()
1013 buffer_append_string_len(b, CONST_STR_LEN( in proxy_create_env()
[all …]
H A Dmod_dirlisting.c849 buffer_append_string_len(out, CONST_STR_LEN( in http_list_directory_header()
862 buffer_append_string_len(out, CONST_STR_LEN("</title>\n")); in http_list_directory_header()
871 buffer_append_string_len(out, CONST_STR_LEN( in http_list_directory_header()
917 buffer_append_string_len(out, CONST_STR_LEN( in http_list_directory_header()
932 buffer_append_string_len(out, CONST_STR_LEN( in http_list_directory_header()
979 buffer_append_string_len(out, CONST_STR_LEN( in http_list_directory_footer()
1165 buffer_append_string_len(out, CONST_STR_LEN("/\">")); in http_list_directory()
1206 buffer_append_string_len(out, CONST_STR_LEN("\">")); in http_list_directory()
1271 buffer_append_string_len(jb, CONST_STR_LEN("]}")); in mod_dirlisting_json_append()
1394 buffer_append_string_len(hctx->jb, CONST_STR_LEN("{[")); in URIHANDLER_FUNC()
[all …]
H A Dhttp_chunk.c32 buffer_append_string_len(&b, CONST_STR_LEN("\r\n")); in http_chunk_len_append()
49 buffer_append_string_len(&b, CONST_STR_LEN("\r\n")); in http_chunk_len_append_tempfile()
84 buffer_append_string_len(b, CONST_STR_LEN("\r\n")); in http_chunk_append_read_fd_range()
308 buffer_append_string_len(h, mem, (uint32_t)len); in http_chunk_decode_append_data()
325 buffer_append_string_len(h, mem, hsz); in http_chunk_decode_append_data()
380 buffer_append_string_len(h, mem, mlen); in http_chunk_decode_append_data()
385 buffer_append_string_len(h, CONST_STR_LEN("\r\n")); in http_chunk_decode_append_data()
389 buffer_append_string_len(h, CONST_STR_LEN("0\r\n")); in http_chunk_decode_append_data()
391 buffer_append_string_len(h, CONST_STR_LEN("\r\n")); in http_chunk_decode_append_data()
394 buffer_append_string_len(h, mem, (uint32_t)len); in http_chunk_decode_append_data()
H A Dmod_gnutls.c1794 buffer_append_string_len(&s->priority_str, in network_init_ssl()
1827 buffer_append_string_len(&s->priority_str, in network_init_ssl()
3101 buffer_append_string_len(plist, in mod_gnutls_ssl_conf_ciphersuites()
3105 buffer_append_string_len(plist, in mod_gnutls_ssl_conf_ciphersuites()
3109 buffer_append_string_len(plist, in mod_gnutls_ssl_conf_ciphersuites()
3113 buffer_append_string_len(plist, in mod_gnutls_ssl_conf_ciphersuites()
3117 buffer_append_string_len(plist, in mod_gnutls_ssl_conf_ciphersuites()
3188 buffer_append_string_len(plist, in mod_gnutls_ssl_conf_ciphersuites()
3235 buffer_append_string_len(plist, in mod_gnutls_ssl_conf_ciphersuites()
3241 buffer_append_string_len(plist, in mod_gnutls_ssl_conf_ciphersuites()
[all …]
H A Dmod_webdav.c854 buffer_append_string_len(b, CONST_STR_LEN( in webdav_xml_href()
857 buffer_append_string_len(b, CONST_STR_LEN( in webdav_xml_href()
865 buffer_append_string_len(b, CONST_STR_LEN( in webdav_xml_status()
868 buffer_append_string_len(b, CONST_STR_LEN( in webdav_xml_status()
886 buffer_append_string_len(b, CONST_STR_LEN( in webdav_xml_propstat_protected()
909 buffer_append_string_len(b, CONST_STR_LEN( in webdav_xml_propstat_status()
924 buffer_append_string_len(b, CONST_STR_LEN( in webdav_xml_propstat()
936 buffer_append_string_len(b, CONST_STR_LEN( in webdav_xml_response_status()
940 buffer_append_string_len(b, CONST_STR_LEN( in webdav_xml_response_status()
1008 buffer_append_string_len(b, CONST_STR_LEN( in webdav_xml_activelock()
[all …]
H A Dhttp_kv.c206 buffer_append_string_len(b, CONST_STR_LEN("200 OK")); in http_status_append()
212 buffer_append_string_len(b, kv->value, kv->vlen); in http_status_append()
222 buffer_append_string_len(b, kv->value, kv->vlen); in http_version_append()
H A Dhttp_header.c198 buffer_append_string_len(vb, CONST_STR_LEN(", ")); in http_header_token_append()
199 buffer_append_string_len(vb, v, vlen); in http_header_token_append()
207 buffer_append_string_len(vb, CONST_STR_LEN("; ")); in http_header_token_append_cookie()
208 buffer_append_string_len(vb, v, vlen); in http_header_token_append_cookie()
286 buffer_append_string_len(vb, v, vlen); in http_header_response_insert()
H A Dmod_authn_ldap.c175 buffer_append_string_len(tb, CONST_STR_LEN("ldap://")); in mod_authn_add_scheme()
176 buffer_append_string_len(tb, b, (size_t)(e - b)); in mod_authn_add_scheme()
403 buffer_append_string_len(filter, b+i, len); in mod_authn_append_ldap_dn_escape()
479 buffer_append_string_len(filter, b+i, len); in mod_authn_append_ldap_filter_escape()
733 buffer_append_string_len(ldap_filter, CONST_STR_LEN("uid=")); in mod_authn_ldap_basic()
741 buffer_append_string_len(ldap_filter, b, (size_t)(d - b)); in mod_authn_ldap_basic()
746 buffer_append_string_len(ldap_filter, b, (size_t)(d - b)); in mod_authn_ldap_basic()
H A Dresponse.c130 buffer_append_string_len(b, in http_response_write_header()
167 buffer_append_string_len(b, tstr, 37); in http_response_write_header()
174 buffer_append_string_len(b, CONST_STR_LEN("\r\n\r\n")); in http_response_write_header()
654 buffer_append_string_len(&r->physical.path, CONST_STR_LEN(".html")); in http_response_static_errdoc()
678 buffer_append_string_len(b, CONST_STR_LEN( in http_response_static_errdoc()
684 buffer_append_string_len(b, CONST_STR_LEN( in http_response_static_errdoc()
861 buffer_append_string_len(b, CONST_STR_LEN("\r\n")); in http_response_write_prepare()
H A Dmod_vhostdb_ldap.c84 buffer_append_string_len(tb, CONST_STR_LEN("ldap://")); in mod_vhostdb_dbconf_add_scheme()
85 buffer_append_string_len(tb, b, (size_t)(e - b)); in mod_vhostdb_dbconf_add_scheme()
241 buffer_append_string_len(filter, b+i, len); in mod_authn_append_ldap_filter_escape()
418 buffer_append_string_len(filter, b, (size_t)(d - b)); in mod_vhostdb_ldap_query()
422 buffer_append_string_len(filter, b, (size_t)(d - b)); in mod_vhostdb_ldap_query()
H A Dbuffer.h107 void buffer_append_string_len(buffer * restrict b, const char * restrict s, size_t len);
304 buffer_append_string_len(b, BUF_PTR_LEN(src)); in buffer_append_buffer()
361 buffer_append_string_len(x, y, sizeof(y) - 1)
H A Dbuffer.c179 buffer_append_string_len(b, s, strlen(s)); in buffer_append_string()
193 void buffer_append_string_len(buffer * const restrict b, const char * const restrict s, const size_… in buffer_append_string_len() function
323 buffer_append_string_len(b, str, buf+sizeof(buf) - str); in buffer_append_int()
734 if (s - ptr) buffer_append_string_len(b, ptr, s - ptr); in buffer_append_bs_escaped()
782 if (s - ptr) buffer_append_string_len(b, ptr, s - ptr); in buffer_append_bs_escaped_json()
H A Dmod_accesslog.c208 buffer_append_string_len(&f->string, format + start, i - start); in accesslog_parse_format()
703 buffer_append_string_len(b, CONST_STR_LEN("000")); in accesslog_append_time()
707 buffer_append_string_len(b, CONST_STR_LEN("000000")); in accesslog_append_time()
709 buffer_append_string_len(b, CONST_STR_LEN("000000000")); in accesslog_append_time()
840 buffer_append_string_len(b, srv_token->ptr, colon); in log_access_record_cold()
844 buffer_append_string_len(b, srv_token->ptr+colon+1, in log_access_record_cold()
H A Dplugin.c188 buffer_append_string_len(tb, CONST_STR_LEN(".dll")); in plugins_load()
199 buffer_append_string_len(tb, CONST_STR_LEN("_plugin_init")); in plugins_load()
209 buffer_append_string_len(tb, CONST_STR_LEN(".dll")); in plugins_load()
211 buffer_append_string_len(tb, CONST_STR_LEN(".so")); in plugins_load()
H A Dmod_ajp13.c685 buffer_append_string_len(b, CONST_STR_LEN("HTTP/1.1 ")); in ajp13_expand_headers()
696 if (len) buffer_append_string_len(b, (char *)ptr, len); in ajp13_expand_headers()
726 buffer_append_string_len(b, hcode[idx].h, hcode[idx].len); in ajp13_expand_headers()
743 buffer_append_string_len(b, (char *)ptr, len); in ajp13_expand_headers()
748 buffer_append_string_len(b, CONST_STR_LEN("\n\n")); in ajp13_expand_headers()
H A Dmod_vhostdb_pgsql.c130 buffer_append_string_len(sqlquery, b, (size_t)(d - b)); in mod_vhostdb_pgsql_query()
140 buffer_append_string_len(sqlquery, b, (size_t)(d - b)); in mod_vhostdb_pgsql_query()
H A Dhttp_kv.h101 buffer_append_string_len(b, BUF_PTR_LEN(kv)); in http_method_append()
H A Dburl.c320 buffer_append_string_len(b, BUF_PTR_LEN(t)); in burl_normalize_path()
503 buffer_append_string_len(b, str, len); in burl_append()
510 buffer_append_string_len(b, str, len); in burl_append()
H A Dmod_authn_dbi.c480 buffer_append_string_len(sqlquery, b, (size_t)(d - b)); in mod_authn_dbi_query_build()
481 buffer_append_string_len(sqlquery, esc, elen); in mod_authn_dbi_query_build()
486 buffer_append_string_len(sqlquery, b, (size_t)(d - b)); in mod_authn_dbi_query_build()
H A Dkeyvalue.c371 buffer_append_string_len(b, pattern + start, k - start); in pcre_keyvalue_buffer_subst()
386 buffer_append_string_len(b, pattern+k, pattern[k] == pattern[k+1] ? 1 : 2); in pcre_keyvalue_buffer_subst()
394 buffer_append_string_len(b, pattern + start, pattern_len - start); in pcre_keyvalue_buffer_subst()
H A Dmod_vhostdb_mysql.c150 buffer_append_string_len(sqlquery, b, (size_t)(d - b)); in mod_vhostdb_mysql_query()
160 buffer_append_string_len(sqlquery, b, (size_t)(d - b)); in mod_vhostdb_mysql_query()
H A Dlog.c121 buffer_append_string_len(b, CONST_STR_LEN(".000000000: ")); in __attribute_nonnull__()
170 buffer_append_string_len(b, s, n); /* common case; nothing to encode */ in log_buffer_append_encoded()
H A Dhttp_range.c220 buffer_append_string_len(tb,CONST_STR_LEN("\r\nContent-Range: bytes ")); in http_range_multi()
253 buffer_append_string_len(tb, CONST_STR_LEN("\r\n\r\n")); in http_range_multi()
/lighttpd1.4/src/t/
H A Dtest_mod_staticfile.c73 buffer_append_string_len(&r->physical.path, CONST_STR_LEN("-nonexistent")); in test_http_response_send_file()
132 buffer_append_string_len( in test_http_response_send_file()
287 buffer_append_string_len(rqst_etag, CONST_STR_LEN(", ")); in test_http_response_send_file()
293 buffer_append_string_len(rqst_etag, CONST_STR_LEN(", W/")); in test_http_response_send_file()
307 buffer_append_string_len(rqst_etag, CONST_STR_LEN(", \"brokentrailing")); in test_http_response_send_file()
360 buffer_append_string_len(&r->physical.path, CONST_STR_LEN(".exe")); in test_mod_staticfile_process()

12