Home | History | Annotate | Download | only in lib

Lines Matching refs:slash_pos

4138   const char *slash_pos;  /* position of the first '/' char in curpos */
4180 slash_pos = strrchr(cur_pos, '/');
4181 if(slash_pos || !*cur_pos) {
4182 size_t dirlen = slash_pos-cur_pos;
4192 result = Curl_urldecode(conn->data, slash_pos ? cur_pos : "/",
4193 slash_pos ? dirlen : 1,
4201 filename = slash_pos ? slash_pos + 1 : cur_pos; /* rest is file name */
4223 while((slash_pos = strchr(cur_pos, '/')) != NULL) {
4229 if(slash_pos-cur_pos) {
4233 size_t len = slash_pos - cur_pos + absolute_dir;
4244 cur_pos = slash_pos + 1; /* jump to the rest of the string */
4257 cur_pos = slash_pos + 1; /* jump to the rest of the string */