#include "dawn/wire/client/ClientMemoryTransferService_mock.h"
#include <cstdio>
#include "dawn/common/Assert.h"
namespace dawn::wire::client {
MockMemoryTransferService::MockReadHandle::MockReadHandle(MockMemoryTransferService* service)
: … { … }
MockMemoryTransferService::MockReadHandle::~MockReadHandle() { … }
size_t MockMemoryTransferService::MockReadHandle::SerializeCreateSize() { … }
void MockMemoryTransferService::MockReadHandle::SerializeCreate(void* serializePointer) { … }
const void* MockMemoryTransferService::MockReadHandle::GetData() { … }
bool MockMemoryTransferService::MockReadHandle::DeserializeDataUpdate(
const void* deserializePointer,
size_t deserializeSize,
size_t offset,
size_t size) { … }
MockMemoryTransferService::MockWriteHandle::MockWriteHandle(MockMemoryTransferService* service)
: … { … }
MockMemoryTransferService::MockWriteHandle::~MockWriteHandle() { … }
size_t MockMemoryTransferService::MockWriteHandle::SerializeCreateSize() { … }
void MockMemoryTransferService::MockWriteHandle::SerializeCreate(void* serializePointer) { … }
void* MockMemoryTransferService::MockWriteHandle::GetData() { … }
size_t MockMemoryTransferService::MockWriteHandle::SizeOfSerializeDataUpdate(size_t offset,
size_t size) { … }
void MockMemoryTransferService::MockWriteHandle::SerializeDataUpdate(void* serializePointer,
size_t offset,
size_t size) { … }
MockMemoryTransferService::MockMemoryTransferService() = default;
MockMemoryTransferService::~MockMemoryTransferService() = default;
MockMemoryTransferService::ReadHandle* MockMemoryTransferService::CreateReadHandle(size_t size) { … }
MockMemoryTransferService::WriteHandle* MockMemoryTransferService::CreateWriteHandle(size_t size) { … }
MockMemoryTransferService::MockReadHandle* MockMemoryTransferService::NewReadHandle() { … }
MockMemoryTransferService::MockWriteHandle* MockMemoryTransferService::NewWriteHandle() { … }
}