Lines Matching refs:blob
46 storage::Status EncodeObject(const Object& object, Blob* blob) { in EncodeObject() argument
47 BlobOutputStreamBuffer stream(blob); in EncodeObject()
67 storage::Status DecodeObject(const Blob& blob, Object* object) { in DecodeObject() argument
68 InputStreamBuffer stream(blob.data(), blob.size()); in DecodeObject()
73 NVRAM_LOG_ERR("Failed to decode object of size %zu.", blob.size()); in DecodeObject()
100 Blob blob; in LoadHeader() local
101 storage::Status status = storage::LoadHeader(&blob); in LoadHeader()
105 return DecodeObject<kHeaderMagic>(blob, header); in LoadHeader()
109 Blob blob; in StoreHeader() local
110 storage::Status status = EncodeObject<kHeaderMagic>(header, &blob); in StoreHeader()
114 return storage::StoreHeader(blob); in StoreHeader()
118 Blob blob; in LoadSpace() local
119 storage::Status status = storage::LoadSpace(index, &blob); in LoadSpace()
123 return DecodeObject<kSpaceMagic>(blob, space); in LoadSpace()
127 Blob blob; in StoreSpace() local
128 storage::Status status = EncodeObject<kSpaceMagic>(space, &blob); in StoreSpace()
132 return storage::StoreSpace(index, blob); in StoreSpace()