/dports/www/h2o-devel/h2o-dcc7134/t/00unit/issues/ |
H A D | 293.c | 36 char *authority = h2o_mem_alloc(host.len + sizeof(":" H2O_UINT16_LONGEST_STR)); in register_authority() 38 h2o_headers_command_t *cmds = h2o_mem_alloc(sizeof(*cmds) * 2); in register_authority() 39 h2o_headers_command_arg_t *args = h2o_mem_alloc(sizeof(*args)); in register_authority()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/core/ |
H A D | config.c | 38 h2o_hostconf_t *hostconf = h2o_mem_alloc(sizeof(*hostconf)); in create_hostconf() 175 config->hosts = h2o_mem_alloc(sizeof(config->hosts[0])); in h2o_config_init() 221 h2o_pathconf_t *pathconf = h2o_mem_alloc(sizeof(*pathconf)); in h2o_config_register_path() 269 …hostconf->authority.hostport.base = h2o_mem_alloc(hostconf->authority.host.len + sizeof("[]:" H2O_… in h2o_config_register_host() 306 h2o_handler_t *handler = h2o_mem_alloc(sz); in h2o_create_handler() 319 h2o_filter_t *filter = h2o_mem_alloc(sz); in h2o_create_filter() 334 h2o_logger_t *logger = h2o_mem_alloc(sz); in h2o_create_logger()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/http2/ |
H A D | casper.c | 54 h2o_http2_casper_t *casper = h2o_mem_alloc(sizeof(*casper)); in h2o_http2_casper_create() 124 keys = h2o_mem_alloc(capacity * sizeof(*keys)); in h2o_http2_casper_consume_cookie() 190 bin_buf = h2o_mem_alloc(bin_capacity); in h2o_http2_casper_get_cookie() 193 …char *header_bytes = h2o_mem_alloc(sizeof(COOKIE_NAME "=" COOKIE_ATTRIBUTES) - 1 + (bin_size + 3) … in h2o_http2_casper_get_cookie()
|
/dports/www/h2o-devel/h2o-dcc7134/src/ |
H A D | httpclient.c | 102 http3_session.token = ptls_iovec_init(h2o_mem_alloc(token.len), token.len); in save_http3_token_cb() 113 http3_session.ticket = ptls_iovec_init(h2o_mem_alloc(src.len), src.len); in save_http3_ticket_cb() 124 *token = ptls_iovec_init(h2o_mem_alloc(http3_session.token.len), http3_session.token.len); in load_http3_session() 128 … *ticket = ptls_iovec_init(h2o_mem_alloc(http3_session.ticket.len), http3_session.ticket.len); in load_http3_session() 142 struct st_timeout *t = h2o_mem_alloc(sizeof(*t)); in create_timeout() 256 pool = h2o_mem_alloc(sizeof(*pool)); in start_request() 280 connpool = h2o_mem_alloc(sizeof(*connpool)); in start_request() 281 h2o_socketpool_t *sockpool = h2o_mem_alloc(sizeof(*sockpool)); in start_request() 293 crt_fullpath = h2o_mem_alloc(strlen(root) + strlen(CA_PATH) + 1); in start_request() 657 req.connect_to = h2o_mem_alloc(sizeof(*req.connect_to)); in main() [all …]
|
/dports/www/h2o-devel/h2o-dcc7134/lib/handler/configurator/ |
H A D | expires.c | 64 *self->args = h2o_mem_alloc(sizeof(**self->args)); in on_config_expires() 83 self->args[1] = h2o_mem_alloc(sizeof(**self->args)); in on_config_enter()
|
H A D | file.c | 59 …self->vars->index_files = h2o_mem_alloc(sizeof(self->vars->index_files[0]) * (node->data.sequence.… in on_config_index() 137 ret = h2o_mem_alloc(sizeof(*ret) * (i + 1)); in dup_strlist()
|
H A D | headers_util.c | 32 *_name = h2o_mem_alloc(sizeof(**_name)); in extract_name() 186 args[i].name = h2o_mem_alloc(sizeof(*args[0].name)); in on_config_unset_core() 243 …char *name = h2o_mem_alloc(prefix_len + sizeof(suffix)); … in DEFINE_2ARG()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/common/ |
H A D | string.c | 42 ret.base = h2o_mem_alloc(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() 547 ret.base = h2o_mem_alloc(ret.len + 1); in h2o_concat_list() 648 ret.base = h2o_mem_alloc(ret.len + 1); in h2o_encode_sf_string()
|
H A D | socketpool.c | 177 h2o_socketpool_target_t *target = h2o_mem_alloc(sizeof(*target)); in h2o_socketpool_create_target() 188 target->peer.named_serv.base = h2o_mem_alloc(sizeof(H2O_UINT16_LONGEST_STR)); in h2o_socketpool_create_target() 414 close_data = h2o_mem_alloc(sizeof(*close_data)); in start_connect() 512 close_data = h2o_mem_alloc(sizeof(*close_data)); in h2o_socketpool_connect() 541 h2o_socketpool_connect_request_t *req = h2o_mem_alloc(sizeof(*req)); in h2o_socketpool_connect() 551 req->lb.tried = h2o_mem_alloc(sizeof(req->lb.tried[0]) * pool->targets.size); in h2o_socketpool_connect() 590 entry = h2o_mem_alloc(sizeof(*entry)); in h2o_socketpool_return()
|
H A D | memcached.c | 80 …h2o_memcached_req_t *req = h2o_mem_alloc(offsetof(h2o_memcached_req_t, key.base) + ctx->prefix.len… in create_req() 275 req->data.get.value = h2o_iovec_init(h2o_mem_alloc(resp.data_len), resp.data_len); in reader_main() 388 req->data.set.value.base = h2o_mem_alloc((value.len + 2) / 3 * 4 + 1); in h2o_memcached_set() 391 req->data.set.value = h2o_iovec_init(h2o_mem_alloc(value.len), value.len); in h2o_memcached_set() 407 h2o_memcached_context_t *ctx = h2o_mem_alloc(sizeof(*ctx)); in h2o_memcached_create_context()
|
H A D | filecache.c | 54 h2o_filecache_t *cache = h2o_mem_alloc(sizeof(*cache)); in h2o_filecache_create() 97 ref = h2o_mem_alloc(offsetof(h2o_filecache_ref_t, _path) + strlen(path) + 1); in h2o_filecache_open_file()
|
H A D | redis.c | 131 h2o_redis_client_t *client = h2o_mem_alloc(sz); in h2o_redis_create_client() 227 h2o_redis_command_t *command = h2o_mem_alloc(sizeof(h2o_redis_command_t)); in create_command() 394 struct st_redis_socket_data_t *p = h2o_mem_alloc(sizeof(*p)); in attach_loop()
|
H A D | cache.c | 115 h2o_cache_t *cache = h2o_mem_alloc(sizeof(*cache)); in h2o_cache_create() 218 newref = h2o_mem_alloc(sizeof(*newref)); in h2o_cache_set()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/handler/ |
H A D | proxy.c | 71 h2o_http3client_ctx_t *h3ctx = h2o_mem_alloc(sizeof(*h3ctx)); in create_http3_context() 128 struct rp_handler_context_t *handler_ctx = h2o_mem_alloc(sizeof(*handler_ctx)); in on_context_init() 143 h2o_httpclient_ctx_t *client_ctx = h2o_mem_alloc(sizeof(*ctx)); in on_context_init()
|
H A D | status.c | 73 struct st_h2o_status_message_t *message = h2o_mem_alloc(sizeof(*message)); in collect_reqs_of_context() 186 struct st_h2o_status_message_t *message = h2o_mem_alloc(sizeof(*message)); in on_req_json() 233 struct st_h2o_status_context_t *status_ctx = h2o_mem_alloc(sizeof(*status_ctx)); in on_context_init()
|
H A D | expires.c | 77 self->value.base = h2o_mem_alloc(128); in h2o_expires_register()
|
/dports/www/h2o-devel/h2o-dcc7134/t/00unit/lib/common/ |
H A D | multithread.c | 49 h2o_multithread_message_t *message = h2o_mem_alloc(sizeof(*message)); in send_empty_message() 92 h2o_loop_t *loop = h2o_mem_alloc(sizeof(*loop)); in create_loop()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/handler/status/ |
H A D | durations.c | 99 agg_stats = h2o_mem_alloc(sizeof(*agg_stats)); in durations_status_init() 193 struct st_duration_stats_t *duration_stats = h2o_mem_alloc(sizeof(struct st_duration_stats_t)); in on_context_init() 211 durations_logger = logger = h2o_mem_alloc(sizeof(*logger)); in h2o_duration_stats_register()
|
H A D | ssl.c | 54 struct st_ssl_status_ctx_t *ssc = h2o_mem_alloc(sizeof(*ssc)); in ssl_status_init()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/handler/mruby/ |
H A D | redis.c | 250 struct st_h2o_mruby_redis_command_context_t *command_ctx = h2o_mem_alloc(sizeof(*command_ctx)); in call_method() 258 const char **argv = h2o_mem_alloc(command_len * sizeof(char *)); in call_method() 259 size_t *argvlen = h2o_mem_alloc(command_len * sizeof(size_t)); in call_method()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/common/socket/ |
H A D | uv-binding.c.h | 314 uv_tcp_t *tcp = h2o_mem_alloc(sizeof(*tcp)); in create_socket() 357 uv_poll_t *poll = h2o_mem_alloc(sizeof(*poll)); in h2o_uv__poll_create() 367 struct st_h2o_uv_socket_t *sock = h2o_mem_alloc(sizeof(*sock)); in h2o_uv_socket_create() 448 timer->uv_timer = h2o_mem_alloc(sizeof(*timer->uv_timer)); in h2o_timer_link()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/handler/compress/ |
H A D | gzip.c | 46 return h2o_mem_alloc(cnt * (size_t)sz); in alloc_cb() 57 h2o_sendvec_init_raw(self->bufs.entries + self->bufs.size++, h2o_mem_alloc(BUF_SIZE), 0); in expand_buf()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/ |
H A D | websocket.c | 111 buf->base = h2o_mem_alloc(len); in send_callback() 142 h2o_websocket_conn_t *conn = h2o_mem_alloc(sizeof(*conn)); in h2o_upgrade_to_websocket()
|
/dports/www/h2o-devel/h2o-dcc7134/lib/common/balancer/ |
H A D | roundrobin.c | 74 struct round_robin_t *self = h2o_mem_alloc(sizeof(*self)); in h2o_balancer_create_rr()
|
H A D | least_conn.c | 67 struct least_conn_t *self = h2o_mem_alloc(sizeof(*self)); in h2o_balancer_create_lc()
|