Home
last modified time | relevance | path

Searched refs:LastComponent (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/Driver/
DToolChain.cpp172 std::string::size_type LastComponent = in getTargetAndModeFromProgramName() local
174 if (LastComponent == std::string::npos) in getTargetAndModeFromProgramName()
179 Prefix = Prefix.slice(0, LastComponent); in getTargetAndModeFromProgramName()
/external/llvm/unittests/Support/
DPath.cpp285 StringRef LastComponent = *path::rbegin(Path); in TEST() local
286 EXPECT_EQ(".", LastComponent); in TEST()
297 StringRef LastComponent = *path::rbegin(Path); in TEST() local
298 EXPECT_EQ(1u, LastComponent.size()); in TEST()
299 EXPECT_TRUE(path::is_separator(LastComponent[0])); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DCoverageReport.cpp162 auto LastComponent = Component; in getRedundantPrefixLen() local
164 PrefixLen += Component - LastComponent; in getRedundantPrefixLen()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DPath.cpp278 StringRef LastComponent = *path::rbegin(Path.first, Path.second); in TEST() local
279 EXPECT_EQ(".", LastComponent); in TEST()
291 StringRef LastComponent = *path::rbegin(Path.first, Path.second); in TEST() local
292 EXPECT_EQ(1u, LastComponent.size()); in TEST()
293 EXPECT_TRUE(path::is_separator(LastComponent[0], Path.second)); in TEST()
/external/clang/lib/Basic/
DVirtualFileSystem.cpp1254 StringRef LastComponent = sys::path::filename(Trimmed); in parseEntry() local
1260 LastComponent, std::move(ExternalContentsPath), UseExternalName); in parseEntry()
1264 LastComponent, std::move(EntryArrayContents), in parseEntry()