Home | History | Annotate | Download | only in lib

Lines Matching defs:cur_pos

4251   const char *cur_pos;
4254 cur_pos = path_to_use; /* current position in path. point at the begin
4291 slash_pos=strrchr(cur_pos, '/');
4292 if(slash_pos || !*cur_pos) {
4293 size_t dirlen = slash_pos-cur_pos;
4302 ftpc->dirs[0] = curl_easy_unescape(conn->data, slash_pos ? cur_pos : "/",
4310 filename = slash_pos ? slash_pos+1 : cur_pos; /* rest is file name */
4313 filename = cur_pos; /* this is a file name only */
4326 cur_pos++; /* make it point to the zero byte */
4332 while((slash_pos = strchr(cur_pos, '/')) != NULL) {
4334 ssize_t absolute_dir = ((cur_pos - data->state.path > 0) &&
4338 if(slash_pos-cur_pos) {
4342 int len = curlx_sztosi(slash_pos - cur_pos + absolute_dir);
4344 curl_easy_unescape(conn->data, cur_pos - absolute_dir, len, NULL);
4357 cur_pos = slash_pos + 1; /* jump to the rest of the string */
4370 cur_pos = slash_pos + 1; /* jump to the rest of the string */
4384 filename = cur_pos; /* the rest is the file name */