Home
last modified time | relevance | path

Searched refs:getCurrentByteNo (Results 1 – 8 of 8) sorted by relevance

/external/llvm/unittests/Bitcode/
DBitstreamReaderTest.cpp74 TEST(BitstreamReaderTest, getCurrentByteNo) { in TEST() argument
80 EXPECT_EQ(I / 8, Cursor.getCurrentByteNo()); in TEST()
83 EXPECT_EQ(4u, Cursor.getCurrentByteNo()); in TEST()
113 EXPECT_EQ(I, Cursor.getCurrentByteNo()); in TEST()
128 EXPECT_EQ(8u, Cursor.getCurrentByteNo()); in TEST()
142 EXPECT_EQ(8u, Cursor.getCurrentByteNo()); in TEST()
158 EXPECT_EQ(12u, Cursor.getCurrentByteNo()); in TEST()
171 EXPECT_EQ(12u, Cursor.getCurrentByteNo()); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Bitcode/
DBitstreamReaderTest.cpp54 TEST(BitstreamReaderTest, getCurrentByteNo) { in TEST() argument
59 EXPECT_EQ(I / 8, Cursor.getCurrentByteNo()); in TEST()
62 EXPECT_EQ(4u, Cursor.getCurrentByteNo()); in TEST()
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h186 uint64_t getCurrentByteNo() const { return GetCurrentBitNo() / 8; } in getCurrentByteNo() function
216 assert((intptr_t)getPointerToByte(getCurrentByteNo(), 1) == in jumpToPointer()
367 assert(getCurrentByteNo() < Limit && "Move cursor before lowering limit"); in setArtificialByteLimit()
449 using SimpleBitstreamCursor::getCurrentByteNo;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitstreamReader.h127 uint64_t getCurrentByteNo() const { return GetCurrentBitNo() / 8; } in getCurrentByteNo() function
347 using SimpleBitstreamCursor::getCurrentByteNo;
/external/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp441 R.setArtificialByteLimit(R.getCurrentByteNo() + StringsOffset); in decodeMetadataStringsBlob()
499 uint64_t BlockEntryPos = Stream.getCurrentByteNo(); in ParseBlock()
572 unsigned CurrentRecordPos = Stream.getCurrentByteNo(); in ParseBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp529 uint64_t BlockEntryPos = Stream.getCurrentByteNo(); in ParseBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp5641 uint64_t BCBegin = Stream.getCurrentByteNo(); in getBitcodeFileContents()
5674 BCBegin, Stream.getCurrentByteNo() - BCBegin), in getBitcodeFileContents()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2057 R.setArtificialByteLimit(R.getCurrentByteNo() + StringsOffset); in parseMetadataStrings()