| /lighttpd1.4/src/ |
| H A D | http_chunk.c | 27 static void http_chunk_len_append(chunkqueue * const cq, uintmax_t len) { in http_chunk_len_append() 44 static int http_chunk_len_append_tempfile(chunkqueue * const cq, uintmax_t len, log_error_st * cons… in http_chunk_len_append_tempfile() 91 …file_ref_range(request_st * const r, stat_cache_entry * const sce, const off_t offset, off_t len) { in http_chunk_append_file_ref_range() 156 …int http_chunk_append_to_tempfile(request_st * const r, const char * const mem, const size_t len) { in http_chunk_append_to_tempfile() 176 … http_chunk_append_cq_to_tempfile(request_st * const r, chunkqueue * const src, const size_t len) { in http_chunk_append_cq_to_tempfile() 197 static int http_chunk_uses_tempfile(const chunkqueue * const cq, const size_t len) { in http_chunk_uses_tempfile() 211 size_t len = mem ? buffer_clen(mem) : 0; in http_chunk_append_buffer() local 235 int http_chunk_append_mem(request_st * const r, const char * const mem, const size_t len) { in http_chunk_append_mem() 255 int http_chunk_transfer_cqlen(request_st * const r, chunkqueue * const src, const size_t len) { in http_chunk_transfer_cqlen() 286 http_chunk_decode_append_data (request_st * const r, const char *mem, off_t len) in http_chunk_decode_append_data() [all …]
|
| H A D | chunk.c | 528 const size_t len = buffer_clen(mem); in chunkqueue_append_buffer() local 1245 void chunkqueue_mark_written(chunkqueue *cq, off_t len) { in chunkqueue_mark_written() 1292 size_t len = buffer_clen(b) - c->offset; in chunkqueue_compact_mem_offset() local 1303 size_t len = buffer_clen(b) - c->offset; in chunkqueue_compact_mem() local 1385 const off_t len = c->file.length - c->offset; in chunkqueue_write_chunk_file_intermed() local 1409 const off_t len = c->file.length - c->offset; in chunkqueue_write_chunk_file() local 1441 const size_t len = buffer_clen(c->mem) - (size_t)c->offset; in chunkqueue_write_chunk_mem() local 1469 const size_t len = (size_t)(c->file.length - c->offset); in chunkqueue_write_chunk_to_pipe() local 1504 off_t len = filec->file.length - filec->offset; in chunkqueue_small_resp_optim() local 1580 off_t len = c->file.length - c->offset; in chunkqueue_peek_data() local [all …]
|
| H A D | buffer.c | 117 const uint32_t len = b->used ? b->used-1 : 0; in buffer_string_prepare_append() local 136 const uint32_t len = b->used ? b->used-1 : 0; in buffer_extend() local 219 size_t len = 0; in buffer_append_iovec() local 266 …fer_copy_string_len_lc (buffer * const restrict b, const char * const restrict s, const size_t len) in buffer_copy_string_len_lc() 351 size_t len = (size_t)(p_buf+sizeof(p_buf)-str); in li_itostrn() local 360 size_t len = (size_t)(p_buf+sizeof(p_buf)-str); in li_utostrn() local 401 int buffer_eq_icase_ssn(const char * const a, const char * const b, const size_t len) { in buffer_eq_icase_ssn() 462 const size_t len, const buffer * const restrict replace) in buffer_substr_replace() 717 const char * restrict s, const size_t len) in buffer_append_bs_escaped() 769 const char * restrict s, const size_t len) in buffer_append_bs_escaped_json() [all …]
|
| H A D | stat_cache.c | 62 uint32_t len) in stat_cache_sptree_find() 379 uint32_t len = in->len; in stat_cache_handle_fdevent_in() local 483 uint32_t len; in stat_cache_handle_fdevent_fn() local 1099 void stat_cache_update_entry(const char *name, uint32_t len, in stat_cache_update_entry() 1134 void stat_cache_delete_entry(const char *name, uint32_t len) in stat_cache_delete_entry() 1147 void stat_cache_invalidate_entry(const char *name, uint32_t len) in stat_cache_invalidate_entry() 1210 static void stat_cache_prune_dir_tree(const char *name, size_t len) in stat_cache_prune_dir_tree() 1231 static void stat_cache_delete_tree(const char *name, uint32_t len) in stat_cache_delete_tree() 1237 void stat_cache_delete_dir(const char *name, uint32_t len) in stat_cache_delete_dir() 1269 size_t len = buffer_clen(name); in stat_cache_get_entry() local [all …]
|
| H A D | algo_md.h | 20 static inline uint32_t djbhash(const char *str, const uint32_t len, uint32_t hash) in djbhash() 35 static inline uint32_t dekhash (const char *str, const uint32_t len, uint32_t hash) in dekhash()
|
| H A D | algo_xxhash.h | 2194 XXH32_update(XXH32_state_t* state, const void* input, size_t len) in XXH32_update() 2609 XXH64_update (XXH64_state_t* state, const void* input, size_t len) in XXH64_update() 3448 static XXH64_hash_t XXH3_rrmxmx(xxh_u64 h64, xxh_u64 len) in XXH3_rrmxmx() 3618 XXH3_len_17to128_64b(const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_len_17to128_64b() 4591 XXH3_hashLong_64b_withSeed_internal(const void* input, size_t len, in XXH3_hashLong_64b_withSeed_internal() 4612 XXH3_hashLong_64b_withSeed(const void* input, size_t len, in XXH3_hashLong_64b_withSeed() 4625 XXH3_64bits_internal(const void* XXH_RESTRICT input, size_t len, in XXH3_64bits_internal() 4876 const xxh_u8* XXH_RESTRICT input, size_t len, in XXH3_update() 5387 XXH3_hashLong_128b_withSeed(const void* input, size_t len, in XXH3_hashLong_128b_withSeed() 5399 XXH3_128bits_internal(const void* input, size_t len, in XXH3_128bits_internal() [all …]
|
| H A D | h2.c | 460 h2_recv_goaway (connection * const con, const uint8_t * const s, uint32_t len) in h2_recv_goaway() 541 h2_recv_ping (connection * const con, uint8_t * const s, const uint32_t len) in h2_recv_ping() 812 h2_send_window_update (connection * const con, uint32_t h2id, const uint32_t len) in h2_send_window_update() 848 h2_parse_frame_settings (connection * const con, const uint8_t *s, uint32_t len) in h2_parse_frame_settings() 982 h2_recv_data (connection * const con, const uint8_t * const s, const uint32_t len) in h2_recv_data() 1192 h2_frame_cq_compact (chunkqueue * const cq, uint32_t len) in h2_frame_cq_compact() 1660 const uint32_t len = buffer_clen(&r->target); in h2_recv_headers() local 2074 const uint32_t len = dlen < fsize ? dlen : fsize; in h2_send_hpack() local 2676 const uint32_t len = dlen < fsize ? dlen : fsize-9; in h2_send_cqdata() local 2701 const uint32_t len = dlen < fsize ? dlen : fsize; in h2_send_cqdata() local [all …]
|
| H A D | http_etag.c | 47 http_etag_remix (buffer * const etag, const char * const str, const uint32_t len) in http_etag_remix() 74 uint32_t len = 0; in http_etag_create() local
|
| H A D | algo_md5.c | 72 #define MD5_memcpy(output, input, len) memcpy((output), (input), (len)) argument 77 #define MD5_memset(output, value, len) memset((output), (value), (len)) argument 301 static void Encode (unsigned char *output, UINT4 *input, unsigned int len) in Encode() 316 static void Decode (UINT4 *output, const unsigned char *input, unsigned int len) in Decode() 328 static void MD5_memcpy (POINTER output, POINTER input, unsigned int len) in MD5_memcpy() 340 static void MD5_memset (POINTER output, int value, unsigned int len) in MD5_memset()
|
| H A D | response.c | 80 uint32_t len = (uint32_t)chunkqueue_length(cq); in http_response_write_header_partial_1xx() local 246 size_t len = buffer_clen(&r->physical.basedir) in http_response_physical_path_check() local 282 size_t len = r->physical.path.ptr+pathused-1-pathinfo, reqlen; in http_response_physical_path_check() local 478 size_t len = buffer_clen(b); in http_response_prepare() local
|
| H A D | http_range.c | 81 http_range_parse_next (const char * restrict s, const off_t len, in http_range_parse_next() 159 uint32_t len = sizeof("bytes ")-1; in http_range_single() local 279 uint32_t len = sizeof("bytes */")-1; in http_range_not_satisfiable() local
|
| H A D | mod_deflate.c | 747 size_t len = buffer_clen(mimetype); in SETDEFAULTS_FUNC() local 808 const uint32_t len = buffer_clen(b); in SETDEFAULTS_FUNC() local 914 size_t len; in stream_deflate_compress() local 941 size_t len; in stream_deflate_flush() local 1030 size_t len; in stream_bzip2_compress() local 1056 size_t len; in stream_bzip2_flush() local 1134 const uint32_t len = buffer_clen(vb); in stream_br_init() local 1638 static off_t mod_deflate_file_chunk_setjmp_cb (void *dst, const void *src, off_t len) in mod_deflate_file_chunk_setjmp_cb() 1657 off_t len = chunk_file_view_dlen(cfv, c->offset); in mod_deflate_file_chunk_mmap() local 1690 off_t len, max; in deflate_compress_response() local [all …]
|
| H A D | mod_scgi.c | 146 size_t len; in scgi_env_add_scgi() local 206 size_t len; in scgi_create_env() local 217 size_t len = buffer_clen(b)-10; in scgi_create_env() local
|
| H A D | http_cgi.c | 95 http_cgi_encode_varname (buffer * const b, const char * const restrict s, const size_t len, const i… in http_cgi_encode_varname() 127 uint32_t len; in http_cgi_headers() local
|
| H A D | burl.c | 296 for (int i = 0, len = qs < 0 ? used : qs; i < len; ++i) { in burl_normalize_path() local 385 static void burl_append_encode_nde (buffer * const b, const char * const str, const size_t len) in burl_append_encode_nde() 419 static void burl_append_encode_psnde (buffer * const b, const char * const str, const size_t len) in burl_append_encode_psnde() 453 static void burl_append_encode_all (buffer * const b, const char * const str, const size_t len) in burl_append_encode_all() 496 void burl_append (buffer * const b, const char * const str, const size_t len, const int flags) in burl_append()
|
| H A D | mod_ajp13.c | 193 ajp13_enc_string (uint8_t * const x, uint32_t n, const char * const s, const uint32_t len) in ajp13_enc_string() 507 uint32_t len = buffer_clen(r->server_name); in ajp13_enc_server_name() local 682 uint32_t len; in ajp13_expand_headers() local 711 uint32_t len; in ajp13_expand_headers() member 885 uint32_t len = ajp13_dec_uint16((uint8_t *)ptr+5); in ajp13_recv_parse_loop() local
|
| H A D | buffer.h | 122 #define buffer_append_uint_hex(b,len) buffer_append_uint_hex_lc((b),(len)) argument 309 static inline void buffer_truncate(buffer *b, uint32_t len) { in buffer_truncate() 330 const uint32_t len = buffer_clen(b); in buffer_append_slash() local 399 static inline void buffer_string_set_length(buffer *b, uint32_t len) { in buffer_string_set_length()
|
| H A D | plugin_config.h | 209 #define plugin_stats_get_ptr(s, len) \ argument 212 #define plugin_stats_incr(s, len) \ argument 218 #define plugin_stats_decr(s, len) \ argument 221 #define plugin_stats_set(s, len, val) \ argument
|
| H A D | request.c | 110 uint32_t len = buffer_clen(host); in request_check_hostname() local 241 size_t len; in http_request_host_normalize() local 502 …ose(request_st * const restrict r, const char * const restrict ptr, const size_t len, const unsign… in http_request_parse_proto_loose() 532 …uri(request_st * const restrict r, const char * const restrict uri, const size_t len, const unsign… in http_request_parse_reqline_uri() 619 const uint32_t len = buffer_clen(&r->target);/*(http_header_strict)*/ in http_request_validate_pseudohdrs() local 861 size_t len = hoff[2]; in http_request_parse_reqline() local
|
| H A D | mod_openssl.c | 476 int len = (int)buffer_clen(ssl_stapling); in ssl_tlsext_status_cb() local 642 long len = 0; in PEM_ASN1_read_bio_secmem() local 926 int len = X509_NAME_print_ex(bio, name, 0, in safer_X509_NAME_oneline() local 1225 size_t len, slen; in mod_openssl_client_hello_cb() local 1258 size_t len = strlen(servername); in network_ssl_servername_callback() local 1460 size_t len = strlen(s); in mod_openssl_asn1_time_to_posix() local 1769 size_t len; in mod_openssl_acme_tls_1() local 3100 off_t len = c->file.length - c->offset; in connection_write_cq_ssl_ktls() local 3126 int len; in connection_read_cq_ssl() local 3490 const size_t len = strlen(xobjsn); in https_add_ssl_client_subject() local [all …]
|
| H A D | http-header-glue.c | 705 static int http_response_append_buffer_simple_accum(const request_st * const r, const off_t len) { in http_response_append_buffer_simple_accum() 720 off_t len = (off_t)buffer_clen(mem); in http_response_append_buffer() local 788 static int http_response_append_mem(request_st * const r, const char * const mem, size_t len) { in http_response_append_mem() 811 int http_response_transfer_cqlen(request_st * const r, chunkqueue * const cq, size_t len) { in http_response_transfer_cqlen()
|
| H A D | algo_splaytree.h | 21 static inline int32_t splaytree_djbhash(const char *str, const uint32_t len) in splaytree_djbhash()
|
| H A D | network_write.c | 116 static int network_remove_finished_chunks(chunkqueue * const cq, const off_t len) { in network_remove_finished_chunks() 123 static ssize_t network_write_data_len(int fd, const char *data, off_t len) { in network_write_data_len() 193 network_write_setjmp_write_cb (void *fd, const void *data, off_t len) in network_write_setjmp_write_cb()
|
| H A D | keyvalue.c | 193 const size_t len = (size_t)ovec[num+1] - off; in pcre_keyvalue_buffer_append_match() local 208 const size_t len = (size_t)ovec[num+1] - off; in pcre_keyvalue_buffer_append_ctxmatch() local 296 const uint32_t len = buffer_clen(target); in pcre_keyvalue_buffer_subst_ext() local
|
| /lighttpd1.4/tests/ |
| H A D | fcgi-responder.c | 86 fcgi_puts (const int req_id, const char * const str, size_t len, FILE * const stream) in fcgi_puts() 106 …nv(const unsigned char * const r, const uint32_t rlen, const char * const name, int nlen, int *len) in fcgi_getenv() 149 int len; in fcgi_process_params() local 231 fcgi_dispatch_packet (FILE *stream, ssize_t offset, uint32_t len) in fcgi_dispatch_packet() 299 uint32_t len = (h->contentLengthB1 << 8) | h->contentLengthB0; in fcgi_recv_packet() local
|