Lines Matching defs:Schema
27 const MemProfSchema &Schema) {
32 Size += PortableMemInfoBlock::serializedSize(Schema);
37 const MemProfSchema &Schema) {
42 Size += PortableMemInfoBlock::serializedSize(Schema);
46 size_t IndexedAllocationInfo::serializedSize(const MemProfSchema &Schema,
50 return serializedSizeV2(*this, Schema);
52 return serializedSizeV3(*this, Schema);
58 const MemProfSchema &Schema) {
62 Result += N.serializedSize(Schema, Version2);
72 const MemProfSchema &Schema) {
76 Result += N.serializedSize(Schema, Version3);
85 size_t IndexedMemProfRecord::serializedSize(const MemProfSchema &Schema,
89 return serializedSizeV2(*this, Schema);
91 return serializedSizeV3(*this, Schema);
97 const MemProfSchema &Schema, raw_ostream &OS) {
105 N.Info.serialize(Schema, OS);
115 const IndexedMemProfRecord &Record, const MemProfSchema &Schema,
126 N.Info.serialize(Schema, OS);
138 const MemProfSchema &Schema, raw_ostream &OS, IndexedVersion Version,
143 serializeV2(*this, Schema, OS);
146 serializeV3(*this, Schema, OS, *MemProfCallStackIndexes);
152 static IndexedMemProfRecord deserializeV2(const MemProfSchema &Schema,
165 Node.Info.deserialize(Schema, Ptr);
166 Ptr += PortableMemInfoBlock::serializedSize(Schema);
183 static IndexedMemProfRecord deserializeV3(const MemProfSchema &Schema,
197 Node.Info.deserialize(Schema, Ptr);
198 Ptr += PortableMemInfoBlock::serializedSize(Schema);
220 IndexedMemProfRecord::deserialize(const MemProfSchema &Schema,
225 return deserializeV2(Schema, Ptr);
227 return deserializeV3(Schema, Ptr);