#include "quiche/common/quiche_simple_arena.h"
#include <algorithm>
#include <cstring>
#include <utility>
#include "quiche/common/platform/api/quiche_logging.h"
namespace quiche {
QuicheSimpleArena::QuicheSimpleArena(size_t block_size)
: … { … }
QuicheSimpleArena::~QuicheSimpleArena() = default;
QuicheSimpleArena::QuicheSimpleArena(QuicheSimpleArena&& other) = default;
QuicheSimpleArena& QuicheSimpleArena::operator=(QuicheSimpleArena&& other) =
default;
char* QuicheSimpleArena::Alloc(size_t size) { … }
char* QuicheSimpleArena::Realloc(char* original, size_t oldsize,
size_t newsize) { … }
char* QuicheSimpleArena::Memdup(const char* data, size_t size) { … }
void QuicheSimpleArena::Free(char* data, size_t size) { … }
void QuicheSimpleArena::Reset() { … }
void QuicheSimpleArena::Reserve(size_t additional_space) { … }
void QuicheSimpleArena::AllocBlock(size_t size) { … }
QuicheSimpleArena::Block::Block(size_t s)
: … { … }
QuicheSimpleArena::Block::~Block() = default;
QuicheSimpleArena::Block::Block(QuicheSimpleArena::Block&& other)
: … { … }
QuicheSimpleArena::Block& QuicheSimpleArena::Block::operator=(
QuicheSimpleArena::Block&& other) { … }
}