Home
last modified time | relevance | path

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

/external/llvm/unittests/Support/
DMemoryBufferTest.cpp38 typedef std::unique_ptr<MemoryBuffer> OwningBuffer; typedef in __anone11435f20111::MemoryBufferTest
45 OwningBuffer MB1(MemoryBuffer::getMemBuffer(data)); in TEST_F()
49 OwningBuffer MB2(MemoryBuffer::getMemBuffer(data, "one", false)); in TEST_F()
53 OwningBuffer MB3(MemoryBuffer::getMemBuffer(data, "two", true)); in TEST_F()
80 ErrorOr<OwningBuffer> MB = MemoryBuffer::getFile(TestPath.c_str()); in TEST_F()
91 OwningBuffer MBC1(MemoryBuffer::getMemBufferCopy(data)); in TEST_F()
95 OwningBuffer MBC2(MemoryBuffer::getMemBufferCopy(data, "copy")); in TEST_F()
104 OwningBuffer Zero(MemoryBuffer::getNewUninitMemBuffer(0)); in TEST_F()
108 OwningBuffer One(MemoryBuffer::getNewUninitMemBuffer(321)); in TEST_F()
112 OwningBuffer Two(MemoryBuffer::getNewUninitMemBuffer(123, "bla")); in TEST_F()
[all …]