Searched refs:DirStack (Results 1 – 5 of 5) sorted by relevance
34 class DirStack {36 explicit DirStack(const std::string &dst) : ok_(false) { in DirStack() function47 ~DirStack() { in ~DirStack()
135 DirStack dstack(kpath); in parse()
1609 SmallVector<StringRef, 16> DirStack; member in __anon45e96e000911::JSONWriter1610 inline unsigned getDirIndent() { return 4 * DirStack.size(); } in getDirIndent()1611 inline unsigned getFileIndent() { return 4 * (DirStack.size() + 1); } in getFileIndent()1647 DirStack.empty() ? Path : containedPart(DirStack.back(), Path); in startDirectory()1648 DirStack.push_back(Path); in startDirectory()1661 DirStack.pop_back(); in endDirectory()1713 if (Dir == DirStack.back()) in write()1716 while (!DirStack.empty() && !containedIn(DirStack.back(), Dir)) { in write()1733 while (!DirStack.empty()) { in write()
1908 SmallVector<StringRef, 16> DirStack; member in __anon02b9f3930911::JSONWriter1910 unsigned getDirIndent() { return 4 * DirStack.size(); } in getDirIndent()1911 unsigned getFileIndent() { return 4 * (DirStack.size() + 1); } in getFileIndent()1950 DirStack.empty() ? Path : containedPart(DirStack.back(), Path); in startDirectory()1951 DirStack.push_back(Path); in startDirectory()1964 DirStack.pop_back(); in endDirectory()2016 if (Dir == DirStack.back()) in write()2019 while (!DirStack.empty() && !containedIn(DirStack.back(), Dir)) { in write()2036 while (!DirStack.empty()) { in write()
2002 SmallVector<StringRef, 16> DirStack; member in __anonbe2b359f0a11::JSONWriter2004 unsigned getDirIndent() { return 4 * DirStack.size(); } in getDirIndent()2005 unsigned getFileIndent() { return 4 * (DirStack.size() + 1); } in getFileIndent()2044 DirStack.empty() ? Path : containedPart(DirStack.back(), Path); in startDirectory()2045 DirStack.push_back(Path); in startDirectory()2058 DirStack.pop_back(); in endDirectory()2118 if (Dir == DirStack.back()) { in write()2124 while (!DirStack.empty() && !containedIn(DirStack.back(), Dir)) { in write()2148 while (!DirStack.empty()) { in write()