Home
last modified time | relevance | path

Searched refs:LastComponent (Results 1 – 10 of 10) 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/llvm-project/clang/lib/Driver/
DToolChain.cpp214 size_t LastComponent = ProgName.rfind('-', SuffixPos); in getTargetAndModeFromProgramName() local
215 if (LastComponent == std::string::npos) in getTargetAndModeFromProgramName()
217 std::string ModeSuffix = ProgName.substr(LastComponent + 1, in getTargetAndModeFromProgramName()
218 SuffixEnd - LastComponent - 1); in getTargetAndModeFromProgramName()
222 Prefix = Prefix.slice(0, LastComponent); in getTargetAndModeFromProgramName()
/external/llvm-project/llvm/tools/llvm-cov/
DCoverageReport.cpp161 auto LastComponent = Component; in getRedundantPrefixLen() local
163 PrefixLen += Component - LastComponent; in getRedundantPrefixLen()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DMicrosoftDemangleNodes.h533 Node *LastComponent = Components->Nodes[Components->Count - 1]; in getUnqualifiedIdentifier() local
534 return static_cast<IdentifierNode *>(LastComponent); in getUnqualifiedIdentifier()
/external/llvm-project/llvm/include/llvm/Demangle/
DMicrosoftDemangleNodes.h533 Node *LastComponent = Components->Nodes[Components->Count - 1]; in getUnqualifiedIdentifier() local
534 return static_cast<IdentifierNode *>(LastComponent); in getUnqualifiedIdentifier()
/external/llvm-project/llvm/unittests/Support/
DPath.cpp381 StringRef LastComponent = *path::rbegin(Path.first, Path.second); in TEST() local
382 EXPECT_EQ(".", LastComponent); in TEST()
394 StringRef LastComponent = *path::rbegin(Path.first, Path.second); in TEST() local
395 EXPECT_EQ(1u, LastComponent.size()); in TEST()
396 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DVirtualFileSystem.cpp1468 StringRef LastComponent = sys::path::filename(Trimmed, path_style); in parseEntry() local
1474 LastComponent, std::move(ExternalContentsPath), UseExternalName); in parseEntry()
1479 LastComponent, std::move(EntryArrayContents), in parseEntry()
/external/llvm-project/llvm/lib/Support/
DVirtualFileSystem.cpp1508 StringRef LastComponent = sys::path::filename(Trimmed, path_style); in parseEntry() local
1514 LastComponent, std::move(ExternalContentsPath), UseExternalName); in parseEntry()
1519 LastComponent, std::move(EntryArrayContents), in parseEntry()