Home | History | Annotate | Download | only in lib

Lines Matching refs:slash_pos

4249   const char *slash_pos;  /* position of the first '/' char in curpos */
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 : "/",
4303 slash_pos ? curlx_uztosi(dirlen) : 1,
4310 filename = slash_pos ? slash_pos+1 : cur_pos; /* rest is file name */
4332 while((slash_pos = strchr(cur_pos, '/')) != NULL) {
4338 if(slash_pos-cur_pos) {
4342 int len = curlx_sztosi(slash_pos - cur_pos + absolute_dir);
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 */