Searched refs:BufData (Results 1 – 2 of 2) sorted by relevance
84 const char *BufData = MB.get()->getBufferStart(); in TEST_F() local85 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() local159 EXPECT_EQ(BufData.size(), 40000U); in testGetOpenFileSlice()160 EXPECT_EQ(BufData[0], '0'); in testGetOpenFileSlice()161 EXPECT_EQ(BufData[9], '9'); in testGetOpenFileSlice()204 StringRef BufData = MB.get()->getBuffer(); in TEST_F() local205 EXPECT_TRUE(BufData.substr(0x0000,8).equals("12345678")); in TEST_F()206 EXPECT_TRUE(BufData.substr(0x0FF8,8).equals("12345678")); in TEST_F()[all …]
1093 StringRef BufData = SM.getBufferData(FID, &Invalid); in emitSnippetAndCaret() local1097 const char *BufStart = BufData.data(); in emitSnippetAndCaret()1098 const char *BufEnd = BufStart + BufData.size(); in emitSnippetAndCaret()