Home
last modified time | relevance | path

Searched refs:drop_front (Results 1 – 25 of 173) sorted by relevance

1234567

/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DTypeIndexDiscovery.cpp91 Content = Content.drop_front(Len); in handleMethodOverloadList()
102 return 8 + getEncodedIntegerLength(Data.drop_front(8)); in handleBaseClass()
111 uint32_t Size = 4 + getEncodedIntegerLength(Data.drop_front(4)); in handleEnumerator()
112 return Size + getCStringLength(Data.drop_front(Size)); in handleEnumerator()
123 uint32_t Size = 8 + getEncodedIntegerLength(Data.drop_front(8)); in handleDataMember()
124 return Size + getCStringLength(Data.drop_front(Size)); in handleDataMember()
134 return 8 + getCStringLength(Data.drop_front(8)); in handleOverloadedMethod()
148 uint16_t Attrs = support::endian::read16le(Data.drop_front(2).data()); in handleOneMethod()
152 return Size + getCStringLength(Data.drop_front(Size)); in handleOneMethod()
162 return 8 + getCStringLength(Data.drop_front(8)); in handleNestedType()
[all …]
DTypeHashing.cpp43 RecordData = RecordData.drop_front(sizeof(RecordPrefix)); in hashType()
71 auto TrailingBytes = RecordData.drop_front(Off); in hashType()
/external/llvm/lib/DebugInfo/CodeView/
DRecordSerialization.cpp40 Data = Data.drop_front(2); in consume()
54 Data = Data.drop_front(1); in consume()
63 Data = Data.drop_front(2); in consume()
72 Data = Data.drop_front(2); in consume()
81 Data = Data.drop_front(4); in consume()
90 Data = Data.drop_front(4); in consume()
99 Data = Data.drop_front(8); in consume()
108 Data = Data.drop_front(8); in consume()
DCVTypeVisitor.cpp20 Data = Data.drop_front(sizeof(*Res)); in takeObject()
86 Data = Data.drop_front(BytesToAdvance); in skipPadding()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DFormatVariadic.cpp46 Spec = Spec.drop_front(2); in consumeFieldLayout()
49 Spec = Spec.drop_front(1); in consumeFieldLayout()
75 RepString = RepString.drop_front(); in parseReplacementItem()
81 Options = RepString.drop_front().trim(); in parseReplacementItem()
102 Fmt.drop_front(BO).take_while([](char C) { return C == '{'; }); in splitLiteralAndReplacement()
108 StringRef Right = Fmt.drop_front(BO + NumEscapedBraces * 2); in splitLiteralAndReplacement()
DDJB.cpp34 Buffer = Buffer.drop_front(Begin8 - Begin8Const); in chopOneUTF32()
80 Buffer = Buffer.drop_front(); in caseFoldingDjbHash()
DBinaryStreamWriter.cpp74 WritableBinaryStreamRef First = Stream.drop_front(Offset); in split()
76 WritableBinaryStreamRef Second = First.drop_front(Off); in split()
DARMBuildAttrs.cpp83 return HasTagPrefix ? TagName : TagName.drop_front(4); in AttrTypeAsString()
94 if (TagName.drop_front(HasTagPrefix ? 0 : 4) == Tag) { in AttrTypeFromString()
DGlobPattern.cpp118 if (S.startswith("*") && !hasWildcard(S.drop_front())) { in create()
119 Pat.Suffix = S.drop_front(); in create()
DBinaryStreamReader.cpp142 BinaryStreamRef First = Stream.drop_front(Offset); in split()
144 BinaryStreamRef Second = First.drop_front(Off); in split()
/external/clang/lib/ASTMatchers/Dynamic/
DParser.cpp108 Code = Code.drop_front(); in getNextToken()
113 Code = Code.drop_front(); in getNextToken()
118 Code = Code.drop_front(); in getNextToken()
123 Code = Code.drop_front(); in getNextToken()
150 Code = Code.drop_front(TokenLength); in getNextToken()
159 Code = Code.drop_front(TokenLength); in getNextToken()
163 Code = Code.drop_front(1); in getNextToken()
185 Code = Code.drop_front(Length); in consumeUnsignedLiteral()
220 Code = Code.drop_front(Length + 1); in consumeStringLiteral()
226 Code = Code.drop_front(Code.size()); in consumeStringLiteral()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DTypeName.h35 Name = Name.drop_front(Key.size()); in getTypeName()
45 Name = Name.drop_front(Key.size()); in getTypeName()
49 Name = Name.drop_front(Prefix.size()); in getTypeName()
DBinaryStreamRef.h62 RefType drop_front(uint32_t N) const { in drop_front() function
108 return drop_front(getLength() - N); in keep_back()
114 return drop_front(N).drop_back(N); in drop_symmetric()
120 return drop_front(Offset).keep_front(Len); in slice()
209 BinarySubstreamRef drop_front(uint32_t N) const { in drop_front() function
216 return std::make_pair(keep_front(Offset), drop_front(Offset)); in split()
/external/llvm/include/llvm/Support/
DTypeName.h35 Name = Name.drop_front(Key.size()); in getTypeName()
45 Name = Name.drop_front(Key.size()); in getTypeName()
49 Name = Name.drop_front(Prefix.size()); in getTypeName()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DCOFFModuleDefinition.cpp103 Buf = (End == Buf.npos) ? "" : Buf.drop_front(End); in lex()
107 Buf = Buf.drop_front(); in lex()
109 Buf = Buf.drop_front(); in lex()
114 Buf = Buf.drop_front(); in lex()
137 Buf = (End == Buf.npos) ? "" : Buf.drop_front(End); in lex()
259 } else if (Tok.Value.drop_front().getAsInteger(10, E.Ordinal)) { in parseExport()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/
DResourceScriptToken.cpp180 RCToken Token(TokenKind, Data.take_front(Pos).drop_front(TokenStart)); in run()
277 return Data.drop_front(Pos).startswith(FollowingChars); in willNowRead()
301 return Data.drop_front(Pos).startswith("/*"); in canStartBlockComment()
306 return Data.drop_front(Pos).startswith("//"); in canStartLineComment()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringRef.h319 StringRef S = drop_front(From);
323 S = S.drop_front();
611 return drop_front(size() - N);
634 StringRef drop_front(size_t N = 1) const {
671 *this = drop_front(Prefix.size()); in consume_front()
798 return drop_front(std::min(Length, find_first_not_of(Char))); in ltrim()
805 return drop_front(std::min(Length, find_first_not_of(Chars)));
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DStringRef.h322 StringRef S = drop_front(From);
326 S = S.drop_front();
622 return drop_front(size() - N);
645 StringRef drop_front(size_t N = 1) const {
682 *this = drop_front(Prefix.size()); in consume_front()
821 return drop_front(std::min(Length, find_first_not_of(Char))); in ltrim()
828 return drop_front(std::min(Length, find_first_not_of(Chars)));
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DArrayRefTest.cpp91 EXPECT_EQ(1U, AR.drop_front(AR.size() - 1).size()); in TEST()
109 EXPECT_TRUE(AR1.drop_front(2).equals(AR2)); in TEST()
115 ArrayRef<int> Expected = AR1.drop_front(3); in TEST()
126 ArrayRef<int> Expected = AR1.drop_front(3); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DBinaryStreamTest.cpp40 auto Ref = Data.drop_front(S); in readBytes()
59 Buffer = Data.drop_front(S); in readLongestContiguousChunk()
73 Ref = Ref.drop_front(S); in writeBytes()
242 Ref = Ref.drop_front(1); in TEST_F()
258 Ref = Ref.drop_front(1); in TEST_F()
296 BinaryStreamRef Dropped = ConstRef.drop_front(1); in TEST_F()
331 auto Dropped = Original.drop_front(2); in TEST_F()
334 EXPECT_EQ(RefData.drop_front(2), Result); in TEST_F()
354 EXPECT_EQ(RefData.drop_front(2).drop_back(2), Result); in TEST_F()
387 EXPECT_EQ(makeArrayRef(InputData).drop_front(Offset), Data2); in TEST_F()
/external/llvm/include/llvm/DebugInfo/CodeView/
DStreamRef.h67 StreamRef drop_front(uint32_t N) const { in drop_front() function
83 return drop_front(Offset).keep_front(Len); in slice()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULibFunc.cpp479 inline static void drop_front(StringRef& str, size_t n = 1) { in drop_front() function
480 str = str.drop_front(n); in drop_front()
485 drop_front(mangledName); in eatTerm()
494 drop_front(mangledName, N-1); in eatTerm()
507 drop_front(s); in eatNumber()
517 drop_front(mangledName, Len); in eatLengthPrefixedName()
601 drop_front(param, 1); in parseItaniumParam()
629 drop_front(param); in parseItaniumParam()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DCVRecord.h45 return RecordData.drop_front(sizeof(RecordPrefix)); in content()
78 StreamBuffer = StreamBuffer.drop_front(RealLen); in forEachCodeViewRecord()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mc/
DDisassembler.cpp184 Str = Str.drop_front(); in disassemble()
193 Str = Str.drop_front(); in disassemble()
/external/llvm/tools/llvm-mc/
DDisassembler.cpp184 Str = Str.drop_front(); in disassemble()
193 Str = Str.drop_front(); in disassemble()

1234567