Home
last modified time | relevance | path

Searched refs:calloc (Results 1 – 25 of 91) sorted by relevance

1234

/curl/lib/
H A Dcurl_memory.h65 #undef calloc
156 #undef calloc
157 #define calloc(nbelem,size) Curl_ccalloc(nbelem, size) macro
H A Dfileinfo.c35 return calloc(1, sizeof(struct fileinfo)); in Curl_fileinfo_alloc()
H A Dshare.c42 struct Curl_share *share = calloc(1, sizeof(struct Curl_share)); in curl_share_init()
110 share->sslsession = calloc(share->max_ssl_sessions, in curl_share_setopt()
H A Ddynhds.c48 e = calloc(1, sizeof(*e) + namelen + valuelen + 2); in entry_new()
71 e2 = calloc(1, sizeof(*e) + e->namelen + valuelen2 + 2); in entry_append()
189 nhds = calloc(nallc, sizeof(struct dynhds_entry *)); in Curl_dynhds_add()
376 nghttp2_nv *nva = calloc(1, sizeof(nghttp2_nv) * dynhds->hds_len); in Curl_dynhds_to_nva()
H A Dhostip4.c155 buf = calloc(1, CURL_HOSTENT_SIZE); in Curl_ipv4_resolve_r()
H A Damigaos.c138 buf = calloc(1, CURL_HOSTENT_SIZE); in Curl_ipv4_resolve_r()
H A Dcurl_addrinfo.c286 ai = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + namelen); in Curl_he2ai()
476 ai = calloc(1, sizeof(struct Curl_addrinfo) + sizeof(struct sockaddr_un)); in Curl_unix2addr()
H A Dldap.c820 res = calloc(items, sizeof(char *)); in split_str()
937 ludp->lud_attrs = calloc(count + 1, sizeof(TCHAR *)); in _ldap_url_parse2()
939 ludp->lud_attrs = calloc(count + 1, sizeof(char *)); in _ldap_url_parse2()
1068 LDAPURLDesc *ludp = calloc(1, sizeof(*ludp)); in _ldap_url_parse()
H A Dcf-haproxy.c216 ctx = calloc(1, sizeof(*ctx)); in cf_haproxy_create()
H A Dformdata.c86 post = calloc(1, sizeof(struct curl_httppost)); in AddHttpPost()
137 form_info = calloc(1, sizeof(struct FormInfo)); in AddFormInfo()
227 first_form = calloc(1, sizeof(struct FormInfo)); in FormAdd()
H A Dhsts.c80 struct hsts *h = calloc(1, sizeof(struct hsts)); in Curl_hsts_init()
125 struct stsentry *sts = calloc(1, sizeof(struct stsentry)); in hsts_create()
/curl/tests/unit/
H A Dunit1305.c80 ai = calloc(1, sizeof(struct Curl_addrinfo) + sizeof(struct sockaddr_in) + in fake_ai()
102 data_node = calloc(1, sizeof(struct Curl_dns_entry)); in create_node()
H A Dunit2604.c76 list[0].cp = calloc(1, too_long + 1);
/curl/tests/libtest/
H A Dlib509.c44 return (calloc)(nmemb, size); in custom_calloc()
/curl/lib/vtls/
H A Dmbedtls_threadlock.c54 mutex_buf = calloc(1, NUMT * sizeof(MBEDTLS_MUTEX_T)); in Curl_mbedtlsthreadlock_thread_setup()
/curl/lib/vauth/
H A Dspnego_sspi.c166 nego->credentials = calloc(1, sizeof(CredHandle)); in Curl_auth_decode_spnego_message()
181 nego->context = calloc(1, sizeof(CtxtHandle)); in Curl_auth_decode_spnego_message()
H A Dntlm_sspi.c139 ntlm->credentials = calloc(1, sizeof(CredHandle)); in Curl_auth_create_ntlm_type1_message()
153 ntlm->context = calloc(1, sizeof(CtxtHandle)); in Curl_auth_create_ntlm_type1_message()
H A Dkrb5_sspi.c156 krb5->credentials = calloc(1, sizeof(CredHandle)); in Curl_auth_create_gssapi_user_message()
171 krb5->context = calloc(1, sizeof(CtxtHandle)); in Curl_auth_create_gssapi_user_message()
/curl/tests/server/
H A Dgetpart.c62 curl_calloc_callback Curl_ccalloc = (curl_calloc_callback)calloc;
152 *buffer = calloc(1, 128); in readline()
/curl/docs/examples/
H A Dhiperfifo.c271 SockInfo *fdp = calloc(1, sizeof(SockInfo)); in addsock()
336 conn = calloc(1, sizeof(ConnInfo)); in new_conn()
H A Devhiperfifo.c271 SockInfo *fdp = calloc(1, sizeof(SockInfo)); in addsock()
340 conn = calloc(1, sizeof(ConnInfo)); in new_conn()
H A Dephiperfifo.c297 SockInfo *fdp = (SockInfo*)calloc(1, sizeof(SockInfo)); in addsock()
362 conn = (ConnInfo*)calloc(1, sizeof(ConnInfo)); in new_conn()
/curl/docs/libcurl/
H A Dcurl_global_init_mem.md63 To replace calloc()
/curl/tests/http/clients/
H A Dws-data.c176 send_buf = calloc(1, plen_max); in data_echo()
/curl/packages/OS400/
H A Dos400sys.c185 bufs = calloc((size_t) LK_LAST, sizeof(*bufs)); in buffer_threaded()
214 locbufs = calloc((size_t) LK_LAST, sizeof(*locbufs)); in buffer_undef()
623 eattrs = calloc(i, sizeof(*eattrs)); in Curl_ldap_search_s_a()

Completed in 61 milliseconds

1234