#include "mojo/public/cpp/base/big_buffer_mojom_traits.h"
#include "base/notreached.h"
#include "base/numerics/safe_conversions.h"
#include "mojo/public/cpp/bindings/array_data_view.h"
namespace mojo {
uint32_t StructTraits<mojo_base::mojom::BigBufferSharedMemoryRegionDataView,
mojo_base::internal::BigBufferSharedMemoryRegion>::
size(const mojo_base::internal::BigBufferSharedMemoryRegion& region) { … }
ScopedSharedBufferHandle
StructTraits<mojo_base::mojom::BigBufferSharedMemoryRegionDataView,
mojo_base::internal::BigBufferSharedMemoryRegion>::
buffer_handle(mojo_base::internal::BigBufferSharedMemoryRegion& region) { … }
bool StructTraits<mojo_base::mojom::BigBufferSharedMemoryRegionDataView,
mojo_base::internal::BigBufferSharedMemoryRegion>::
Read(mojo_base::mojom::BigBufferSharedMemoryRegionDataView data,
mojo_base::internal::BigBufferSharedMemoryRegion* out) { … }
mojo_base::mojom::BigBufferDataView::Tag
UnionTraits<mojo_base::mojom::BigBufferDataView, mojo_base::BigBuffer>::GetTag(
const mojo_base::BigBuffer& buffer) { … }
base::span<const uint8_t>
UnionTraits<mojo_base::mojom::BigBufferDataView, mojo_base::BigBuffer>::bytes(
const mojo_base::BigBuffer& buffer) { … }
mojo_base::internal::BigBufferSharedMemoryRegion&
UnionTraits<mojo_base::mojom::BigBufferDataView,
mojo_base::BigBuffer>::shared_memory(mojo_base::BigBuffer& buffer) { … }
bool UnionTraits<mojo_base::mojom::BigBufferDataView,
mojo_base::BigBuffer>::invalid_buffer(mojo_base::BigBuffer&
buffer) { … }
bool UnionTraits<mojo_base::mojom::BigBufferDataView, mojo_base::BigBuffer>::
Read(mojo_base::mojom::BigBufferDataView data, mojo_base::BigBuffer* out) { … }
mojo_base::mojom::BigBufferDataView::Tag UnionTraits<
mojo_base::mojom::BigBufferDataView,
mojo_base::BigBufferView>::GetTag(const mojo_base::BigBufferView& view) { … }
base::span<const uint8_t> UnionTraits<
mojo_base::mojom::BigBufferDataView,
mojo_base::BigBufferView>::bytes(const mojo_base::BigBufferView& view) { … }
mojo_base::internal::BigBufferSharedMemoryRegion& UnionTraits<
mojo_base::mojom::BigBufferDataView,
mojo_base::BigBufferView>::shared_memory(mojo_base::BigBufferView& view) { … }
bool UnionTraits<mojo_base::mojom::BigBufferDataView,
mojo_base::BigBufferView>::
invalid_buffer(mojo_base::BigBufferView& buffer) { … }
bool UnionTraits<
mojo_base::mojom::BigBufferDataView,
mojo_base::BigBufferView>::Read(mojo_base::mojom::BigBufferDataView data,
mojo_base::BigBufferView* out) { … }
}