chromium/third_party/skia/src/core/SkDescriptor.cpp

/*
 * Copyright 2019 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "src/core/SkDescriptor.h"

#include "include/core/SkTypes.h"
#include "include/private/base/SkAlign.h"
#include "include/private/base/SkTemplates.h"
#include "include/private/base/SkTo.h"
#include "src/core/SkChecksum.h"
#include "src/core/SkReadBuffer.h"
#include "src/core/SkWriteBuffer.h"

#include <cstring>

std::unique_ptr<SkDescriptor> SkDescriptor::Alloc(size_t length) {}

void SkDescriptor::operator delete(void* p) {}
void* SkDescriptor::operator new(size_t) {}

void SkDescriptor::flatten(SkWriteBuffer& buffer) const {}

void* SkDescriptor::addEntry(uint32_t tag, size_t length, const void* data) {}

void SkDescriptor::computeChecksum() {}

const void* SkDescriptor::findEntry(uint32_t tag, uint32_t* length) const {}

std::unique_ptr<SkDescriptor> SkDescriptor::copy() const {}

bool SkDescriptor::operator==(const SkDescriptor& other) const {}

SkString SkDescriptor::dumpRec() const {}

uint32_t SkDescriptor::ComputeChecksum(const SkDescriptor* desc) {}

bool SkDescriptor::isValid() const {}

SkAutoDescriptor::SkAutoDescriptor() = default;
SkAutoDescriptor::SkAutoDescriptor(size_t size) {}
SkAutoDescriptor::SkAutoDescriptor(const SkDescriptor& desc) {}
SkAutoDescriptor::SkAutoDescriptor(const SkAutoDescriptor& that) {}
SkAutoDescriptor& SkAutoDescriptor::operator=(const SkAutoDescriptor& that) {}
SkAutoDescriptor::SkAutoDescriptor(SkAutoDescriptor&& that) {}
SkAutoDescriptor& SkAutoDescriptor::operator=(SkAutoDescriptor&& that) {}

SkAutoDescriptor::~SkAutoDescriptor() {}

std::optional<SkAutoDescriptor> SkAutoDescriptor::MakeFromBuffer(SkReadBuffer& buffer) {}

void SkAutoDescriptor::reset(size_t size) {}

void SkAutoDescriptor::reset(const SkDescriptor& desc) {}

void SkAutoDescriptor::free() {}