Lines Matching refs:substr
1181 if (i.substr(0,3) == "../")
1182 i = i.substr(3);
1183 else if(i.substr(0,2) == "./")
1184 i = i.substr(2);
1187 else if (i.substr(0,3) == "/./")
1188 i = i.substr(2);
1193 else if (i.substr(0,4) == "/../") {
1194 i = i.substr(3);
1197 o = o.substr(0, sl);
1211 else if (i.substr(0,2) == "//")
1212 i = i.substr(1);
1217 o += i.substr(0, next_slash);
1221 i = i.substr(next_slash);
1716 std::string file = b_source0.substr(b_source0.find_last_of("/")+1, b_source0.length());
1744 return fn.substr(1);
2002 std::string file = b_source1.substr(b_source1.find_last_of("/")+1, b_source1.length());
2134 section = suffix.substr(1);
2356 string header = header_dup.substr(0,colon);
2357 string value = header_dup.substr(colon+1,newline-colon-1);
2361 value = value.substr(nonspace);
2363 header_dup = header_dup.substr(newline+1);
2598 string url1 = url_copy.substr(0, slash1); // ok even if slash1 not found
2625 string buildid = url_copy.substr(slash1+1, slash2-slash1-1);
2631 artifacttype = url_copy.substr(slash2+1);
2636 artifacttype = url_copy.substr(slash2+1, slash3-slash2-1);
2637 suffix = url_copy.substr(slash3); // include the slash in the suffix