Searched refs:ck_malloc (Results 1 – 25 of 29) sorted by relevance
12
72 void * ck_malloc (size_t nbytes);
54 ck_malloc(sizeof(vhostdb_cache_entry) + slen + dlen); in vhostdb_cache_entry_init()85 vhostdb_cache *vc = ck_malloc(sizeof(vhostdb_cache)); in vhostdb_cache_init()
64 char * const buf = ck_malloc(sz+1); in script_cache_load_script()
230 plugin_config_env * const pcenv = ck_malloc(sizeof(plugin_config_env)); in mod_maxminddb_prep_cenv()480 (*hctx) = ck_malloc(sizeof(handler_ctx)); in REQUEST_FUNC()
131 (struct pam_response *)ck_malloc(num_msg * sizeof(struct pam_response)); in mod_authn_pam_fn_conv()
426 local_send_buffer = ck_malloc(LOCAL_SEND_BUFSIZE); in mod_mbedtls_init_once_mbedtls()1042 plugin_cert *pc = ck_malloc(sizeof(plugin_cert)); in network_mbedtls_load_pemfile()1103 ssl_pemfile_x509 = ck_malloc(sizeof(*ssl_pemfile_x509)); in mod_mbedtls_acme_tls_1()1118 ssl_pemfile_pkey = ck_malloc(sizeof(*ssl_pemfile_pkey)); in mod_mbedtls_acme_tls_1()1436 s->ssl_ctx = ck_malloc(sizeof(mbedtls_ssl_config)); in network_init_ssl()1889 mbedtls_x509_crl *crl = ck_malloc(sizeof(*crl)); in SETDEFAULTS_FUNC()3954 s->ciphersuites = ck_malloc(nids * sizeof(int)); in mod_mbedtls_ssl_conf_ciphersuites()4013 s->curves = ck_malloc(nids * sizeof(mbedtls_ecp_group_id)); in mod_mbedtls_ssl_conf_curves()4070 s->curves = ck_malloc(nids * sizeof(uint16_t)); in mod_mbedtls_ssl_conf_curves()
325 ck_malloc (size_t nbytes) in ck_malloc() function
128 buffer * const path_pieces = ck_malloc((used+1) * sizeof(buffer)); in mod_evhost_parse_pattern()
160 plugin_config *pconf = ck_malloc(sizeof(plugin_config)); in mod_authn_sasl_parse_opts()
211 char * const src = (char *)ck_malloc(n); in __attribute_nonnull__()
998 hctx->path = ck_malloc(dlen + hctx->name_max + 1); in http_open_directory()1124 (dirls_entry_t*) ck_malloc(sizeof(dirls_entry_t) + 1 + dsz); in http_read_directory()1632 hctx->jfn = ck_malloc(hctx->jfn_len+1); in mod_dirlisting_cache_json_init()
453 proc->saddr = (struct sockaddr *)ck_malloc(addrlen); in gw_proc_sockaddr_init()465 dst = ck_malloc(key_len + val_len + 2); in env_add()1599 host->args.ptr[0] = ck_malloc(sizeof("/bin/sh")); in gw_set_defaults_backend()1601 host->args.ptr[1] = ck_malloc(sizeof("-c")); in gw_set_defaults_backend()1603 host->args.ptr[2] = ck_malloc(sizeof("exec ")-1 in gw_set_defaults_backend()
511 local_send_buffer = ck_malloc(LOCAL_SEND_BUFSIZE); in mod_openssl_init_once_openssl()677 certs = ck_malloc(2 * sizeof(buffer *)); in mod_wolfssl_load_pem_file()685 certs = ck_malloc((count+1) * sizeof(buffer *)); in mod_wolfssl_load_pem_file()940 plugin_cacerts *cacerts = ck_malloc(sizeof(plugin_cacerts)); in mod_wolfssl_load_cacerts()1649 plugin_cert *pc = ck_malloc(sizeof(plugin_cert)); in network_openssl_load_pemfile()
355 struct crypt_data *crypt_tmp_data = ck_malloc(sizeof(struct crypt_data)); in mod_authn_crypt_cmp()
68 ck_malloc(sizeof(http_auth_cache_entry) + ulen + pwlen in http_auth_cache_entry_init()108 http_auth_cache *ac = ck_malloc(sizeof(http_auth_cache)); in http_auth_cache_init()
715 cond_match->matches = ck_malloc(dc->ovec_nelts * sizeof(int)); in config_pcre_match()
438 local_send_buffer = ck_malloc(LOCAL_SEND_BUFSIZE); in mod_gnutls_init_once_gnutls()1203 plugin_cert *pc = ck_malloc(sizeof(plugin_cert)); in network_gnutls_load_pemfile()1224 plugin_cert *pc = ck_malloc(sizeof(plugin_cert)); in network_gnutls_load_pemfile()
530 local_send_buffer = ck_malloc(LOCAL_SEND_BUFSIZE); in mod_openssl_init_once_openssl()764 plugin_cacerts *cacerts = ck_malloc(sizeof(plugin_cacerts)); in mod_openssl_load_cacerts()1711 plugin_cert *pc = ck_malloc(sizeof(plugin_cert)); in network_openssl_load_pemfile()
271 ck_malloc(sizeof(format_fields) + ((used+1) * sizeof(format_field))); in accesslog_parse_format()
267 http_header_remap_opts *opts = ck_malloc(sizeof(header)); in mod_proxy_parse_header_opts()
379 cgi_pid_t *cgi_pid = ck_malloc(sizeof(cgi_pid_t)); in cgi_pid_add()
912 mem = ck_malloc(len); in send_ietf_00()
1407 l[0] = ck_malloc((size_t)(len+1)); in mod_ssi_parse_ssi_stmt()
339 hctx->cache_fn = ck_malloc(fnlen+1+LI_ITOSTRING_LENGTH+1); in mod_deflate_cache_file_open()
1173 off_t * const cnt = ck_malloc(2*sizeof(off_t)); in config_insert()