Home | History | Annotate | Download | only in Basic

Lines Matching refs:Parent

1087     StringRef Parent = sys::path::parent_path(Trimmed);
1088 if (Parent.empty())
1092 for (sys::path::reverse_iterator I = sys::path::rbegin(Parent),
1093 E = sys::path::rend(Parent);
1385 bool containedIn(StringRef Parent, StringRef Path);
1386 StringRef containedPart(StringRef Parent, StringRef Path);
1397 bool JSONWriter::containedIn(StringRef Parent, StringRef Path) {
1400 auto IParent = path::begin(Parent), EParent = path::end(Parent);
1406 // Have we exhausted the parent path?
1410 StringRef JSONWriter::containedPart(StringRef Parent, StringRef Path) {
1411 assert(!Parent.empty());
1412 assert(containedIn(Parent, Path));
1413 return Path.slice(Parent.size() + 1, StringRef::npos);