/dports/www/h2o-devel/h2o-dcc7134/lib/common/ |
H A D | string.c | 40 ret.base = h2o_mem_alloc_pool(pool, char, slen + 1); in h2o_strdup() 69 …ret.base = pool != NULL ? h2o_mem_alloc_pool(pool, char, ret.len + 2) : h2o_mem_alloc(ret.len + 2); in h2o_strdup_slashed() 194 …decoded.base = pool != NULL ? h2o_mem_alloc_pool(pool, char, decoded.len + 1) : h2o_mem_alloc(deco… in h2o_decode_base64url() 327 … encoded.base = pool != NULL ? h2o_mem_alloc_pool(pool, char, capacity) : h2o_mem_alloc(capacity); in h2o_uri_escape() 505 h2o_iovec_t escaped = {h2o_mem_alloc_pool(pool, char, len + add_size + 1), 0}; in h2o_htmlescape() 545 ret.base = h2o_mem_alloc_pool(pool, char, ret.len + 1); in h2o_concat_list() 646 ret.base = h2o_mem_alloc_pool(pool, char, ret.len + 1); in h2o_encode_sf_string()
|
H A D | url.c | 79 dst = h2o_mem_alloc_pool(pool, char, src_len + 1); in rebuild_path() 80 *norm_indexes = h2o_mem_alloc_pool(pool, *norm_indexes[0], (src_len + 1)); in rebuild_path() 435 …url->authority.base = pool == NULL ? h2o_mem_alloc(url->authority.len) : h2o_mem_alloc_pool(pool, … in h2o_url_init_with_hostport() 455 …url->authority.base = pool == NULL ? h2o_mem_alloc(url->authority.len) : h2o_mem_alloc_pool(pool, … in h2o_url_init_with_sun_path()
|
H A D | http1client.c | 337 headers = h2o_mem_alloc_pool(client->super.pool, *headers, MAX_HEADERS); in on_head() 338 header_names = h2o_mem_alloc_pool(client->super.pool, *header_names, MAX_HEADERS); in on_head() 620 buf.base = h2o_mem_alloc_pool(client->super.pool, char, buf.len); in build_request() 629 …char *newp = h2o_mem_alloc_pool(client->super.pool, char, buf.len); … in build_request()
|
H A D | socket.c | 985 char *buf = pool != NULL ? h2o_mem_alloc_pool(pool, *buf, buflen) : h2o_mem_alloc(buflen); in h2o_socket_log_tcp_congestion_controller() 1063 … char *buf = (char *)(pool != NULL ? h2o_mem_alloc_pool(pool, char, sizeof(H2O_UINT64_LONGEST_STR)) in h2o_socket_log_tcp_delivery_rate() 1080 …base64id.base = pool != NULL ? h2o_mem_alloc_pool(pool, char, h2o_base64_encode_capacity(rawid.len… in h2o_socket_log_ssl_session_id() 1090 … char *s = (char *)(pool != NULL ? h2o_mem_alloc_pool(pool, char, sizeof(H2O_INT16_LONGEST_STR)) in h2o_socket_log_ssl_cipher_bits()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/handler/ |
H A D | http2_debug_state.c | 44 conn_flow_in.base = h2o_mem_alloc_pool(&req->pool, char, sizeof(H2O_INT64_LONGEST_STR)); in on_req() 46 conn_flow_out.base = h2o_mem_alloc_pool(&req->pool, char, sizeof(H2O_INT64_LONGEST_STR)); in on_req()
|
H A D | file.c | 222 …vec[1].base = h2o_mem_alloc_pool(&req->pool, char, sizeof("\r\n--") - 1 + BOUNDARY_SIZE + sizeof("… in do_multirange_proceed() 251 … char *variant_path = h2o_mem_alloc_pool(&req->pool, *variant_path, path_len + sizeof(".gz")); in create_generator() 270 … char *variant_path = h2o_mem_alloc_pool(&req->pool, *variant_path, path_len + sizeof(".gz")); in create_generator() 346 mime_type.base = h2o_mem_alloc_pool(&req->pool, char, 52); in do_send_file() 361 content_range.base = h2o_mem_alloc_pool(&req->pool, char, 128); in do_send_file() 393 self->ranged.multirange_buf = h2o_mem_alloc_pool(&req->pool, char, MAX_BUF_SIZE); in do_send_file() 561 filereq = h2o_mem_alloc_pool(&req->pool, *filereq, 1); in delegate_dynamic_request() 689 content_range.base = h2o_mem_alloc_pool(&req->pool, char, 32); in serve_with_generator() 707 … generator->ranged.boundary.base = h2o_mem_alloc_pool(&req->pool, char, BOUNDARY_SIZE + 1); in serve_with_generator()
|
H A D | headers_util.c | 64 *base = h2o_mem_alloc_pool(pool, *dst, dst_len); in filter_cookie() 214 v.base = h2o_mem_alloc_pool(pool, char, v.len); in h2o_rewrite_headers()
|
H A D | proxy.c | 44 h2o_req_overrides_t *overrides = h2o_mem_alloc_pool(&req->pool, *overrides, 1); in on_req()
|
H A D | fastcgi.c | 114 …h2o_iovec_t rec = h2o_iovec_init(h2o_mem_alloc_pool(pool, char, FCGI_RECORD_HEADER_SIZE + FCGI_BEG… in create_begin_request() 122 …h2o_iovec_t rec = h2o_iovec_init(h2o_mem_alloc_pool(pool, char, FCGI_RECORD_HEADER_SIZE), FCGI_REC… in create_header() 141 … slot->base = h2o_mem_alloc_pool(pool, char, len < APPEND_BLOCKSIZE ? APPEND_BLOCKSIZE : len); in append()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/http2/ |
H A D | http2_debug_state.c | 77 v.base = h2o_mem_alloc_pool(pool, char, size + 1); in append_chunk() 107 h2o_http2_debug_state_t *state = h2o_mem_alloc_pool(&req->pool, *state, 1); in h2o_http2_get_debug_state()
|
H A D | connection.c | 1602 char *s = h2o_mem_alloc_pool(&stream->req.pool, *s, sizeof(H2O_UINT32_LONGEST_STR)); in DEFINE_LOGGER() 1610 …char *s = h2o_mem_alloc_pool(&stream->req.pool, *s, sizeof("1:" H2O_UINT32_LONGEST_STR ":" H2O_UIN… in log_priority_received() 1625 char *s = h2o_mem_alloc_pool(&stream->req.pool, *s, sizeof(H2O_UINT32_LONGEST_STR)); in log_priority_received_parent() 1633 char *s = h2o_mem_alloc_pool(&stream->req.pool, *s, sizeof(H2O_UINT16_LONGEST_STR)); in log_priority_received_weight() 1653 …char *s = h2o_mem_alloc_pool(&stream->req.pool, *s, sizeof(H2O_UINT32_LONGEST_STR ":" H2O_UINT16_L… in log_priority_actual() 1663 char *s = h2o_mem_alloc_pool(&stream->req.pool, *s, sizeof(H2O_UINT32_LONGEST_STR)); in log_priority_actual_parent() 1671 char *s = h2o_mem_alloc_pool(&stream->req.pool, *s, sizeof(H2O_UINT16_LONGEST_STR)); in log_priority_actual_weight()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/handler/status/ |
H A D | ssl.c | 66 buf.base = h2o_mem_alloc_pool(&req->pool, char, BUFSIZE); in ssl_status_final()
|
H A D | events.c | 96 ret.base = h2o_mem_alloc_pool(&req->pool, char, BUFSIZE); in events_status_final()
|
H A D | durations.c | 135 ret.base = h2o_mem_alloc_pool(&req->pool, char, BUFSIZE); in durations_status_final()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/ |
H A D | http1.c | 288 …struct st_h2o_http1_chunked_entity_reader *reader = h2o_mem_alloc_pool(&conn->req.pool, *reader, 1… in create_chunked_entity_reader() 316 …struct st_h2o_http1_content_length_entity_reader *reader = h2o_mem_alloc_pool(&conn->req.pool, *re… in create_content_length_entity_reader() 979 conn->_ostr_final.pull_buf = h2o_mem_alloc_pool(&conn->req.pool, char, sz); in allocate_pull_buf() 993 …conn->_ostr_final.informational.pending_final.inbufs = h2o_mem_alloc_pool(&conn->req.pool, h2o_sen… in finalostream_send() 1035 bufs[bufcnt].base = h2o_mem_alloc_pool(&conn->req.pool, char, headers_est_size); in finalostream_send() 1131 buf.base = h2o_mem_alloc_pool(&req->pool, char, buf.len); in finalostream_send_informational() 1191 char *s = h2o_mem_alloc_pool(&req->pool, char, sizeof(H2O_UINT64_LONGEST_STR)); in DEFINE_LOGGER() 1272 bufs[0].base = h2o_mem_alloc_pool( in h2o_http1_upgrade()
|
H A D | websocket.c | 143 char *accept_key = h2o_mem_alloc_pool(&req->pool, char, 29); in h2o_upgrade_to_websocket()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/core/ |
H A D | request.c | 280 …req->buf.base = h2o_mem_alloc_pool(&req->pool, char, src->buf.len); … in h2o_init_request() 306 dst_header->name = h2o_mem_alloc_pool(&req->pool, *dst_header->name, 1); in h2o_init_request() 713 …struct st_send_error_deferred_t *args = h2o_mem_alloc_pool(&req->pool, *args, 1); … 727 char *errbuf = h2o_mem_alloc_pool(&req->pool, char, INITIAL_BUF_SIZE); in h2o_req_log_error() 736 errbuf = h2o_mem_alloc_pool(&req->pool, char, errlen + 1); in h2o_req_log_error() 746 …char *pbuf = h2o_mem_alloc_pool(&req->pool, char, sizeof("[] in request::") + 32 + strlen(module))… in h2o_req_log_error()
|
H A D | proxy.c | 88 char *buf = h2o_mem_alloc_pool(pool, *buf, newlen); in build_request_merge_headers() 130 cl_buf.base = h2o_mem_alloc_pool(pool, char, sizeof(H2O_SIZE_T_LONGEST_STR)); in build_content_length() 153 … props->proxy_protocol->base = h2o_mem_alloc_pool(&req->pool, char, H2O_PROXY_HEADER_MAX_LENGTH); in build_request() 255 … added.base = h2o_mem_alloc_pool(&req->pool, char, sizeof("1.1 ") - 1 + req->input.authority.len); in build_request()
|
H A D | headers.c | 44 h2o_iovec_t *iov = h2o_mem_alloc_pool(pool, *iov, 1); in alloc_and_init_iovec()
|
H A D | util.c | 685 filtered_value->base = h2o_mem_alloc_pool(pool, char, value_len * 2); in h2o_extract_push_path_from_link_header() 821 dst->base = h2o_mem_alloc_pool(&req->pool, *dst->base, max_len); in emit_server_timing_element() 883 …value.base = h2o_mem_alloc_pool(&req->pool, *value.base, prefix_len + suffix_len + sizeof(LONGEST_… in h2o_build_server_timing_trailer()
|
/dports/www/h2o-devel/h2o-dcc7134/src/ |
H A D | httpclient.c | 260 url_parsed = h2o_mem_alloc_pool(pool, *url_parsed, 1); in start_request() 455 body->base = h2o_mem_alloc_pool(client->pool, char, body->len); in on_connect() 461 char *clbuf = h2o_mem_alloc_pool(client->pool, char, sizeof(H2O_UINT32_LONGEST_STR) - 1); in on_connect()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/http3/ |
H A D | server.c | 528 char *buf = h2o_mem_alloc_pool(&req->pool, char, sizeof(H2O_UINT64_LONGEST_STR)); in log_delivery_rate() 564 char *buf = h2o_mem_alloc_pool(&req->pool, char, sizeof(H2O_UINT16_LONGEST_STR)); in log_cipher_bits() 593 char *buf = h2o_mem_alloc_pool(&stream->req.pool, char, sizeof(H2O_UINT64_LONGEST_STR)); in log_stream_id() 617 buf = h2o_mem_alloc_pool(&req->pool, char, bufsize); in log_quic_stats() 652 char *buf = h2o_mem_alloc_pool(&stream->req.pool, char, sizeof(H2O_UINT32_LONGEST_STR)); in log_quic_version() 1339 …datagram_flow_id.base = h2o_mem_alloc_pool(&stream->req.pool, char, sizeof(H2O_UINT64_LONGEST_STR)… in finalize_do_send_setup_udp_tunnel()
|
/dports/www/h2o-devel/h2o-dcc7134/t/00unit/lib/handler/ |
H A D | file.c | 697 expected[0].base = h2o_mem_alloc_pool(&conn->req.pool, char, 256); in test_range_req() 700 expected[1].base = h2o_mem_alloc_pool(&conn->req.pool, char, 256); in test_range_req() 727 expected[0].base = h2o_mem_alloc_pool(&conn->req.pool, char, 256); in test_range_req() 730 expected[1].base = h2o_mem_alloc_pool(&conn->req.pool, char, 256); in test_range_req()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/handler/mruby/ |
H A D | middleware.c | 133 ret.base = h2o_mem_alloc_pool(pool, char, ret.len); in convert_env_key_to_header_name() 339 char *hostname = h2o_mem_alloc_pool(pool, char, host.len + 1); in parse_hostport() 342 char *servname = h2o_mem_alloc_pool(pool, char, port.len + 1); in parse_hostport()
|
/dports/www/h2o-devel/h2o-dcc7134/include/h2o/ |
H A D | memory.h | 232 #define h2o_mem_alloc_pool(pool, type, cnt) h2o_mem_alloc_pool_aligned(pool, H2O_ALIGNOF(type), siz… macro
|