Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 103) 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
156 #undef malloc
157 #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.c66 curl_thread_t t = malloc(sizeof(pthread_t)); in Curl_thread_create()
67 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()
298 sspi_recv_token.pvBuffer = malloc(us_length); in Curl_SOCKS5_gssapi_negotiate()
409 sspi_w_token[0].pvBuffer = malloc(sspi_sizes.cbSecurityTrailer); in Curl_SOCKS5_gssapi_negotiate()
417 sspi_w_token[1].pvBuffer = malloc(1); in Curl_SOCKS5_gssapi_negotiate()
427 sspi_w_token[2].pvBuffer = malloc(sspi_sizes.cbBlockSize); in Curl_SOCKS5_gssapi_negotiate()
449 sspi_send_token.pvBuffer = malloc(sspi_send_token.cbBuffer); in Curl_SOCKS5_gssapi_negotiate()
542 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/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/unit/
H A Dunit1602.c62 value = malloc(sizeof(int));
72 value2 = malloc(sizeof(int));
H A Dunit1616.c60 value = malloc(sizeof(int));
74 value2 = malloc(sizeof(int));
H A Dunit1330.c40 char *ptr = malloc(1330);
H A Dunit1604.c49 char *buf = malloc(256); in getflagstr()
62 char *buf = malloc(256); in getcurlcodestr()
H A Dunit1661.c71 buffer = malloc(13);
/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()
H A Dtool_parsecfg.c150 param = malloc(strlen(line) + 1); /* parameter */ in parseconfig()
205 operation->next = malloc(sizeof(struct OperationConfig)); in parseconfig()
/curl/tests/libtest/
H A Dlib558.c43 ptr = malloc(558); in test()
H A Dlib1559.c35 char *longurl = malloc(EXCESSIVE); in test()
H A Dlib509.c50 return (malloc)(size); in custom_malloc()
/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()

Completed in 42 milliseconds

12345