Home
last modified time | relevance | path

Searched refs:MaybeRead (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/unittests/Bitstream/
DBitstreamReaderTest.cpp25 Expected<SimpleBitstreamCursor::word_t> MaybeRead = Cursor.Read(8); in TEST() local
26 EXPECT_TRUE((bool)MaybeRead); in TEST()
28 MaybeRead = Cursor.Read(24); in TEST()
29 EXPECT_TRUE((bool)MaybeRead); in TEST()
61 Expected<SimpleBitstreamCursor::word_t> MaybeRead = Cursor.Read(1); in TEST() local
62 EXPECT_TRUE((bool)MaybeRead); in TEST()
122 Expected<SimpleBitstreamCursor::word_t> MaybeRead = Stream.Read(32); in TEST() local
123 ASSERT_TRUE((bool)MaybeRead); in TEST()
124 ASSERT_EQ(Magic, MaybeRead.get()); in TEST()
158 Expected<SimpleBitstreamCursor::word_t> MaybeRead = Cursor.Read(8); in TEST() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
DBitstreamReader.h233 Expected<unsigned> MaybeRead = Read(NumBits); in ReadVBR() local
234 if (!MaybeRead) in ReadVBR()
235 return MaybeRead; in ReadVBR()
236 uint32_t Piece = MaybeRead.get(); in ReadVBR()
250 MaybeRead = Read(NumBits); in ReadVBR()
251 if (!MaybeRead) in ReadVBR()
252 return MaybeRead; in ReadVBR()
253 Piece = MaybeRead.get(); in ReadVBR()
260 Expected<uint64_t> MaybeRead = Read(NumBits); in ReadVBR64() local
261 if (!MaybeRead) in ReadVBR64()
[all …]
/external/llvm-project/llvm/include/llvm/Bitstream/
DBitstreamReader.h234 Expected<unsigned> MaybeRead = Read(NumBits); in ReadVBR() local
235 if (!MaybeRead) in ReadVBR()
236 return MaybeRead; in ReadVBR()
237 uint32_t Piece = MaybeRead.get(); in ReadVBR()
251 MaybeRead = Read(NumBits); in ReadVBR()
252 if (!MaybeRead) in ReadVBR()
253 return MaybeRead; in ReadVBR()
254 Piece = MaybeRead.get(); in ReadVBR()
261 Expected<uint64_t> MaybeRead = Read(NumBits); in ReadVBR64() local
262 if (!MaybeRead) in ReadVBR64()
[all …]
/external/llvm-project/clang-tools-extra/clang-doc/
DBitcodeReader.cpp699 Expected<llvm::SimpleBitstreamCursor::word_t> MaybeRead = Stream.Read(8); in validateStream() local
700 if (!MaybeRead) in validateStream()
701 return MaybeRead.takeError(); in validateStream()
702 else if (MaybeRead.get() != BitCodeConstants::Signature[Idx]) in validateStream()