Searched defs:Buffer (Results 1 - 25 of 251) sorted by relevance

1234567891011

/external/llvm/unittests/Support/
H A DLineIteratorTest.cpp20 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer("line 1\n" local
24 line_iterator I = line_iterator(*Buffer), E;
44 std::unique_ptr<MemoryBuffer> Buffer(
53 line_iterator I = line_iterator(*Buffer, true, '#'), E;
73 std::unique_ptr<MemoryBuffer> Buffer(
83 line_iterator I = line_iterator(*Buffer, false, '#'), E;
110 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer("\n\n\n" local
116 line_iterator I = line_iterator(*Buffer), E;
133 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer("\n\n" local
138 line_iterator I = line_iterator(*Buffer, fals
170 std::unique_ptr<MemoryBuffer> Buffer = MemoryBuffer::getMemBuffer(""); local
[all...]
H A Draw_pwrite_stream_test.cpp20 SmallVector<char, 0> Buffer; local
21 raw_svector_ostream OS(Buffer);
H A DFileOutputBufferTest.cpp45 std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr; local
47 memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20);
49 memcpy(Buffer->getBufferEnd() - 20, "AABBCCDDEEFFGGHHIIJJ", 20);
51 ASSERT_NO_ERROR(Buffer->commit());
84 std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr; local
86 memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20);
88 memcpy(Buffer->getBufferEnd() - 20, "AABBCCDDEEFFGGHHIIJJ", 20);
89 ASSERT_NO_ERROR(Buffer->commit());
105 std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr; local
107 memcpy(Buffer
[all...]
H A DReplaceFileTest.cpp82 auto Buffer = MemoryBuffer::getOpenFile(ReadFD, TargetFileName, -1); local
83 ASSERT_TRUE(static_cast<bool>(Buffer));
84 EXPECT_EQ(Buffer.get()->getBuffer(), "!!target!!");
96 auto Buffer = MemoryBuffer::getOpenFile(ReadFD, TargetFileName, -1); local
97 ASSERT_TRUE(static_cast<bool>(Buffer));
99 EXPECT_EQ(Buffer.get()->getBuffer(), "!!source!!");
/external/testng/src/main/java/org/testng/reporters/
H A DBuffer.java3 public class Buffer { class
/external/webrtc/webrtc/base/
H A Dbuffer.cc18 Buffer::Buffer() : size_(0), capacity_(0), data_(nullptr) { function in class:rtc::Buffer
22 Buffer::Buffer(const Buffer& buf) : Buffer(buf.data(), buf.size()) { function in class:rtc::Buffer
25 Buffer::Buffer(Buffer&& buf) function in class:rtc::Buffer
33 Buffer function in class:rtc::Buffer
36 Buffer::Buffer(size_t size, size_t capacity) function in class:rtc::Buffer
[all...]
/external/compiler-rt/test/profile/
H A Dinstrprof-without-libc.c26 static char Buffer[MaxSize]; local
31 int Write = __llvm_profile_write_buffer(Buffer);
32 if (__llvm_profile_write_buffer(Buffer))
44 if (fwrite(Buffer, 1, Size, File) != Size)
/external/llvm/lib/Support/
H A DLineIterator.cpp35 line_iterator::line_iterator(const MemoryBuffer &Buffer, bool SkipBlanks, argument
37 : Buffer(Buffer.getBufferSize() ? &Buffer : nullptr),
39 CurrentLine(Buffer.getBufferSize() ? Buffer.getBufferStart() : nullptr,
43 if (Buffer.getBufferSize()) {
44 assert(Buffer.getBufferEnd()[0] == '\0');
46 if (SkipBlanks || !isAtLineEnd(Buffer.getBufferStart()))
52 assert(Buffer
[all...]
H A DCompression.cpp79 uint32_t zlib::crc32(StringRef Buffer) { argument
80 return ::crc32(0, (const Bytef *)Buffer.data(), Buffer.size());
95 uint32_t zlib::crc32(StringRef Buffer) {
/external/llvm/utils/count/
H A Dcount.c15 char Buffer[4096], *End; local
32 NumRead = fread(Buffer, 1, sizeof(Buffer), stdin);
35 if (Buffer[i] == '\n')
37 } while (NumRead == sizeof(Buffer));
/external/selinux/libselinux/src/
H A Dsha1.h32 uint8_t Buffer[64]; member in struct:__anon16928
67 void* Buffer,
/external/aac/libFDK/include/
H A DFDK_bitbuffer.h106 UCHAR *Buffer; member in struct:__anon308
/external/clang/lib/Frontend/
H A DPCHContainerOperations.cpp26 std::shared_ptr<PCHBuffer> Buffer; member in class:__anon1393::RawPCHContainerGenerator
31 std::shared_ptr<PCHBuffer> Buffer)
32 : Buffer(Buffer), OS(OS) {}
37 if (Buffer->IsComplete) {
39 *OS << Buffer->Data;
44 Buffer->Data = std::move(Empty);
53 std::shared_ptr<PCHBuffer> Buffer) const {
54 return llvm::make_unique<RawPCHContainerGenerator>(OS, Buffer);
58 llvm::MemoryBufferRef Buffer, llv
30 RawPCHContainerGenerator(llvm::raw_pwrite_stream *OS, std::shared_ptr<PCHBuffer> Buffer) argument
57 ExtractPCH( llvm::MemoryBufferRef Buffer, llvm::BitstreamReader &StreamFile) const argument
[all...]
/external/clang/lib/Serialization/
H A DGeneratePCH.cpp29 std::shared_ptr<PCHBuffer> Buffer,
33 SemaPtr(nullptr), Buffer(Buffer), Stream(Buffer->Data),
36 Buffer->IsComplete = false;
51 // Emit the PCH file to the Buffer.
53 Buffer->Signature =
56 Buffer->IsComplete = true;
26 PCHGenerator( const Preprocessor &PP, StringRef OutputFile, clang::Module *Module, StringRef isysroot, std::shared_ptr<PCHBuffer> Buffer, ArrayRef<llvm::IntrusiveRefCntPtr<ModuleFileExtension>> Extensions, bool AllowASTWithErrors, bool IncludeTimestamps) argument
/external/clang/test/CodeGen/
H A Daddress-sanitizer-and-array-cookie.cpp50 char Buffer[20]; variable
52 return new (Buffer) C[20];
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktDrawBufferObjectUtil.cpp22 * \brief Buffer Object Util
34 Buffer::Buffer (const vk::DeviceInterface& vk, vk::VkDevice device, vk::Move<vk::VkBuffer> object_) function in class:vkt::Draw::Buffer
42 void Buffer::bindMemory (de::MovePtr<vk::Allocation> allocation)
51 de::SharedPtr<Buffer> Buffer::createAndAlloc (const vk::DeviceInterface& vk,
57 de::SharedPtr<Buffer> ret = create(vk, device, createInfo);
64 de::SharedPtr<Buffer> Buffer::create (const vk::DeviceInterface& vk,
68 return de::SharedPtr<Buffer>(ne
[all...]
H A DvktDrawBufferObjectUtil.hpp24 * \brief Buffer Object Util
37 class Buffer class in namespace:vkt::Draw
41 static de::SharedPtr<Buffer> create (const vk::DeviceInterface& vk, vk::VkDevice device, const vk::VkBufferCreateInfo &createInfo);
43 static de::SharedPtr<Buffer> createAndAlloc (const vk::DeviceInterface& vk,
49 Buffer (const vk::DeviceInterface &vk, vk::VkDevice device, vk::Move<vk::VkBuffer> object);
58 Buffer (const Buffer& other); // Not allowed!
59 Buffer& operator= (const Buffer& other); // Not allowed!
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateBufferObjectUtil.cpp22 * \brief Buffer Object Util
34 Buffer::Buffer (const vk::DeviceInterface& vk, vk::VkDevice device, vk::Move<vk::VkBuffer> object_) function in class:vkt::DynamicState::Buffer
42 void Buffer::bindMemory (de::MovePtr<vk::Allocation> allocation)
51 de::SharedPtr<Buffer> Buffer::createAndAlloc (const vk::DeviceInterface& vk,
57 de::SharedPtr<Buffer> ret = create(vk, device, createInfo);
64 de::SharedPtr<Buffer> Buffer::create (const vk::DeviceInterface& vk,
68 return de::SharedPtr<Buffer>(ne
[all...]
H A DvktDynamicStateBufferObjectUtil.hpp24 * \brief Buffer Object Util
38 class Buffer class in namespace:vkt::DynamicState
42 static de::SharedPtr<Buffer> create (const vk::DeviceInterface& vk, vk::VkDevice device, const vk::VkBufferCreateInfo &createInfo);
44 static de::SharedPtr<Buffer> createAndAlloc (const vk::DeviceInterface& vk,
50 Buffer (const vk::DeviceInterface &vk, vk::VkDevice device, vk::Move<vk::VkBuffer> object);
59 Buffer (const Buffer& other); // Not allowed!
60 Buffer& operator= (const Buffer& other); // Not allowed!
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
H A DvktQueryPoolBufferObjectUtil.cpp22 * \brief Buffer Object Util
34 Buffer::Buffer (const vk::DeviceInterface& vk, vk::VkDevice device, vk::Move<vk::VkBuffer> object_) function in class:vkt::QueryPool::Buffer
42 void Buffer::bindMemory (de::MovePtr<vk::Allocation> allocation)
51 de::SharedPtr<Buffer> Buffer::createAndAlloc (const vk::DeviceInterface& vk,
57 de::SharedPtr<Buffer> ret = create(vk, device, createInfo);
64 de::SharedPtr<Buffer> Buffer::create (const vk::DeviceInterface& vk,
68 return de::SharedPtr<Buffer>(ne
[all...]
H A DvktQueryPoolBufferObjectUtil.hpp24 * \brief Buffer Object Util
37 class Buffer class in namespace:vkt::QueryPool
41 static de::SharedPtr<Buffer> create (const vk::DeviceInterface& vk, vk::VkDevice device, const vk::VkBufferCreateInfo &createInfo);
43 static de::SharedPtr<Buffer> createAndAlloc (const vk::DeviceInterface& vk,
49 Buffer (const vk::DeviceInterface &vk, vk::VkDevice device, vk::Move<vk::VkBuffer> object);
58 Buffer (const Buffer& other); // Not allowed!
59 Buffer& operator= (const Buffer& other); // Not allowed!
/external/llvm/lib/CodeGen/AsmPrinter/
H A DByteStreamer.h77 SmallVectorImpl<char> &Buffer; member in class:llvm::final
86 BufferByteStreamer(SmallVectorImpl<char> &Buffer, argument
89 : Buffer(Buffer), Comments(Comments), GenerateComments(GenerateComments) {}
91 Buffer.push_back(Byte);
96 raw_svector_ostream OSE(Buffer);
102 raw_svector_ostream OSE(Buffer);
/external/llvm/lib/Object/
H A DBinary.cpp39 ErrorOr<std::unique_ptr<Binary>> object::createBinary(MemoryBufferRef Buffer, argument
41 sys::fs::file_magic Type = sys::fs::identify_magic(Buffer.getBuffer());
45 return Archive::create(Buffer);
66 return ObjectFile::createSymbolicFile(Buffer, Type, Context);
68 return MachOUniversalBinary::create(Buffer);
82 std::unique_ptr<MemoryBuffer> &Buffer = FileOrErr.get();
85 createBinary(Buffer->getMemBufferRef());
90 return OwningBinary<Binary>(std::move(Bin), std::move(Buffer));
/external/llvm/lib/ProfileData/
H A DInstrProfReader.cpp44 InstrProfReader::create(std::unique_ptr<MemoryBuffer> Buffer) { argument
46 if (Buffer->getBufferSize() > std::numeric_limits<unsigned>::max())
51 if (IndexedInstrProfReader::hasFormat(*Buffer))
52 Result.reset(new IndexedInstrProfReader(std::move(Buffer)));
53 else if (RawInstrProfReader64::hasFormat(*Buffer))
54 Result.reset(new RawInstrProfReader64(std::move(Buffer)));
55 else if (RawInstrProfReader32::hasFormat(*Buffer))
56 Result.reset(new RawInstrProfReader32(std::move(Buffer)));
57 else if (TextInstrProfReader::hasFormat(*Buffer))
58 Result.reset(new TextInstrProfReader(std::move(Buffer)));
80 create(std::unique_ptr<MemoryBuffer> Buffer) argument
102 hasFormat(const MemoryBuffer &Buffer) argument
[all...]
/external/llvm/unittests/LineEditor/
H A DLineEditor.cpp49 std::vector<LineEditor::Completion> operator()(StringRef Buffer, argument
51 EXPECT_TRUE(Buffer.empty());

Completed in 1639 milliseconds

1234567891011