| /lighttpd1.4/src/t/ |
| H A D | test_mod_alias.c | 17 buffer_copy_string_len(&r.physical.basedir, CONST_STR_LEN("/tmp")); in test_mod_alias_check() 18 buffer_copy_string_len(&r.physical.path, CONST_STR_LEN("/tmp/")); in test_mod_alias_check() 23 buffer_copy_string_len(&r.physical.basedir, CONST_STR_LEN("/tmp")); in test_mod_alias_check() 24 buffer_copy_string_len(&r.physical.path, CONST_STR_LEN("/tmp/")); in test_mod_alias_check() 35 buffer_copy_string_len(&r.physical.basedir, CONST_STR_LEN("/tmp/")); in test_mod_alias_check() 36 buffer_copy_string_len(&r.physical.path, CONST_STR_LEN("/tmp/")); in test_mod_alias_check() 43 buffer_copy_string_len(&r.physical.basedir, CONST_STR_LEN("/tmp")); in test_mod_alias_check() 44 buffer_copy_string_len(&r.physical.path, CONST_STR_LEN("/tmp/foo")); in test_mod_alias_check() 52 buffer_copy_string_len(&r.physical.basedir, CONST_STR_LEN("/tmp")); in test_mod_alias_check() 63 buffer_copy_string_len(&r.physical.basedir, CONST_STR_LEN("/tmp")); in test_mod_alias_check() [all …]
|
| H A D | test_keyvalue.c | 61 buffer_copy_string_len(scheme, CONST_STR_LEN("http")); in test_keyvalue_pcre_keyvalue_buffer_process() 83 buffer_copy_string_len(url, CONST_STR_LEN("/foo")); in test_keyvalue_pcre_keyvalue_buffer_process() 84 buffer_copy_string_len(path, CONST_STR_LEN("/foo")); in test_keyvalue_pcre_keyvalue_buffer_process() 90 buffer_copy_string_len(url, CONST_STR_LEN("/foo?a=b")); in test_keyvalue_pcre_keyvalue_buffer_process() 91 buffer_copy_string_len(path, CONST_STR_LEN("/foo")); in test_keyvalue_pcre_keyvalue_buffer_process() 92 buffer_copy_string_len(query, CONST_STR_LEN("a=b")); in test_keyvalue_pcre_keyvalue_buffer_process() 97 buffer_copy_string_len(url, CONST_STR_LEN("/bar?a=b")); in test_keyvalue_pcre_keyvalue_buffer_process() 98 buffer_copy_string_len(path, CONST_STR_LEN("/bar")); in test_keyvalue_pcre_keyvalue_buffer_process() 99 buffer_copy_string_len(query, CONST_STR_LEN("a=b")); in test_keyvalue_pcre_keyvalue_buffer_process() 106 buffer_copy_string_len(query, CONST_STR_LEN("a=b")); in test_keyvalue_pcre_keyvalue_buffer_process() [all …]
|
| H A D | test_mod_userdir.c | 20 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("")); in test_mod_userdir_docroot_handler() 33 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/")); in test_mod_userdir_docroot_handler() 39 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/other")); in test_mod_userdir_docroot_handler() 45 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~")); in test_mod_userdir_docroot_handler() 58 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~/")); in test_mod_userdir_docroot_handler() 64 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~jan/")); in test_mod_userdir_docroot_handler() 84 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~.jan/")); in test_mod_userdir_docroot_handler() 90 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~jan/")); in test_mod_userdir_docroot_handler() 108 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~jan/")); in test_mod_userdir_docroot_handler() 117 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/~jan/")); in test_mod_userdir_docroot_handler() [all …]
|
| H A D | test_mod_access.c | 17 buffer_copy_string_len(urlpath, CONST_STR_LEN("/")); in test_mod_access_check() 24 buffer_copy_string_len(urlpath, CONST_STR_LEN("/index.html~")); in test_mod_access_check() 27 buffer_copy_string_len(urlpath, CONST_STR_LEN("/index.INC")); in test_mod_access_check() 35 buffer_copy_string_len(urlpath, CONST_STR_LEN("/ssi-include.txt")); in test_mod_access_check() 38 buffer_copy_string_len(urlpath, CONST_STR_LEN("/ssi-include.TXT")); in test_mod_access_check() 43 buffer_copy_string_len(urlpath, CONST_STR_LEN("/cgi.pl")); in test_mod_access_check()
|
| H A D | test_mod_simple_vhost.c | 16 buffer_copy_string_len(sroot, CONST_STR_LEN("/sroot/a/")); in test_mod_simple_vhost_build_doc_root_path() 17 buffer_copy_string_len(host, CONST_STR_LEN("www.example.org")); in test_mod_simple_vhost_build_doc_root_path() 18 buffer_copy_string_len(droot, CONST_STR_LEN("/droot/b/")); in test_mod_simple_vhost_build_doc_root_path() 22 buffer_copy_string_len(host, CONST_STR_LEN("www.example.org:8080")); in test_mod_simple_vhost_build_doc_root_path() 26 buffer_copy_string_len(droot, CONST_STR_LEN("")); in test_mod_simple_vhost_build_doc_root_path()
|
| H A D | test_buffer.c | 11 buffer_copy_string_len(psrc, in, in_len); in run_buffer_path_simplify() 83 buffer_copy_string_len(psrc, CONST_STR_LEN("0123456789abcdefghijklmnopqrstuvwxyz")); in test_buffer_to_lower_upper() 102 buffer_copy_string_len(b, CONST_STR_LEN("")); in test_buffer_string_space() 125 buffer_copy_string_len(b, CONST_STR_LEN("/")); in test_buffer_append_path_len() 128 buffer_copy_string_len(b, CONST_STR_LEN("/")); in test_buffer_append_path_len() 131 buffer_copy_string_len(b, CONST_STR_LEN("a")); in test_buffer_append_path_len() 134 buffer_copy_string_len(b, CONST_STR_LEN("a/")); in test_buffer_append_path_len() 137 buffer_copy_string_len(b, CONST_STR_LEN("a/")); in test_buffer_append_path_len() 140 buffer_copy_string_len(b, CONST_STR_LEN("/a/")); in test_buffer_append_path_len()
|
| H A D | test_mod_ssi.c | 108 buffer_copy_string_len(b, CONST_STR_LEN(ssi_include_shtml)); in test_mod_ssi_read_fd() 121 buffer_copy_string_len(&r->physical.doc_root, CONST_STR_LEN("/tmp")); in test_mod_ssi_read_fd() 122 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/ssi-include.shtml")); in test_mod_ssi_read_fd() 123 buffer_copy_string_len(&r->physical.rel_path, CONST_STR_LEN("/ssi-include.shtml")); in test_mod_ssi_read_fd() 124 buffer_copy_string_len(&r->physical.path, CONST_STR_LEN("/tmp/ssi-include.shtml")); in test_mod_ssi_read_fd()
|
| H A D | test_mod_evhost.c | 54 buffer_copy_string_len(authority, CONST_STR_LEN("host.example.org")); in test_mod_evhost_build_doc_root_path() 57 buffer_copy_string_len(authority, CONST_STR_LEN("example")); in test_mod_evhost_build_doc_root_path() 60 buffer_copy_string_len(authority, CONST_STR_LEN("[::1]:80")); in test_mod_evhost_build_doc_root_path()
|
| H A D | test_mod_staticfile.c | 267 buffer_copy_string_len(rqst_etag, CONST_STR_LEN("W/")); in test_http_response_send_file() 282 buffer_copy_string_len(rqst_etag, CONST_STR_LEN("W/\"12345\"")); in test_http_response_send_file() 299 buffer_copy_string_len(rqst_etag, CONST_STR_LEN("\"12345\",, ,, , ")); in test_http_response_send_file() 305 buffer_copy_string_len(rqst_etag, CONST_STR_LEN("\"1234\", ")); in test_http_response_send_file() 340 buffer_copy_string_len(&r->pathinfo, CONST_STR_LEN("/pathinfo")); in test_mod_staticfile_process() 403 buffer_copy_string_len(&r.uri.path, CONST_STR_LEN("/")); in test_mod_staticfile() 411 buffer_copy_string_len(&r.physical.path, fn, sizeof(fn)-1); in test_mod_staticfile() 417 buffer_copy_string_len(&r.physical.path, fn, sizeof(fn)-1); in test_mod_staticfile()
|
| H A D | test_mod_indexfile.c | 16 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/")); in test_mod_indexfile_reset() 17 buffer_copy_string_len(&r->physical.doc_root, CONST_STR_LEN("/tmp")); in test_mod_indexfile_reset() 18 buffer_copy_string_len(&r->physical.path, CONST_STR_LEN("/tmp/")); in test_mod_indexfile_reset()
|
| /lighttpd1.4/src/ |
| H A D | configfile.c | 384 buffer_copy_string_len(tb, CONST_STR_LEN("mod_authn_")); in config_warn_authn_module() 1189 buffer_copy_string_len(&ds->value, in config_insert() 1989 buffer_copy_string_len(token, s, 1); /* "(" */ in config_tokenizer() 1997 buffer_copy_string_len(token, s, 1); /* ")" */ in config_tokenizer() 2003 buffer_copy_string_len(token, s, 1); /* "$" */ in config_tokenizer() 2025 buffer_copy_string_len(token, s, 1); /* "{" */ in config_tokenizer() 2042 buffer_copy_string_len(token, s, 1); /* "}" */ in config_tokenizer() 2064 buffer_copy_string_len(token, s, i); in config_tokenizer() 2076 buffer_copy_string_len(token, s, i); in config_tokenizer() 2089 buffer_copy_string_len(token, s, i); in config_tokenizer() [all …]
|
| H A D | mod_evhost.c | 111 buffer_copy_string_len(bptr+used, pos, ptr-pos); in mod_evhost_parse_pattern() 114 buffer_copy_string_len(bptr+used+1, ptr, len); in mod_evhost_parse_pattern() 124 buffer_copy_string_len(bptr+used, pos, ptr-pos); in mod_evhost_parse_pattern()
|
| H A D | request.c | 725 buffer_copy_string_len(&r->target, v, vlen); in http_request_parse_header() 944 buffer_copy_string_len(&r->target, uri, len); in http_request_parse_reqline() 945 buffer_copy_string_len(&r->target_orig, uri, len); in http_request_parse_reqline() 980 buffer_copy_string_len(&r->uri.scheme, "https", scheme_port == 443 ? 5 : 4); in http_request_parse_target() 1036 buffer_copy_string_len(&r->uri.query, qstr + 1, rlen - plen - 1); in http_request_parse_target() 1042 buffer_copy_string_len(&r->uri.path, pstr, plen); in http_request_parse_target() 1230 buffer_copy_string_len(&r->uri.authority, CONST_STR_LEN("")); in http_request_parse()
|
| H A D | buffer.h | 103 void buffer_copy_string_len(buffer * restrict b, const char * restrict s, size_t len); 298 buffer_copy_string_len(b, BUF_PTR_LEN(src)); in buffer_copy_buffer() 364 buffer_copy_string_len(x, y, sizeof(y) - 1)
|
| H A D | burl.c | 93 buffer_copy_string_len(b, (char *)p, (size_t)j); in burl_normalize_basic_unreserved_fix() 169 buffer_copy_string_len(b, (char *)p, (size_t)j); in burl_normalize_basic_required_fix() 312 buffer_copy_string_len(t, b->ptr+qs, used - qs); in burl_normalize_path()
|
| H A D | mod_userdir.c | 219 buffer_copy_string_len(&p->cache_path[cached], b->ptr, plen); in mod_userdir_docroot_construct() 220 buffer_copy_string_len(&p->cache_user[cached], u, ulen); in mod_userdir_docroot_construct()
|
| H A D | mod_magnet.c | 1243 buffer_copy_string_len(b, s.ptr, s.len); in magnet_urldec() 1414 buffer_copy_string_len(b, s.ptr, s.len); in magnet_urlenc_normalize() 1434 buffer_copy_string_len(b, s.ptr, s.len); in magnet_fspath_simplify() 1682 buffer_copy_string_len(vb, v.ptr, v.len); in magnet_resphdr_set_kv() 1880 buffer_copy_string_len(dest, target->ptr, in magnet_env_get_uri_path_raw() 1894 buffer_copy_string_len(r->tmp_buf, qmark, in magnet_env_set_uri_path_raw() 1896 buffer_copy_string_len(&r->target, val->ptr, val->len); in magnet_env_set_uri_path_raw() 1919 buffer_copy_string_len(dest, s, strlen(s)); in magnet_env_get_laddr_by_id() 1924 buffer_copy_string_len(dest, srv_socket->srv_token->ptr, in magnet_env_get_laddr_by_id() 1933 buffer_copy_string_len(dest, srv_token->ptr+portoffset, in magnet_env_get_laddr_by_id() [all …]
|
| H A D | array.c | 394 buffer_copy_string_len(&ds->key, k, klen); in array_get_buf_ptr_ext() 404 buffer_copy_string_len(&di->key, k, klen); in array_get_int_ptr() 414 buffer_copy_string_len(&ds->key, k, klen); in array_get_buf_ptr() 422 buffer_copy_string_len(&ds->value, v, vlen); in array_insert_value()
|
| H A D | http_cgi.c | 103 buffer_copy_string_len(b, CONST_STR_LEN("CONTENT_TYPE")); in http_cgi_encode_varname() 325 buffer_copy_string_len(tb, CONST_STR_LEN("CONTENT_TYPE")); in http_cgi_headers()
|
| H A D | response.c | 290 buffer_copy_string_len(&r->pathinfo, r->target.ptr + reqlen - len, len); in http_response_physical_path_check() 292 buffer_copy_string_len(&r->pathinfo, pathinfo, len); in http_response_physical_path_check() 586 buffer_copy_string_len(&r->uri.authority, CONST_STR_LEN("")); in http_response_comeback() 670 buffer_copy_string_len(b, CONST_STR_LEN( in http_response_static_errdoc()
|
| H A D | mod_vhostdb.c | 263 buffer_copy_string_len(&r->server_name_buf, ve->server_name, ve->slen); in mod_vhostdb_found() 265 buffer_copy_string_len(&r->physical.doc_root, ve->document_root, ve->dlen); in mod_vhostdb_found()
|
| H A D | array.h | 123 buffer_copy_string_len(array_get_buf_ptr(a, k, klen), v, vlen); in array_set_key_value()
|
| H A D | stat_cache.c | 247 buffer_copy_string_len(&fam_dir->name, name, len); in fam_dir_entry_init() 1113 buffer_copy_string_len(&sce->etag, BUF_PTR_LEN(etagb)); in stat_cache_update_entry() 1125 buffer_copy_string_len(&sce->name, name, len); in stat_cache_update_entry() 1342 buffer_copy_string_len(&sce->name, name->ptr, len); in stat_cache_get_entry() 1369 buffer_copy_string_len(&sce->name, name->ptr, len); in stat_cache_get_entry()
|
| H A D | mod_sockproxy.c | 153 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/")); in mod_sockproxy_connection_accept()
|
| H A D | keyvalue.c | 508 buffer_copy_string_len(b, (char *)p, (size_t)j); in pcre_keyvalue_burl_percent_high_UTF8() 533 buffer_copy_string_len(b, (char *)p, (size_t)j); in pcre_keyvalue_burl_percent_percent_high_UTF8()
|