/dports/www/lighttpd/lighttpd-1.4.63/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_evasive.c | 19 buffer_copy_string_len(&c[0].dst_addr_buf, CONST_STR_LEN("10.0.0.1")); in test_mod_evasive_check() 21 buffer_copy_string_len(&c[1].dst_addr_buf, CONST_STR_LEN("10.0.0.2")); in test_mod_evasive_check() 23 buffer_copy_string_len(&c[2].dst_addr_buf, CONST_STR_LEN("10.0.0.3")); in test_mod_evasive_check() 25 buffer_copy_string_len(&c[3].dst_addr_buf, CONST_STR_LEN("10.0.0.4")); in test_mod_evasive_check() 49 buffer_copy_string_len(&c[1].dst_addr_buf, CONST_STR_LEN("10.0.0.1")); in test_mod_evasive_check() 54 buffer_copy_string_len(&c[1].dst_addr_buf, CONST_STR_LEN("10.0.0.1")); in test_mod_evasive_check() 59 buffer_copy_string_len(&c[2].dst_addr_buf, CONST_STR_LEN("10.0.0.1")); in test_mod_evasive_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 | 268 buffer_copy_string_len(rqst_etag, CONST_STR_LEN("W/")); in test_http_response_send_file() 283 buffer_copy_string_len(rqst_etag, CONST_STR_LEN("W/\"12345\"")); in test_http_response_send_file() 300 buffer_copy_string_len(rqst_etag, CONST_STR_LEN("\"12345\",, ,, , ")); in test_http_response_send_file() 306 buffer_copy_string_len(rqst_etag, CONST_STR_LEN("\"1234\", ")); in test_http_response_send_file() 341 buffer_copy_string_len(&r->pathinfo, CONST_STR_LEN("/pathinfo")); in test_mod_staticfile_process() 404 buffer_copy_string_len(&r.uri.path, CONST_STR_LEN("/")); in test_mod_staticfile() 412 buffer_copy_string_len(&r.physical.path, fn, sizeof(fn)-1); in test_mod_staticfile() 418 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()
|
/dports/www/lighttpd/lighttpd-1.4.63/src/ |
H A D | configfile.c | 1896 buffer_copy_string_len(token, CONST_STR_LEN("")); in config_tokenizer() 1936 buffer_copy_string_len(token, CONST_STR_LEN("(")); in config_tokenizer() 1944 buffer_copy_string_len(token, CONST_STR_LEN(")")); in config_tokenizer() 1953 buffer_copy_string_len(token, CONST_STR_LEN("$")); in config_tokenizer() 1960 buffer_copy_string_len(token, CONST_STR_LEN("+=")); in config_tokenizer() 1965 buffer_copy_string_len(token, CONST_STR_LEN("+")); in config_tokenizer() 1985 buffer_copy_string_len(token, CONST_STR_LEN("{")); in config_tokenizer() 1994 buffer_copy_string_len(token, CONST_STR_LEN("}")); in config_tokenizer() 2018 buffer_copy_string_len(token, CONST_STR_LEN("[")); in config_tokenizer() 2027 buffer_copy_string_len(token, CONST_STR_LEN("]")); 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() 259 buffer_copy_string_len(key, CONST_STR_LEN("%")); in mod_evhost_parse_host() 269 buffer_copy_string_len(key, CONST_STR_LEN("%")); in mod_evhost_parse_host()
|
H A D | http_etag.c | 57 buffer_copy_string_len(etag, CONST_STR_LEN("\"")); in http_etag_remix() 59 buffer_copy_string_len(etag, CONST_STR_LEN("\"")); in http_etag_remix()
|
H A D | request.c | 676 buffer_copy_string_len(&r->target, v, vlen); in http_request_parse_header() 877 buffer_copy_string_len(&r->target, uri, len); in http_request_parse_reqline() 878 buffer_copy_string_len(&r->target_orig, uri, len); in http_request_parse_reqline() 913 buffer_copy_string_len(&r->uri.scheme, "https", scheme_port == 443 ? 5 : 4); in http_request_parse_target() 969 buffer_copy_string_len(&r->uri.query, qstr + 1, rlen - plen - 1); in http_request_parse_target() 975 buffer_copy_string_len(&r->uri.path, pstr, plen); in http_request_parse_target() 1163 buffer_copy_string_len(&r->uri.authority, CONST_STR_LEN("")); in http_request_parse()
|
H A D | buffer.h | 110 void buffer_copy_string_len(buffer * restrict b, const char * restrict s, size_t len); 303 buffer_copy_string_len(b, BUF_PTR_LEN(src)); in buffer_copy_buffer() 363 buffer_copy_string_len(x, y, sizeof(y) - 1)
|
H A D | mod_magnet.c | 931 buffer_copy_string_len(b, s.ptr, s.len); in magnet_urldec() 1104 buffer_copy_string_len(b, s.ptr, s.len); in magnet_urlenc_normalize() 1124 buffer_copy_string_len(b, s.ptr, s.len); in magnet_fspath_simplify() 1298 buffer_copy_string_len(vb, v.ptr, v.len); in magnet_resphdr_set_kv() 1473 buffer_copy_string_len(dest, s, strlen(s)); in magnet_env_get_buffer_by_id() 1477 buffer_copy_string_len(dest, srv_socket->srv_token->ptr, in magnet_env_get_buffer_by_id() 1491 buffer_copy_string_len(dest, srv_token->ptr+portoffset, in magnet_env_get_buffer_by_id() 1520 buffer_copy_string_len(dest, CONST_STR_LEN("")); in magnet_env_get_buffer_by_id() 1578 buffer_copy_string_len(r->tmp_buf, qmark, in magnet_env_set() 1580 buffer_copy_string_len(&r->target, val.ptr, val.len); in magnet_env_set() [all …]
|
H A D | burl.c | 93 buffer_copy_string_len(b, (char *)p, (size_t)j); in burl_normalize_basic_unreserved_fix() 168 buffer_copy_string_len(b, (char *)p, (size_t)j); in burl_normalize_basic_required_fix() 310 buffer_copy_string_len(t, b->ptr+qs, used - qs); in burl_normalize_path()
|
H A D | mod_uploadprogress.c | 50 buffer_copy_string_len(&rme->r_id, r_id, idlen); in request_map_entry_init() 295 buffer_copy_string_len(b, CONST_STR_LEN( in URIHANDLER_FUNC()
|
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 | array.c | 402 buffer_copy_string_len(&ds->key, k, klen); in array_get_buf_ptr_ext() 412 buffer_copy_string_len(&di->key, k, klen); in array_get_int_ptr() 422 buffer_copy_string_len(&ds->key, k, klen); in array_get_buf_ptr() 430 buffer_copy_string_len(&ds->value, v, vlen); in array_insert_value()
|
/dports/textproc/modlogan/modlogan-0.8.13/src/ |
H A D | buffer.h | 50 int buffer_copy_string_len(buffer *b, const char *s, size_t s_len); 85 buffer_copy_string_len(x, y, sizeof(y) - 1) in buffer_prepare_append()
|
H A D | buffer.c | 110 int buffer_copy_string_len(buffer *b, const char *s, size_t s_len) { 129 return buffer_copy_string_len(b, src->ptr, src->used - 1); 207 return buffer_copy_string_len(b, s, s_len);
|
H A D | mio.c | 319 buffer_copy_string_len(buf, s, len); in mgets() 479 buffer_copy_string_len(buf, s, len); in mgets() 486 buffer_copy_string_len(buf, s, len); in mgets()
|
/dports/textproc/modlogan/modlogan-0.8.13/src/input/clf/ |
H A D | parse.c | 156 …buffer_copy_string_len(recext->req_useragent, conf->ua_cache[i].ua_os, minus - conf->ua_cache[i].u… in parse_useragent() 283 buffer_copy_string_len(record->req_url, uri, protocol - uri); in parse_url() 285 buffer_copy_string_len(record->req_getvars, get+1, protocol - (get + 1)); in parse_url() 288 buffer_copy_string_len(record->req_protocol, protocol, protocol_end + 1 - protocol); in parse_url() 296 buffer_copy_string_len(record->req_method, str, method_end - str); in parse_url()
|