Home
last modified time | relevance | path

Searched refs:ck_malloc (Results 1 – 25 of 29) sorted by relevance

12

/lighttpd1.4/src/
H A Dck.h72 void * ck_malloc (size_t nbytes);
H A Dmod_vhostdb.c54 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()
H A Dmod_magnet_cache.c64 char * const buf = ck_malloc(sz+1); in script_cache_load_script()
H A Dmod_maxminddb.c230 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()
H A Dmod_authn_pam.c131 (struct pam_response *)ck_malloc(num_msg * sizeof(struct pam_response)); in mod_authn_pam_fn_conv()
H A Dmod_mbedtls.c426 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()
H A Dck.c325 ck_malloc (size_t nbytes) in ck_malloc() function
H A Dmod_evhost.c128 buffer * const path_pieces = ck_malloc((used+1) * sizeof(buffer)); in mod_evhost_parse_pattern()
H A Dmod_authn_sasl.c160 plugin_config *pconf = ck_malloc(sizeof(plugin_config)); in mod_authn_sasl_parse_opts()
H A Dlog.c211 char * const src = (char *)ck_malloc(n); in __attribute_nonnull__()
H A Dmod_dirlisting.c998 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()
H A Dgw_backend.c453 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()
H A Dmod_wolfssl.c511 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()
H A Dmod_authn_dbi.c355 struct crypt_data *crypt_tmp_data = ck_malloc(sizeof(struct crypt_data)); in mod_authn_crypt_cmp()
H A Dmod_auth.c68 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()
H A Dconfigfile-glue.c715 cond_match->matches = ck_malloc(dc->ovec_nelts * sizeof(int)); in config_pcre_match()
H A Dmod_gnutls.c438 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()
H A Dmod_openssl.c530 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()
H A Dmod_accesslog.c271 ck_malloc(sizeof(format_fields) + ((used+1) * sizeof(format_field))); in accesslog_parse_format()
H A Dmod_proxy.c267 http_header_remap_opts *opts = ck_malloc(sizeof(header)); in mod_proxy_parse_header_opts()
H A Dmod_cgi.c379 cgi_pid_t *cgi_pid = ck_malloc(sizeof(cgi_pid_t)); in cgi_pid_add()
H A Dmod_wstunnel.c912 mem = ck_malloc(len); in send_ietf_00()
H A Dmod_ssi.c1407 l[0] = ck_malloc((size_t)(len+1)); in mod_ssi_parse_ssi_stmt()
H A Dmod_deflate.c339 hctx->cache_fn = ck_malloc(fnlen+1+LI_ITOSTRING_LENGTH+1); in mod_deflate_cache_file_open()
H A Dconfigfile.c1173 off_t * const cnt = ck_malloc(2*sizeof(off_t)); in config_insert()

12