#include "src/__support/CPP/string_view.h"
#include "src/stdio/printf_core/writer.h"
#include "src/string/memory_utils/inline_memcpy.h"
#include "test/UnitTest/Test.h"
string_view;
WriteBuffer;
Writer;
TEST(LlvmLibcPrintfWriterTest, Constructor) { … }
TEST(LlvmLibcPrintfWriterTest, Write) { … }
TEST(LlvmLibcPrintfWriterTest, WriteMultipleTimes) { … }
TEST(LlvmLibcPrintfWriterTest, WriteChars) { … }
TEST(LlvmLibcPrintfWriterTest, WriteCharsMultipleTimes) { … }
TEST(LlvmLibcPrintfWriterTest, WriteManyChars) { … }
TEST(LlvmLibcPrintfWriterTest, MixedWrites) { … }
TEST(LlvmLibcPrintfWriterTest, WriteWithMaxLength) { … }
TEST(LlvmLibcPrintfWriterTest, WriteCharsWithMaxLength) { … }
TEST(LlvmLibcPrintfWriterTest, MixedWriteWithMaxLength) { … }
TEST(LlvmLibcPrintfWriterTest, StringWithMaxLengthOne) { … }
TEST(LlvmLibcPrintfWriterTest, NullStringWithZeroMaxLength) { … }
struct OutBuff { … };
int copy_to_out(string_view new_str, void *raw_out_buff) { … }
TEST(LlvmLibcPrintfWriterTest, WriteWithMaxLengthWithCallback) { … }
TEST(LlvmLibcPrintfWriterTest, WriteCharsWithMaxLengthWithCallback) { … }
TEST(LlvmLibcPrintfWriterTest, MixedWriteWithMaxLengthWithCallback) { … }
TEST(LlvmLibcPrintfWriterTest, ZeroLengthBufferWithCallback) { … }
TEST(LlvmLibcPrintfWriterTest, NullStringWithZeroMaxLengthWithCallback) { … }