Home
last modified time | relevance | path

Searched refs:schemep (Results 1 – 2 of 2) sorted by relevance

/third_party/curl/lib/
Durlapi.c1142 const char *schemep = NULL; in parseurl() local
1154 schemep = schemebuf; in parseurl()
1155 if(!Curl_get_scheme_handler(schemep) && in parseurl()
1176 schemep = DEFAULT_SCHEME; in parseurl()
1184 if(schemep) { in parseurl()
1185 u->scheme = strdup(schemep); in parseurl()
1204 if((flags & CURLU_GUESS_SCHEME) && !schemep) { in parseurl()
1208 schemep = "ftp"; in parseurl()
1210 schemep = "dict"; in parseurl()
1212 schemep = "ldap"; in parseurl()
[all …]
/third_party/curl/src/
Dtool_operate.c705 char *schemep = NULL; in url_proto() local
709 !curl_url_get(uh, CURLUPART_SCHEME, &schemep, in url_proto()
711 if(curl_strequal(schemep, proto_ipfs) || in url_proto()
712 curl_strequal(schemep, proto_ipns)) { in url_proto()
713 result = ipfs_url_rewrite(uh, schemep, url, config); in url_proto()
715 if(curl_strequal(schemep, proto_ipfs)) in url_proto()
717 else if(curl_strequal(schemep, proto_ipns)) in url_proto()
723 proto = proto_token(schemep); in url_proto()
725 curl_free(schemep); in url_proto()