Lines Matching refs:Buffer
41 OwningPtr<FileOutputBuffer> Buffer;
42 ASSERT_NO_ERROR(FileOutputBuffer::create(File1, 8192, Buffer));
44 memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20);
46 memcpy(Buffer->getBufferEnd() - 20, "AABBCCDDEEFFGGHHIIJJ", 20);
48 ASSERT_NO_ERROR(Buffer->commit());
79 OwningPtr<FileOutputBuffer> Buffer;
80 ASSERT_NO_ERROR(FileOutputBuffer::create(File3, 8192000, Buffer));
82 memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20);
84 memcpy(Buffer->getBufferEnd() - 20, "AABBCCDDEEFFGGHHIIJJ", 20);
86 ASSERT_NO_ERROR(Buffer->commit(5000));
102 OwningPtr<FileOutputBuffer> Buffer;
103 ASSERT_NO_ERROR(FileOutputBuffer::create(File4, 8192, Buffer,
106 memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20);
108 ASSERT_NO_ERROR(Buffer->commit());