Home
last modified time | relevance | path

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

/external/llvm/unittests/Support/
DMemoryBufferTest.cpp84 const char *BufData = MB.get()->getBufferStart(); in TEST_F() local
85 EXPECT_EQ('f', BufData[4095]); in TEST_F()
86 EXPECT_EQ('\0', BufData[4096]); in TEST_F()
158 StringRef BufData = Buf.get()->getBuffer(); in testGetOpenFileSlice() local
159 EXPECT_EQ(BufData.size(), 40000U); in testGetOpenFileSlice()
160 EXPECT_EQ(BufData[0], '0'); in testGetOpenFileSlice()
161 EXPECT_EQ(BufData[9], '9'); in testGetOpenFileSlice()
197 StringRef BufData = MB.get()->getBuffer(); in TEST_F() local
198 EXPECT_TRUE(BufData.substr(0x0000,8).equals("12345678")); in TEST_F()
199 EXPECT_TRUE(BufData.substr(0x0FF8,8).equals("12345678")); in TEST_F()
[all …]