Lines Matching defs:path
97 char *path = NULL;
107 uerr = curl_url_get(uh, CURLUPART_PATH, &path, 0);
115 curl_free(path);
119 ptr = strrchr(path, '/');
121 /* The URL path has no file name part, add the local file name. In order
124 /* We only want the part of the local path that is on the right
143 /* there is a trailing slash on the path */
144 newpath = aprintf("%s%s", path, encfile);
146 /* there is no trailing slash on the path */
147 newpath = aprintf("%s/%s", path, encfile);
175 curl_free(path);
187 char *path = NULL;
197 uerr = curl_url_get(uh, CURLUPART_PATH, &path, 0);
201 pc = strrchr(path, '/');
202 pc2 = strrchr(pc ? pc + 1 : path, '\\');
214 curl_free(path);