Home
last modified time | relevance | path

Searched refs:drop_back (Results 1 – 25 of 83) sorted by relevance

1234

/external/clang/lib/Tooling/
DFileMatchTrie.cpp70 StringRef(Path).drop_back(ConsumedLength))); in insert()
74 StringRef(NewPath).drop_back(ConsumedLength))); in insert()
108 StringRef Element(llvm::sys::path::filename(FileName.drop_back( in findEquivalent()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DCachePruning.cpp85 StringRef SizeStr = Value.drop_back(); in parseCachePruningPolicy()
100 Value = Value.drop_back(); in parseCachePruningPolicy()
104 Value = Value.drop_back(); in parseCachePruningPolicy()
108 Value = Value.drop_back(); in parseCachePruningPolicy()
DDebugCounter.cpp78 auto CounterName = CounterPair.first.drop_back(5); in push_back()
89 auto CounterName = CounterPair.first.drop_back(6); in push_back()
DGlobPattern.cpp112 if (S.endswith("*") && !hasWildcard(S.drop_back())) { in create()
113 Pat.Prefix = S.drop_back(); in create()
/external/llvm/unittests/ADT/
DArrayRefTest.cpp67 EXPECT_TRUE(AR1.drop_back().equals(AR2)); in TEST()
71 EXPECT_EQ(1U, AR3.drop_back(AR3.size() - 1).size()); in TEST()
98 ArrayRef<int> AR1a = AR1.drop_back(); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DBinaryStreamRef.h80 RefType drop_back(uint32_t N) const { in drop_back() function
102 return drop_back(getLength() - N); in keep_front()
114 return drop_front(N).drop_back(N); in drop_symmetric()
DTypeName.h38 return Name.drop_back(1); in getTypeName()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DArrayRefTest.cpp88 EXPECT_EQ(1U, AR.drop_back(AR.size() - 1).size()); in TEST()
102 EXPECT_TRUE(AR1.drop_back().equals(AR2)); in TEST()
183 ArrayRef<int> AR1a = AR1.drop_back(); in TEST()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringRef.h600 return drop_back(size() - N);
643 StringRef drop_back(size_t N = 1) const {
682 *this = drop_back(Suffix.size()); in consume_back()
812 return drop_back(Length - std::min(Length, find_last_not_of(Char) + 1)); in rtrim()
819 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
DArrayRef.h186 ArrayRef<T> drop_back(size_t N = 1) const {
207 return drop_back(size() - N);
360 MutableArrayRef<T> drop_back(size_t N = 1) const {
383 return drop_back(this->size() - N);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DStringRef.h611 return drop_back(size() - N);
654 StringRef drop_back(size_t N = 1) const {
693 *this = drop_back(Suffix.size()); in consume_back()
835 return drop_back(Length - std::min(Length, find_last_not_of(Char) + 1)); in rtrim()
842 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
DArrayRef.h194 ArrayRef<T> drop_back(size_t N = 1) const {
215 return drop_back(size() - N);
367 MutableArrayRef<T> drop_back(size_t N = 1) const {
390 return drop_back(this->size() - N);
/external/llvm/include/llvm/ADT/
DStringRef.h441 StringRef drop_back(size_t N = 1) const {
565 return drop_back(Length - std::min(Length, find_last_not_of(Char) + 1)); in rtrim()
571 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
DArrayRef.h183 ArrayRef<T> drop_back(size_t N = 1) const {
300 MutableArrayRef<T> drop_back(size_t N = 1) const {
/external/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp322 Name = Name.drop_back(Suffix.size()); in consumeNameSuffix()
326 Name = Name.drop_back(2); in consumeNameSuffix()
487 FullName.drop_back(Pattern.size()).endswith("::")) { in matchesNodeFullSlow()
/external/llvm/include/llvm/Support/
DTypeName.h38 return Name.drop_back(1); in getTypeName()
/external/llvm/lib/Target/AMDGPU/
DSIFrameLowering.cpp161 for (MCPhysReg Reg : getAllSGPR128().drop_back(2).slice(NumPreloaded)) { in emitPrologue()
191 for (MCPhysReg Reg : getAllSGPRs().drop_back(13).slice(NumPreloaded)) { in emitPrologue()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DBinaryStreamTest.cpp305 Dropped = Dropped.drop_back(0); in TEST_F()
312 Dropped = Dropped.drop_back(1); in TEST_F()
336 Dropped = Original.drop_back(2); in TEST_F()
339 EXPECT_EQ(RefData.drop_back(2), Result); in TEST_F()
354 EXPECT_EQ(RefData.drop_front(2).drop_back(2), Result); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DTypeIndex.cpp81 return SimpleTypeName.Name.drop_back(1); in simpleTypeName()
/external/llvm/tools/llvm-as/
Dllvm-as.cpp69 OutputFilename = (IFN.endswith(".ll") ? IFN.drop_back(3) : IFN).str(); in WriteOutputFile()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-as/
Dllvm-as.cpp74 OutputFilename = (IFN.endswith(".ll") ? IFN.drop_back(3) : IFN).str(); in WriteOutputFile()
/external/llvm/tools/llc/
Dllc.cpp156 OutputFilename = IFN.drop_back(3); in GetOutputStream()
158 OutputFilename = IFN.drop_back(4); in GetOutputStream()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/
DMSFBuilder.cpp218 StreamData[Idx].second = CurrentBlocks.drop_back(RemovedBlocks); in setStreamSize()
277 ArrayRef<uint32_t>(DirectoryBlocks).drop_back(NumUnnecessaryBlocks)) in generateLayout()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dis/
Dllvm-dis.cpp183 OutputFilename = (IFN.endswith(".bc") ? IFN.drop_back(3) : IFN).str(); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llc/
Dllc.cpp186 OutputFilename = IFN.drop_back(3); in GetOutputStream()
188 OutputFilename = IFN.drop_back(4); in GetOutputStream()

1234