Home
last modified time | relevance | path

Searched refs:plen (Results 1 – 12 of 12) sorted by relevance

/lighttpd1.4/src/
H A Dmod_ajp13.c675 plen -= 5; in ajp13_expand_headers()
683 if (plen < 2) break; in ajp13_expand_headers()
684 plen -= 2; in ajp13_expand_headers()
689 if (plen < 2) break; in ajp13_expand_headers()
690 plen -= 2; in ajp13_expand_headers()
699 if (plen < 2) break; in ajp13_expand_headers()
700 plen -= 2; in ajp13_expand_headers()
704 plen -= 2; in ajp13_expand_headers()
730 plen -= len+1; in ajp13_expand_headers()
738 plen -= 2; in ajp13_expand_headers()
[all …]
H A Dmod_alias.c55 const size_t plen = buffer_clen(prefix); in mod_alias_check_order() local
58 if (buffer_clen(key) < plen) { in mod_alias_check_order()
61 if (memcmp(key->ptr, prefix->ptr, plen) != 0) { in mod_alias_check_order()
H A Dmod_userdir.c203 const size_t plen = strlen(pwd->pw_dir); in mod_userdir_docroot_construct() local
204 buffer_copy_path_len2(b, pwd->pw_dir, plen, in mod_userdir_docroot_construct()
219 buffer_copy_string_len(&p->cache_path[cached], b->ptr, plen); in mod_userdir_docroot_construct()
H A Drequest.c1033 uint32_t plen; in http_request_parse_target() local
1035 plen = (uint32_t)(qstr - pstr); in http_request_parse_target()
1036 buffer_copy_string_len(&r->uri.query, qstr + 1, rlen - plen - 1); in http_request_parse_target()
1039 plen = rlen; in http_request_parse_target()
1042 buffer_copy_string_len(&r->uri.path, pstr, plen); in http_request_parse_target()
H A Dmod_proxy.c447 const size_t plen = buffer_clen(b) - off; /*(urlpath len)*/ in http_header_remap_urlpath() local
452 if (mlen <= plen && 0 == memcmp(s, ds->key.ptr, mlen)) { in http_header_remap_urlpath()
464 if (mlen <= plen && 0 == memcmp(s, ds->value.ptr, mlen)) { in http_header_remap_urlpath()
472 if (mlen <= plen && 0 == memcmp(s, ds->value.ptr, mlen)) { in http_header_remap_urlpath()
H A Dmod_ssi.c943 uint32_t plen = buffer_clen(&r->physical.path); in process_ssi_stmt() local
944 if (plen >= remain in process_ssi_stmt()
946 … ? 0 == memcmp(r->physical.path.ptr+plen-remain, r->physical.rel_path.ptr+i, remain) in process_ssi_stmt()
947 … : buffer_eq_icase_ssn(r->physical.path.ptr+plen-remain, r->physical.rel_path.ptr+i, remain))) { in process_ssi_stmt()
950 plen-remain, in process_ssi_stmt()
H A Dh2.c1277 const uint32_t plen = s[9]; in h2_recv_continuation() local
1280 if (flen < 1 + plen + ((s[n+4] & H2_FLAG_PRIORITY) ? 5 : 0)) { in h2_recv_continuation()
1293 m -= plen; in h2_recv_continuation()
1295 cq->bytes_out += plen; in h2_recv_continuation()
1382 …(request_st * const restrict r, const unsigned char *psrc, const uint32_t plen, const int trailers) in h2_parse_headers_frame() argument
1386 const unsigned char * const endp = psrc + plen; in h2_parse_headers_frame()
H A Dnetwork.c143 const uint32_t plen) in network_abstract_socket_dec() argument
150 for (int hi, lo; *s && n < plen; ++n) { in network_abstract_socket_dec()
H A Dgw_backend.c2625 const uint32_t plen = r->uri.path.ptr + s_len - pathinfo; in gw_check_extension() local
2626 buffer_copy_string_len(&r->pathinfo, pathinfo, plen); in gw_check_extension()
2627 buffer_truncate(&r->uri.path, s_len - plen); in gw_check_extension()
H A Dmod_webdav.c4710 size_t plen = in mod_webdav_put_linkat_rename() local
4713 pathproc[sizeof("/proc/self/fd/")-1+plen] = '\0'; in mod_webdav_put_linkat_rename()
/lighttpd1.4/src/t/
H A Dtest_mod_evhost.c10 size_t plen; member
H A Dtest_mod_staticfile.c72 const uint32_t plen = buffer_clen(&r->physical.path); in test_http_response_send_file() local
77 buffer_truncate(&r->physical.path, plen); in test_http_response_send_file()