Lines Matching refs:rawPath
1385 char *rawPath = NULL; in ftp_state_list() local
1386 result = Curl_urldecode(ftp->path, 0, &rawPath, NULL, REJECT_CTRL); in ftp_state_list()
1390 slashPos = strrchr(rawPath, '/'); in ftp_state_list()
1394 size_t n = slashPos - rawPath; in ftp_state_list()
1398 lstArg = rawPath; in ftp_state_list()
1402 free(rawPath); in ftp_state_list()
3195 char *rawPath = NULL; in ftp_done() local
3244 result = Curl_urldecode(ftp->path, 0, &rawPath, &pathLen, in ftp_done()
3255 if((data->set.ftp_filemethod == FTPFILE_NOCWD) && (rawPath[0] == '/')) in ftp_done()
3256 free(rawPath); /* full path => no CWDs happened => keep ftpc->prevpath */ in ftp_done()
3267 rawPath[pathLen] = '\0'; in ftp_done()
3268 ftpc->prevpath = rawPath; in ftp_done()
3271 free(rawPath); in ftp_done()
4121 char *rawPath = NULL; /* url-decoded "raw" path */ in ftp_parse_url_path() local
4128 result = Curl_urldecode(ftp->path, 0, &rawPath, &pathLen, REJECT_CTRL); in ftp_parse_url_path()
4137 if((pathLen > 0) && (rawPath[pathLen - 1] != '/')) in ftp_parse_url_path()
4138 fileName = rawPath; /* this is a full file path */ in ftp_parse_url_path()
4148 slashPos = strrchr(rawPath, '/'); in ftp_parse_url_path()
4151 size_t dirlen = slashPos - rawPath; in ftp_parse_url_path()
4157 free(rawPath); in ftp_parse_url_path()
4161 ftpc->dirs[0] = Curl_memdup0(rawPath, dirlen); in ftp_parse_url_path()
4163 free(rawPath); in ftp_parse_url_path()
4171 fileName = rawPath; /* filename only (or empty) */ in ftp_parse_url_path()
4177 const char *curPos = rawPath; in ftp_parse_url_path()
4181 const char *str = rawPath; in ftp_parse_url_path()
4189 free(rawPath); in ftp_parse_url_path()
4207 free(rawPath); in ftp_parse_url_path()
4230 free(rawPath); in ftp_parse_url_path()
4236 if((data->set.ftp_filemethod == FTPFILE_NOCWD) && (rawPath[0] == '/')) in ftp_parse_url_path()
4247 if((strlen(oldPath) == n) && !strncmp(rawPath, oldPath, n)) { in ftp_parse_url_path()
4254 free(rawPath); in ftp_parse_url_path()