Lines Matching refs:newp
842 char *newp = malloc(strlen(path) * 3); in seturl() local
843 if(!newp) in seturl()
846 strcpy_url(newp, path, TRUE); /* consider it relative */ in seturl()
847 u->temppath = path = newp; in seturl()
875 char *newp = Curl_dedotdotify(path); in seturl() local
876 if(!newp) in seturl()
879 if(strcmp(newp, path)) { in seturl()
883 u->temppath = path = newp; in seturl()
887 free(newp); in seturl()
1380 const char *newp = part; in curl_url_set() local
1424 newp = enc; in curl_url_set()
1430 newp = strdup(part); in curl_url_set()
1431 if(!newp) in curl_url_set()
1433 p = (char *)newp; in curl_url_set()
1453 size_t newplen = strlen(newp); in curl_url_set()
1456 free((char *)newp); in curl_url_set()
1462 strcpy(&p[querylen + addamperand], newp); /* new suffix */ in curl_url_set()
1463 free((char *)newp); in curl_url_set()
1471 if(0 == strlen(newp) && (flags & CURLU_NO_AUTHORITY)) { in curl_url_set()
1475 if(hostname_check(u, (char *)newp)) { in curl_url_set()
1476 free((char *)newp); in curl_url_set()
1483 *storep = (char *)newp; in curl_url_set()