Home
last modified time | relevance | path

Searched refs:strdup (Results 1 – 25 of 74) sorted by relevance

123

/curl/tests/unit/
H A Dunit1653.c70 ipv6port = strdup("[fe80::250:56ff:fea7:da15]");
84 ipv6port = strdup("[fe80::250:56ff:fea7:da15|");
95 ipv6port = strdup("[fe80::250:56ff;fea7:da15]:808");
112 ipv6port = strdup("[fe80::250:56ff:fea7:da15%25eth3]:80");
128 ipv6port = strdup("[fe80::250:56ff:fea7:da15%25eth3]");
140 ipv6port = strdup("[fe80::250:56ff:fea7:da15]:81");
156 ipv6port = strdup("[fe80::250:56ff:fea7:da15];81");
167 ipv6port = strdup("[fe80::250:56ff:fea7:da15]80");
180 ipv6port = strdup("[fe80::250:56ff:fea7:da15]:");
192 ipv6port = strdup("[fe80::250:56ff:fea7:da15!25eth3]:180");
[all …]
/curl/lib/
H A Dcurl_multibyte.h72 #define curlx_convert_UTF8_to_tchar(ptr) (strdup)(ptr)
73 #define curlx_convert_tchar_to_UTF8(ptr) (strdup)(ptr)
H A Dcurl_memory.h63 #undef strdup
154 #undef strdup
155 #define strdup(ptr) Curl_cstrdup(ptr) macro
H A Didn.c110 *out = strdup(buffer); in mac_idn_to_ascii()
138 *out = strdup(buffer); in mac_ascii_to_idn()
181 *out = strdup(mstr); in win32_idn_to_ascii()
211 out = strdup(mstr); in win32_ascii_to_idn()
316 char *c = strdup(d); in Curl_idn_decode()
335 char *c = strdup(d); in Curl_idn_encode()
H A Dgetenv.c73 return (env && env[0]) ? strdup(env) : NULL; in GetEnv()
H A Dnetrc.c252 login = strdup(tok); in parsenetrc()
263 password = strdup(tok); in parsenetrc()
314 password = strdup(""); in parsenetrc()
H A Dformdata.c341 current_form->value = strdup(filename); in FormAdd()
363 char *fname = strdup(filename); in FormAdd()
387 current_form->value = strdup(filename); in FormAdd()
452 char *type = strdup(contenttype); in FormAdd()
476 current_form->contenttype = strdup(contenttype); in FormAdd()
510 current_form->showfilename = strdup(filename); in FormAdd()
585 form->contenttype = strdup(type); in FormAdd()
H A Dslist.c94 char *dupdata = strdup(data); in curl_slist_append()
H A Dcookie.c158 uri_path = strdup(request_uri); in pathmatch()
285 char *new_path = strdup(cookie_path); in sanitize_cookie_path()
751 co->domain = strdup(domain); in parse_cookie_header()
850 co->domain = strdup(ptr); in parse_netscape()
866 co->path = strdup(ptr); in parse_netscape()
877 co->path = strdup("/"); in parse_netscape()
880 co->spath = strdup("/"); in parse_netscape()
899 co->name = strdup(ptr); in parse_netscape()
911 co->value = strdup(ptr); in parse_netscape()
919 co->value = strdup(""); in parse_netscape()
H A Dmemdebug.h115 #undef strdup
116 #define strdup(ptr) curl_dbg_strdup(ptr, __LINE__, __FILE__) macro
H A Durl.c2241 proxypasswd = strdup("");
2350 conn->http_proxy.user = strdup(proxyuser);
2384 proxy = strdup(data->set.str[STRING_PROXY]);
2733 conn->user = strdup(*userp);
2739 *userp = strdup("");
2763 *userp = strdup(data->state.aptr.user);
2808 conn->user = strdup(setuser);
2815 conn->passwd = strdup(setpasswd);
2850 host_dup = strdup(host);
2913 *hostname_result = strdup(hostptr);
[all …]
H A Dhttp_digest.c156 path = (unsigned char *) strdup((char *) uripath); in Curl_output_digest()
H A Descape.c70 return strdup(""); in curl_easy_escape()
H A Dgopher.c156 gopherpath = strdup(path); in gopher_do()
/curl/src/
H A Dtool_strdup.h29 extern char *strdup(const char *str);
H A Dtool_strdup.c27 char *strdup(const char *str) in strdup() function
H A Dtool_doswin.c138 target = strdup(file_name); in sanitize_file_name()
420 *sanitized = strdup(dos_name); in msdosify()
462 *sanitized = strdup(file_name); in rename_if_reserved_dos()
549 *sanitized = strdup(fname); in rename_if_reserved_dos()
604 config->cacert = strdup(mstr); in FindWin32CACert()
H A Dtool_ipfs.c175 gateway = strdup(config->ipfs_gateway); in ipfs_url_rewrite()
256 *url = strdup(cloneurl); in ipfs_url_rewrite()
H A Dtool_dirhie.c107 outdup = strdup(outfile); in create_dir_hierarchy()
H A Dtool_findfile.c81 char *path = strdup(c); in checkhome()
H A Dtool_formparse.c67 mime_data_copy = strdup(mime_data); in tool_mime_new_data()
89 char *filedup = strdup(filename); in tool_mime_new_filedata()
134 data = strdup(""); in tool_mime_new_filedata()
709 (m)->field = strdup(field); \
744 contents = strdup(input); in formparse()
/curl/lib/vauth/
H A Ddigest.c231 tmp = strdup(options); in auth_digest_get_qop_values()
531 digest->nonce = strdup(content); in Curl_auth_decode_digest_http_message()
543 digest->realm = strdup(content); in Curl_auth_decode_digest_http_message()
549 digest->opaque = strdup(content); in Curl_auth_decode_digest_http_message()
557 tmp = strdup(content); in Curl_auth_decode_digest_http_message()
580 digest->qop = strdup(DIGEST_QOP_VALUE_STRING_AUTH); in Curl_auth_decode_digest_http_message()
586 digest->qop = strdup(DIGEST_QOP_VALUE_STRING_AUTH_INT); in Curl_auth_decode_digest_http_message()
593 digest->algorithm = strdup(content); in Curl_auth_decode_digest_http_message()
/curl/tests/server/
H A DMakefile.inc35 ../../lib/strdup.c \
47 ../../lib/strdup.h \
/curl/tests/libtest/
H A Dlib509.c56 return (strdup)(ptr); in custom_strdup()
H A Dstub_gssapi.c342 status_string->value = strdup(maj_str); in gss_display_status()
345 status_string->value = strdup(min_err_table[status_value]); in gss_display_status()

Completed in 43 milliseconds

123