Home
last modified time | relevance | path

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

1234

/curl/lib/
H A Dcurl_memory.h65 #undef calloc
158 #undef calloc
159 #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.c44 struct Curl_share *share = calloc(1, sizeof(struct Curl_share)); in curl_share_init()
113 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 Dcurl_addrinfo.c287 ai = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + namelen); in Curl_he2ai()
390 ai = calloc(1, sizeof(struct Curl_addrinfo) + addrsize + namelen); in Curl_ip2addr()
470 ai = calloc(1, sizeof(struct Curl_addrinfo) + sizeof(struct sockaddr_un)); in Curl_unix2addr()
H A Dhostip4.c157 buf = calloc(1, CURL_HOSTENT_SIZE); in Curl_ipv4_resolve_r()
H A Dmemdebug.h119 #undef calloc
120 #define calloc(nbelem,size) curl_dbg_calloc(nbelem, size, __LINE__, __FILE__) macro
H A Damigaos.c138 buf = calloc(1, CURL_HOSTENT_SIZE); in Curl_ipv4_resolve_r()
H A Dldap.c824 res = calloc(items, sizeof(char *)); in split_str()
941 ludp->lud_attrs = calloc(count + 1, sizeof(TCHAR *)); in _ldap_url_parse2()
943 ludp->lud_attrs = calloc(count + 1, sizeof(char *)); in _ldap_url_parse2()
1072 LDAPURLDesc *ludp = calloc(1, sizeof(*ludp)); in _ldap_url_parse()
H A Dcf-haproxy.c219 ctx = calloc(1, sizeof(*ctx)); in cf_haproxy_create()
H A Dformdata.c88 post = calloc(1, sizeof(struct curl_httppost)); in AddHttpPost()
139 form_info = calloc(1, sizeof(struct FormInfo)); in AddFormInfo()
229 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.c79 ai = calloc(1, sizeof(struct Curl_addrinfo) + sizeof(struct sockaddr_in) + in fake_ai()
101 data_node = calloc(1, sizeof(struct Curl_dns_entry)); in create_node()
H A Dunit2604.c85 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 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 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 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.c55 curl_calloc_callback Curl_ccalloc = (curl_calloc_callback)calloc;
117 *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.md64 To replace calloc()
/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 57 milliseconds

1234