Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 104) sorted by relevance

12345

/curl/lib/
H A Dstrdup.c50 newstr = malloc(len); in Curl_strdup()
93 void *buffer = malloc(length); in Curl_memdup()
114 char *buf = malloc(length + 1); in Curl_memdup0()
H A Dcurl_memory.h64 #undef malloc
154 #undef malloc
155 #define malloc(size) Curl_cmalloc(size) macro
H A Dcurl_multibyte.c51 str_w = malloc(str_w_len * sizeof(wchar_t)); in curlx_convert_UTF8_to_wchar()
73 str_utf8 = malloc(bytes); in curlx_convert_wchar_to_UTF8()
H A Dcurl_threads.c64 curl_thread_t t = malloc(sizeof(pthread_t)); in Curl_thread_create()
65 struct Curl_actual_call *ac = malloc(sizeof(struct Curl_actual_call)); in Curl_thread_create()
H A Dsocks_sspi.c110 service_name = malloc(service_length + in Curl_SOCKS5_gssapi_negotiate()
297 sspi_recv_token.pvBuffer = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate()
407 sspi_w_token[0].pvBuffer = malloc(sspi_sizes.cbSecurityTrailer); in Curl_SOCKS5_gssapi_negotiate()
415 sspi_w_token[1].pvBuffer = malloc(1); in Curl_SOCKS5_gssapi_negotiate()
425 sspi_w_token[2].pvBuffer = malloc(sspi_sizes.cbBlockSize); in Curl_SOCKS5_gssapi_negotiate()
447 sspi_send_token.pvBuffer = malloc(sspi_send_token.cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
538 sspi_w_token[0].pvBuffer = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate()
H A Dbase64.c114 newstr = malloc(rawlen + 1); in Curl_base64_decode()
208 base64data = output = malloc((insize + 2) / 3 * 4 + 1); in base64_encode()
H A Dslist.c68 new_item = malloc(sizeof(struct curl_slist)); in Curl_slist_append_nodup()
/curl/tests/unit/
H A Dunit1602.c63 value = malloc(sizeof(int));
73 value2 = malloc(sizeof(int));
H A Dunit1616.c61 value = malloc(sizeof(int));
75 value2 = malloc(sizeof(int));
H A Dunit1330.c40 char *ptr = malloc(1330);
H A Dunit1604.c49 char *buf = malloc(256); in getflagstr()
66 char *buf = malloc(256); in getcurlcodestr()
H A Dunit1661.c70 buffer = malloc(13);
/curl/packages/OS400/
H A Dos400sys.c132 buf->buf = malloc(size); in get_buffer()
355 char *t = malloc(i); in Curl_gss_convert_in_place()
388 in.value = malloc(i + 1); in Curl_gss_import_name_a()
528 ehost = malloc(i + 1); in Curl_ldap_init_a()
552 edn = malloc(i + 1); in Curl_ldap_simple_bind_s_a()
563 epasswd = malloc(i + 1); in Curl_ldap_simple_bind_s_a()
598 ebase = malloc(i + 1); in Curl_ldap_search_s_a()
671 cp = malloc(i + 1); in Curl_ldap_get_values_len_a()
711 cp2 = malloc(i + 1); in Curl_ldap_get_dn_a()
742 cp2 = malloc(i + 1); in Curl_ldap_first_attribute_a()
[all …]
/curl/tests/data/
H A Dtest55839 MEM easy.c: malloc()
40 MEM lib%TESTNUMBER.c: malloc()
H A Dtest133035 MEM unit%TESTNUMBER.c: malloc()
/curl/src/
H A Dtool_strdup.c37 newstr = malloc(len); in strdup()
H A Dslist_wc.c47 list = malloc(sizeof(struct slist_wc)); in slist_wc_append()
/curl/tests/libtest/
H A Dlib558.c43 ptr = malloc(558); in test()
H A Dlib509.c50 return (malloc)(size); in custom_malloc()
H A Dlib1559.c35 char *longurl = malloc(EXCESSIVE); in test()
/curl/lib/vauth/
H A Dkrb5_sspi.c135 krb5->output_token = malloc(krb5->token_max); in Curl_auth_create_gssapi_user_message()
344 trailer = malloc(sizes.cbSecurityTrailer); in Curl_auth_create_gssapi_security_message()
352 message = malloc(messagelen); in Curl_auth_create_gssapi_security_message()
372 padding = malloc(sizes.cbBlockSize); in Curl_auth_create_gssapi_security_message()
411 appdata = malloc(appdatalen); in Curl_auth_create_gssapi_security_message()
H A Dcleartext.c83 plainauth = malloc(plainlen + 1); in Curl_auth_create_plain_message()
/curl/docs/examples/
H A Dgetinmemory.c69 chunk.memory = malloc(1); /* grown as needed by the realloc above */ in main()
H A Dpostinmemory.c66 chunk.memory = malloc(1); /* grown as needed by realloc above */ in main()
/curl/tests/server/
H A Dgetpart.c58 curl_malloc_callback Curl_cmalloc = (curl_malloc_callback)malloc;
91 convbuf = malloc(insize); in Curl_convert_clone()
341 *outbuf = malloc(outalloc); in getpart()

Completed in 49 milliseconds

12345