Lines Matching refs:Snapshot
12 Snapshot::Snapshot(fbl::Array<uint8_t> buffer) : buffer_(std::move(buffer)) {} in Snapshot() function in inspect::Snapshot
14 zx_status_t Snapshot::Create(zx::vmo vmo, Snapshot* out_snapshot) { in Create()
15 return Snapshot::Create(std::move(vmo), kDefaultOptions, out_snapshot); in Create()
18 zx_status_t Snapshot::Create(zx::vmo vmo, Options options, Snapshot* out_snapshot) { in Create()
19 return Snapshot::Create(std::move(vmo), std::move(options), nullptr, out_snapshot); in Create()
22 zx_status_t Snapshot::Create(zx::vmo vmo, Options options, ReadObserver read_observer, in Create()
23 Snapshot* out_snapshot) { in Create()
42 status = Snapshot::Read(vmo, sizeof(internal::Block), buffer.begin()); in Create()
51 status = Snapshot::ParseHeader(buffer.begin(), &generation); in Create()
60 status = Snapshot::Read(vmo, size, buffer.begin()); in Create()
69 status = Snapshot::ParseHeader(buffer.begin(), &new_generation); in Create()
85 *out_snapshot = Snapshot(std::move(buffer)); in Create()
93 zx_status_t Snapshot::Read(zx::vmo& vmo, size_t size, uint8_t* buffer) { in Read()
98 zx_status_t Snapshot::ParseHeader(uint8_t* buffer, uint64_t* out_generation_count) { in ParseHeader()
107 internal::Block* Snapshot::GetBlock(internal::BlockIndex index) const { in GetBlock()