Home
last modified time | relevance | path

Searched refs:buffer_copy_string_len (Results 1 – 25 of 60) sorted by relevance

123

/lighttpd1.4/src/t/
H A Dtest_mod_alias.c17 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 Dtest_keyvalue.c61 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 Dtest_mod_userdir.c20 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 Dtest_mod_access.c17 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 Dtest_mod_simple_vhost.c16 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 Dtest_buffer.c11 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 Dtest_mod_ssi.c108 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 Dtest_mod_evhost.c54 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 Dtest_mod_staticfile.c267 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 Dtest_mod_indexfile.c16 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 Dconfigfile.c384 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 Dmod_evhost.c111 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 Drequest.c725 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 Dbuffer.h103 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 Dburl.c93 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 Dmod_userdir.c219 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 Dmod_magnet.c1243 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 Darray.c394 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 Dhttp_cgi.c103 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 Dresponse.c290 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 Dmod_vhostdb.c263 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 Darray.h123 buffer_copy_string_len(array_get_buf_ptr(a, k, klen), v, vlen); in array_set_key_value()
H A Dstat_cache.c247 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 Dmod_sockproxy.c153 buffer_copy_string_len(&r->uri.path, CONST_STR_LEN("/")); in mod_sockproxy_connection_accept()
H A Dkeyvalue.c508 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()

123